【发布时间】:2017-01-16 11:19:31
【问题描述】:
我想在 PyCharm IDE 中以详细模式运行 Python 程序。我在运行/调试配置窗口下的解释器选项中指定了"-v"。但它显示以下错误:
/usr/bin/python2.7
/home/user1/Downloads/pycharm-community-2016.1.4/helpers/pydev/pydev_run_in_console.py
35261 34268 -v
/home/user1/my_codings/gitStuffs/Cura_Debian_Release/usr/share/cura/cura.py
Traceback (most recent call last): File
"/home/user1/Downloads/pycharm-community-2016.1.4/helpers/pydev/pydev_run_in_console.py",
line 71, in <module>
globals = run_file(file, None, None) File "/home/user1/Downloads/pycharm-community-2016.1.4/helpers/pydev/pydev_run_in_console.py",
line 31, in run_file
pydev_imports.execfile(file, globals, locals) # execute the script IOError: [Errno 2] No such file or directory: '-v' Running -v
【问题讨论】: