“executable not specified” error in Pycharm

后端 未结 1 1682
长发绾君心
长发绾君心 2021-01-19 07:58

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

相关标签:
1条回答
  • 2021-01-19 08:43

    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:

    File -> Settings

    Project -> Project Interpreter -> Select Interpreter

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

    0 讨论(0)
提交回复
热议问题