“executable not specified” error in Pycharm

时光总嘲笑我的痴心妄想 提交于 2019-12-04 04:06:34

问题


When I try to run a python script in Pycharm, I get this error message:

error running myscript: Executable is not specified

and the script does not run. How do I run my script through Pycharm?


回答1:


You need to designate an interpreter for the project.

File -> Settings -> Project -> Project Interpreter, and then select an interpreter at the right.

It looks like this on PyCharm Community Edition 4.0.3:

The official JetBrains guide to setting up an interpreter can be found here.



来源:https://stackoverflow.com/questions/28224357/executable-not-specified-error-in-pycharm

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!