Help! $PYTHONPATH trouble

Erik Stewart possum at n-space.org
Thu Aug 12 23:54:32 CEST 1999


Evan Simpson wrote:
> 
> 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

Thanks!  It works fine now!  I knew I must be missing something simple,
but I couldn't figure out what.

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

Oops :@


> 
> 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