[issue19056] Windows 7, script exec not working without explicit cal of python.exe
Thierry Seunevel
report at bugs.python.org
Sat Sep 21 11:38:21 CEST 2013
Thierry Seunevel added the comment:
Many thanks for your answers.
printing the sys.path gave me this output (parsed with newlines)
'', 'D:\\soft\\python\\lib',
'D:\\Thierry\\python\\d\\thierry\\python', <---- mispelled
'C:\\Windows\\system32\\python27.zip',
'd:\\soft\\python\\DLLs',
'd:\\soft\\python\\lib\\plat-win',
'd:\\soft\\python\\lib\\lib-tk',
'd:\\soft\\python',
'd:\\soft\\python\\lib\\site-packages'
I corrected the PATH and PYTHONPATH environment variables and now sys.path is
'', 'd:\\thierry\\python',
'C:\\Windows\\system32\\python27.zip',
'd:\\soft\\python\\DLLs',
'd:\\soft\\python\\lib',
'd:\\soft\\python\\lib\\plat-win',
'd:\\soft\\python\\lib\\lib-tk',
'd:\\soft\\python',
'd:\\soft\\python\\lib\\site-packages'
And it works !
----------
resolution: -> fixed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19056>
_______________________________________
More information about the Python-bugs-list
mailing list