UlyssesJA
UlyssesJA

Reputation: 121

"Error: Please select a valid Python interpreter" in Pycharm

I have been asked to use Python in Pycharm and, after downloading it, I have found a problem which doesn't allow me to compile anything because there is an "Error: Please select a valid Python interpreter". I know there are similar questions already solved that propose solutions to this problem but I have revised those solutions and none of them is satisfactory for me. I would appreciate help very much. I let you here also some screenshots that show the error:

Upvotes: 0

Views: 7519

Answers (2)

navalega0109
navalega0109

Reputation: 402

In PyCharm click ctrl+alt+s (on windows) and if there is no interpreter as shown then...

  1. Click add Interpreter

enter image description here

  1. Select Virtual Env and Click New radio button and then press ok as shown in picture.This will resolve your issue.

enter image description here

Upvotes: 0

emenym
emenym

Reputation: 11

Try reading through these docs, even has pictures.

https://www.jetbrains.com/help/pycharm/configuring-python-interpreter.html#add_new_project_interpreter

Upvotes: 1

Related Questions