newbie : edit sys.path on WinNT

Gilles Lenfant glenfant at equod.com.nospam
Fri Jan 5 09:42:22 EST 2001


A way to do it:

Append the registry key below with the directory that contains "Numeric.py"

HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\1.5\PythonPath

Or you can use "foo.pth" file in the closest directory from your python path
that contains your package.

1st way will work for Windows only

2nd way may work in any system.

<buster2642 at my-deja.com> a écrit dans le message news:
9339sf$fit$1 at nnrp1.deja.com...
> I just installed NumPy16_152 into my 'D:\Program Files\Python' folder.
> How do I "permanently" add this to sys.path so 'import Numeric'
> succeeds?  I may or may not have admin access to the NT box to do this..
>
> (http://sourceforge.net/projects/numpy has NumPy zip archives for
> Python 1.52/1.6/2.0 on Win32)
>
> Thanks
>
> Chuck
>
>
> Sent via Deja.com
> http://www.deja.com/




More information about the Python-list mailing list