Sublime Forum

Python building stopped finding python.exe

#1

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!

0 Likes

#2

Sublime relies on python.exe being on the system %PATH%. Can you open up cmd.exe, type python, and have python run?

0 Likes

#3

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. :smile:

0 Likes