'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.
Solution 1:[1]
One way you could try is: Run --> Edit Configurations --> set your interpreter there. That "sticks" for me...
Solution 2:[2]
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.
Solution 3:[3]
I had the same problem, and my solution was the following:
- read the following url: https://www.jetbrains.com/help/pycharm/configuring-python-interpreter.html#interpreter
- Instead of using Homebrew (Mac), I downloaded Python directly from https://www.python.org/downloads/
- Installed Python
- Reboot the PyCharm
- The system came with the same message BUT it now included the newly found path to the installed Python. Clicked on it.
- PyCharm now works, well, like a charm
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | labheshr |
Solution 2 | |
Solution 3 | jon |