3

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
  • Are you opening individual files? Commented Nov 15, 2017 at 15:08
  • Have you tried this: jetbrains.com/help/pycharm/… Commented Nov 15, 2017 at 15:08
  • 1
    I am opening individual files, yes. I tried the jetbrains link without any luck Commented Nov 15, 2017 at 15:10

3 Answers 3

4

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

Sign up to request clarification or add additional context in comments.

Comments

1

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.

3 Comments

Tried this, but when i re-open Pycharm, the default settings are gone.
I think that's because PyCharm creates a project for that single file in a temporary location. It is probably better to create a project for those files and just open the project every time.
Created a project, everything works fine. Thank you, my hero.
0

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

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.