The system cannot find the file specified
Closed this issue · 7 comments
GoogleCodeExporter commented
I'm using Python 2.7.2 with wxPython 2.8 for 2.7. I'm on windows 7 x64.
File "NERO/main.py", line 17, in ModTick
common.startScript("NERO\menu.py")
File "C:\OpenNero\common\module.py", line 63, in startScript
subproc = subprocess.Popen(['python', script])
File "C:\Python27\LIB\subprocess.py", line 679, in __init__
errread, errwrite)
File "C:\Python27\LIB\subprocess.py", line 893, in _execute_child
startupinfo)
WindowsError: [Error 2] The system cannot find the file specified
I tried the solution the anonymous person posted but no luck. Not sure if I
put in the right PythonPath variable. Any suggestions?
Original issue reported on code.google.com by justin.c...@gmail.com
on 4 Dec 2011 at 11:01
GoogleCodeExporter commented
Two suggestions:
- there is now a win64 build, you might have more luck with that.
- you do have to add the python directory to your Path variable (not PythonPath). You can do this by searching for Environment Variables in Control Panel, and then adding ";C:\Python27" (or whatever the actual directory is) to the PATH variable. See this page:
http://docs.python.org/using/windows.html
For more details.
Original comment by ikarpov
on 6 Dec 2011 at 4:11
GoogleCodeExporter commented
Issue 123 has been merged into this issue.
Original comment by ikarpov
on 6 Dec 2011 at 4:12
GoogleCodeExporter commented
have the above suggestions fixed this problem?
Original comment by ikarpov
on 7 Dec 2011 at 1:10
- Changed state: Started
GoogleCodeExporter commented
Original comment by ikarpov
on 7 Dec 2011 at 1:10
GoogleCodeExporter commented
Yes the python directory wasn't set right. Thanks for the tip. I'm not a
regular user of Python so making clear what to do is helpful. Thanks
Original comment by justin.c...@gmail.com
on 7 Dec 2011 at 1:36
GoogleCodeExporter commented
OK, I will mark this as fixed. This seems by far the most common problem with
people so far, so you are in good company =). I made an NSIS installer that
includes the right Python and wxPython versions, but I still need to figure out
how to make it automatically set the Path. Once I do, this should all be
history.
Original comment by ikarpov
on 8 Dec 2011 at 2:41
- Changed state: Fixed
GoogleCodeExporter commented
Issue 119 has been merged into this issue.
Original comment by ikarpov
on 8 Dec 2011 at 2:42