Help! $PYTHONPATH trouble

Evan Simpson evan at
Thu Aug 12 23:34:10 CEST 1999

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

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

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

Erik Stewart <possum at> wrote in message
news:37B33980.A5318181 at
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