Why can't I run a script in PyCharm, when I can debug it? I get CreateProcess error=123

I have a just reinstalled PyCharm but it is still causing me trouble: it will allow me to debug a python script, but it throws an error when I try to run it. The error when running is:

Error running test: Cannot run program "C:\Python27\python.exe" (in directory "C:\Users\Shellver\PycharmProjects\TestProject"): CreateProcess error=123, The filename, directory name, or volume label syntax is incorrect

I have tried creating new interpreters in other directories, I have turned off UAC, and have tried running PyCharm as administrator. Any other suggestions?

Thanks very much.


PyCharm 2.7.1.
Windows 7 64bit
Python 2.7

success when debugging.png

error when running.png

interpreter settings.png


Please sign in to leave a comment.