Home Download Buy Blog Forum Support

Python building stopped finding python.exe

Python building stopped finding python.exe

Postby Xikeon on Fri Feb 26, 2010 10:08 pm

Hello,

Yesterday I had no trouble building/running Python files in Sublime, but now it doesn't want to do so anymore. File syntax is python and I set the build system to Python and now when I press F7 I get:

'python.exe' is not recognized as an internal or external command,
operable program or batch file.
[Finished in 0.125 seconds]

Anyone got experience with this error or know how to fix it?

Thanks in advance!
Xikeon
 
Posts: 18
Joined: Fri Feb 26, 2010 5:30 pm

Re: Python building stopped finding python.exe

Postby jps on Sun Feb 28, 2010 9:57 pm

Sublime relies on python.exe being on the system %PATH%. Can you open up cmd.exe, type python, and have python run?
jps
Site Admin
 
Posts: 3077
Joined: Wed Mar 19, 2008 12:33 pm

Re: Python building stopped finding python.exe

Postby Xikeon on Mon Mar 01, 2010 2:09 pm

I think installing a different version of Python myself broke it for Sublime. I now added it to Path in Environnement Variables again and it works. :)
Xikeon
 
Posts: 18
Joined: Fri Feb 26, 2010 5:30 pm


Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot], Yahoo [Bot] and 28 guests