rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] installation on Suse 9.2


From: Dave Howorth
Subject: Re: [rdiff-backup-users] installation on Suse 9.2
Date: Thu, 18 Jan 2007 12:17:58 +0000
User-agent: Thunderbird 1.5.0.8 (X11/20060911)

Replying to myself again :(

I should prefix this by saying that I don't know Python.

I wrote:
> When I run rdiff-backup, it says:
> 
> Traceback (most recent call last):
>   File "/usr/local/bin/rdiff-backup", line 20, in ?
>     import rdiff_backup.Main
> ImportError: No module named rdiff_backup.Main
> 
> So I guess there's something else wrong but I haven't investigated that yet.

I've discovered that there is a file called
/usr/local/lib64/python2.3/site-packages/rdiff_backup/Main.py
So in my shell, I've typed

  export PYTHONPATH=/usr/local/lib64/python2.3/site-packages/

and now rdiff-backup runs. But clearly that's a temporary workaround.
What's the permanent fix?

Is this an oversight in Suse's Python installation (that it doesn't
define PYTHONPATH). Is that a standard Python path? Or is it a problem
in the rdiff-backup install script? Did it put the modules in the right
place? Should it have set PYTHONPATH, or done some other Python magic?
Or something else?

Thanks, Dave




reply via email to

[Prev in Thread] Current Thread [Next in Thread]