Pycharm: "No Python interpreter configured for the project" everytime

Viewed 22157

Every time I open PyCharm I get this message:

No Python interpreter configured for the project.

So I set the interpreter, everything works fine, then I close PyCharm and reopen it, and the message pops up again.

Reinstalling Python and Pycharm didn't fix the problem.

3 Answers

One way you could try is: Run --> Edit Configurations --> set your interpreter there. That "sticks" for me...

If you are opening individual files then try setting the default settings.

File > Default Settings > Project Interpreter.

I think when you are opening individual files you are not loading the project. This sets a default interpreter so opening a file without loading the project should give it this interpreter.

If this doesn't work then open pycharm normally and select the project that you are working on.

Related