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

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

Re: [rdiff-backup-users] rdiff-backup & python 2.3


From: Joe Cooper
Subject: Re: [rdiff-backup-users] rdiff-backup & python 2.3
Date: Thu, 04 Dec 2003 15:10:23 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031014 Thunderbird/0.3

I'm no rdiff developer, but I can tell you why this doesn't work.

If you do an rpm -ql on that package, I bet you'll see that it's python libraries are being installed in /usr/lib/python2.2/site-packages/. This obviously can't work for python 2.3 which will look for its modules in /usr/lib/python2.3/site-packages/. This is a feature, not a bug, in python...it makes it possible, and even trivial, to run multiple versions of python on the same system without compatibility issues.

You'll probably need to rebuild from SRPM, or install from source tarball.

Johan wrote:
Hi,
I am using Mandrake 9.2
Rdiff refuses to install because of python2.3.
I installed it with nodeps.
It seems to be there but when run the following...
address@hidden root]# rdiff-backup
Traceback (most recent call last):
  File "/usr/bin/rdiff-backup", line 21, in ?
    import rdiff_backup.Main
ImportError: No module named rdiff_backup.Main
Kindly is there a way to run it on mdk9.2 and python2.3.

I installed it on MDK 9.1 and it runs without complaint...but mdk9.2 is prefered.
librsync1-0.9.6-1mdk.i586.rpm was installed on both OS'ses.
I would like to try out this instead of rsync.
Some pointers please.
Thanks


--
Joe Cooper <address@hidden>
Web caching appliances and support.
http://www.swelltech.com





reply via email to

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