[Pythonmac-SIG] PYTHONPATH problem

Just van Rossum just@letterror.com
Fri, 24 Jan 2003 01:26:21 +0100


Dave Hackenyos wrote:

> ~/trollcode/Trolls/source

I think you should use an absolute path (without the ~). Check sys.path
when you run

  python -S

This disables site.py. site.py removes path items that don't exist (in
Python 2.2, not in 2.3), so -S will help you see what was actually
inserted in sys.path.

Just