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?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With