Search code examples
pythonconfigurationpycharminterpreter

Pycharm doesn't recognize any python interpreters


I have downloaded a PyCharm 2021.3 on Windows 10, and when I want to configure a python interpreter for the project, I don't have any options except . When I try to do it with the menu ctrl+Al+s python via python interpreter, I also see no available options. When I run code, it returns the first occurred exception, ModuleNotFoundError. I have python version 3.9.9 and conda installed, and they both are working perfectly fine via command prompt and Jupyter Notebook. That's how it looks: no interpreter via python interpreter menu

no interpreter in edit configurations window


Solution

  • For me, the following worked:

    1. Delete folders with the current project in the PycharmProjects directory.
    2. Create a new project, clone to this new project my project from git.

    Then I had an option to edit configurations and select python interpreter.