[Python-bugs-list] [ python-Bugs-211586 ] 1.6b1: PythonPath
SourceForge.net
noreply@sourceforge.net
Sat, 04 Jan 2003 20:42:09 -0800
Bugs item #211586, was opened at 2000-08-10 11:52
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=211586&group_id=5470
Category: Windows
Group: Platform-specific
Status: Closed
Resolution: Works For Me
Priority: 7
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Mark Hammond (mhammond)
Summary: 1.6b1: PythonPath
Initial Comment:
version: Python 1.6b1
os: Win2k
i added an additional path to the PythonPath registry entry, but python ignores the additional path.
(i used the windows installer, after deinstalling 1.5.2)
----------------------------------------------------------------------
Comment By: Miles D. Duke (milesduke)
Date: 2003-01-04 23:42
Message:
Logged In: YES
user_id=680878
I'm not sure this is operator error. The same thing still
happens for me using Python 2.2.2.
I am running Windows Me.
I set the python path using the PythonWin GUI first build
152, then build 150. If I browsed the python path in the
pythonwin GUI I could see my modules, but Python would
not acknowledge it.
I uninstalled everything and stepped back to Python
1.5.1. I was able to modify the registry key and it worked.
I could import modules in python.
I then uninstalled 1.5.1, installed 2.2.2, and modified the
registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2
.2, which appeared to be the rright place, and then added
HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2
.2.2, just in case.
But starting a new version of the python command line, it
still could not import my modules until I manually appended
my directory to sys.path.
(Another observation -- sys.path in python 1.5.1 had my
custom directory in the middle, even though I had
appended to the end of the registry value. sys.path
seemed much shorter in python 2.2.2)
----------------------------------------------------------------------
Comment By: Mark Hammond (mhammond)
Date: 2000-08-25 19:15
Message:
Can only assume operator error - I use this feature personally, win32all uses it, and ActivePython uses it. It works!
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2000-08-14 12:40
Message:
i couldn't reproduce the problem with Windows ME (see also bug #111486).
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=211586&group_id=5470