Error in random module, bad installation?

Tim Roberts timr at probo.com
Thu Sep 13 00:57:40 EDT 2007


Andrew F <andrew.lee 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.

However, Carsten had the real cause for your immediate problem.
-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the Python-list mailing list