Error in random module, bad installation?

Andrew F andrew.lee at nymag.com
Thu Sep 13 12:10:03 EDT 2007


On Sep 13, 12:57 am, Tim Roberts <t... at probo.com> wrote:
> Andrew F <andrew.... at nymag.com> wrote:
> >I'm a linux user and I just upgraded from 2.1 to 2.5 and changed the
> >location of a number of libraries and tools.
>
> >So far I've tracked most errors, but this one has me scratching my
> >head :
>
> >$ which python
> >/usr/local/bin/python
> >$ echo $PYTHONPATH
> >/usr/local/bin/python
>
> PYTHONPATH is supposed to point to the directory containing modules, NOT
> the directory containing the executable.  It should be /lib/python2.5.
>

Thank you both -- it was a combination of the problems.




More information about the Python-list mailing list