PYTHONPATH is set on windows in the registry.
Run regedit (start -> run -> regedit ) and browse to HKEY_LOCAL_MACHINE -> SOFTWARE -> Python -> PythonCore -> [ Version Number ] -> PythonPath.
Don’t alter the pythonpath you see here.
Right click the PythonPath folder and select New –> Key
Name it what you like.
Select the new folder and right click the one blank value sitting on the right side of the screen and select Modify.
For the value field, add your new paths separated by ” ; “
Run python and try an import.
Done!
1 response so far ↓
joris // October 31, 2009 at 8:46 am |
Thanks! this was very helpfull