If PyCharm says "No Python Interpreter" when it tries to run the program by clicking Run, try the following.
1. Click "File"-> "Settings" in the menu bar.
2. In the pop-up "Settings" dialog box, select "Project: Filename", which "Filename" corresponds to the name of the file you open, in the right hand side Select "Project Interpreter".
3. In the "Settings" dialog box in the right area of a fresh "Project Interpreter" drop-down box, select "Show All ...".
4. In the pop-up "Project Interpreters" dialog box, select the "+" button in the upper right corner.
5. A new window pop-up "Add Python Interpreter", select the left side of the "Virtualenv Environment", if you have installed python will be on the right side of the interpreter. If you have installed python will appear in the right side of the interpreter the corresponding directory, usually choose the default can be, click "OK" to determine.
6. After successful operation, the software will return to the "Project Interpreter" dialog box, before the empty list of more than one directory, click "OK" to determine.
7. Back to "Settings", you can see a list of the right side of the display, then that the settings are successful, click "OK" to determine.
8. Run the code again, no annoying "No Python Interpreter", the program runs OK.
To this point this article on PyCharm No Python Interpreter prompted the correct solution to this article, more related to PyCharm No Python Interpreter content, please search for my previous articles or continue to browse the following related articles I hope you will support me more in the future!