[Numpy-discussion] import problem

Joost van Evert joostvanevert at gmail.com
Tue Nov 22 05:58:10 EST 2005


Dear list,

does anyone understand importing modules? I want to import a new version
of Numeric(24.2) that was installed in my home directory, but the old
one in /usr/lib/python/site-packages gets imported.

The command "python setup.py --install=~" was used to install. And
~/lib/python is the first item in my PYTHONPATH variable. So the
contents of sys.path is ['','~/lib/python', ...]

Does anyone know any means to get the new version imported? Except from
deleting the old version of course;)


Regards,

Joost




More information about the NumPy-Discussion mailing list