Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"executable not specified" error in PyCharm

Tags:

python

pycharm

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?

like image 643
MackM Avatar asked Jan 29 '15 20:01

MackM


1 Answers

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.

like image 51
MackM Avatar answered Nov 13 '22 13:11

MackM