|
From: | Charles Duffy |
Subject: | Re: [rdiff-backup-users] installation on Suse 9.2 |
Date: | Thu, 18 Jan 2007 08:03:31 -0600 |
User-agent: | Thunderbird 1.5.0.9 (Windows/20061207) |
Dave Howorth wrote:
Charles Duffy wrote:Dave Howorth wrote:--prefix=/usr/localWell, yeah. You manually specify a prefix that's not in Python's default sys.path, and you're going to get the issue you see here.Could you expand a bit on that, please? I'm not sure what you think I should be doing.
Leave the "--prefix=/usr/local" off your "python setup.py install" command.Python modules will only be found if they're in a location in sys.path. You can change this to include additional locations (say, via a site.py file); however, if you're not feeling up to anything fancy, Python modules will only be found if they're installed in one of the locations listed by the command
python -c "for path in __import__('sys').path: print path"...which typically *won't* list anything under /usr/local. So, since anything under /usr/local isn't in your default sys.path, telling Python to install a module there means that it won't be found.
[Prev in Thread] | Current Thread | [Next in Thread] |