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

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

Re: [rdiff-backup-users] OS X Reporting Incorrect Version


From: Mike Bydalek
Subject: Re: [rdiff-backup-users] OS X Reporting Incorrect Version
Date: Tue, 16 Jan 2007 21:53:31 -0700
User-agent: Thunderbird 1.5.0.9 (X11/20070103)


Scott Lamb wrote:
> On Jan 16, 2007, at 8:22 AM, Mike Bydalek wrote:
>
>> /rdiff-backup-1.0.5 root# ./build/scripts-2.3/rdiff-backup --version
>> rdiff-backup 1.0.4
>>
>> I'm running Python 2.3 on this particular server.  Anyone have any
>> thoughts?
>
> Try this:
>
>     $ cat build/scripts-2.3/rdiff-backup
>
> You'll notice there's basically nothing there. The real meat is in a
> bunch of Python modules that get installed to your site-packages
> directory. You have to be careful of your PYTHONPATH if you have more
> than one version on a machine.
Alright, the problem was that there is a single Python version (2.3) but
low and behold, there was a different site-packages directory that I
wasn't looking in.  The installer installed everything to
/usr/lib/python2.3/site-packages, yet Python was pulling everything from
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/

Looks like the PYTHONPATH wasn't being picked up or is set wrong for the
system?  I'll do some looking around with regards to Python and OS X,
but I swear I build and installed 1.0.4 on this server, so not sure how
it used the correct one before.

Thanks!

-Mike




reply via email to

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