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
You need to designate an interpreter for the project.
File -> Settings -> Project -> Project Interpreter, and then select an interpreter at the right.
File -> Settings -> Project -> Project Interpreter
It looks like this on PyCharm Community Edition 4.0.3:
The official JetBrains guide to setting up an interpreter can be found here.