[Tutor] Where is PYTHONPATH set?
Wed, 8 Nov 2000 00:35:04 -0800 (PST)
On Mon, 6 Nov 2000, Brad Chandler wrote:
> With 1.6, I ended up creating a bunch of symlinks, but I'd rather not do
> that. How can I tell my system where to look in /usr/local/lib/python2.0
> instead of /usr/lib/python1.5?
Has anyone answered you yet? If not, sorry about the long delay!
As long as you're running the right executable, you shouldn't run into
difficulties with library locations. Since you mentioned that you have
several versions of Python on your system, make sure that you're running:
My guess is that your PATH is set up so that binaries in /usr/bin take
precedence over those in /usr/local/bin. You can check for this by doing:
at your prompt, and see which Python your system finds first.
You should definitely not need to modify symlinks or anything --- that's
precisely why the library directory has the version number appended onto