Weizen
Weizen

Reputation: 263

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

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.

Upvotes: 3

Views: 25240

Answers (3)

jon
jon

Reputation: 910

I had the same problem, and my solution was the following:

Upvotes: 0

justengel
justengel

Reputation: 6320

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.

Upvotes: 1

labheshr
labheshr

Reputation: 3056

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

Upvotes: 4

Related Questions