我正在尝试在pycharm中调试python代码,当我尝试时出现以下错误。
/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python /Applications/PyCharm.app/helpers/pydev/pydevd.py --multiproc --client 127.0.0.1 --port 49657 --file "Python 27"
pydev debugger: process 469 is connecting
Connected to pydev debugger (build 133.881)
Traceback (most recent call last):
File "/Applications/PyCharm.app/helpers/pydev/pydevd.py", line 1534, in <module>
debugger.run(setup['file'], None, None)
File "/Applications/PyCharm.app/helpers/pydev/pydevd.py", line 1145, in run
pydev_imports.execfile(file, globals, locals) #execute the script
IOError: [Errno 2] No such file or directory: 'Python 27'
Process finished with exit code 1
以下是pycharm设置的屏幕截图。