Help! $PYTHONPATH trouble

Evan Simpson evan at tokenexchange.com
Thu Aug 12 17:34:10 EDT 1999


First, you need to either export PYTHONPATH or use the assignment as a
prefix, thus (assuming bash):

$ PYTHONPATH="home/possum/test/kwp"
$ export PYTHONPATH
$ python
or
$ PYTHONPATH="home/possum/test/kwp" python

Second, shouldn't that path start with a "/"?

Erik Stewart <possum at n-space.org> wrote in message
news:37B33980.A5318181 at n-space.org...
The variable $PYTHONPATH doesn't seem to have any effect on my system (RH
Linux 6.0, Python 1.5.1).  Here's what I get after defining $PYTHONPATH:







More information about the Python-list mailing list