Пытаясь заставить PyCharm работать, продолжайте получать «Не выбран интерпретатор Python»
Я пытаюсь изучить Python и решил использовать PyCharm. Когда я пытаюсь запустить новый проект, я получаю диалог, в котором говорится, что «Нет интерпретатора Python выбрано». У него есть раскрывающийся список, чтобы выбрать интерпретатор, но выпадающий пуст.
8 ответов
Вероятно, ваша проблема заключается в том, что вы не установили python. Это означает, что если вы используете Windows, вы не загрузили установщик для Windows, который вы можете найти на официальном сайте Python.
В случае, если у вас есть, есть вероятность, что PyCharm не сможет найти вашу установку Python, потому что она не находится в местоположении по умолчанию, обычно это C:\Python27 или C:\Python33 (для меня как минимум).
Итак, если вы установили Python и он все еще дает эту ошибку, то могут произойти две вещи:
- Вы используете virtualenv и этот virtualenv был удален или изменился путь к файлу. В этом случае вам нужно будет найти переход к следующей части этого ответа.
- Ваша установка python не находится по умолчанию, и в этом случае вам нужно будет найти ее местоположение и найти файл python.exe .
После того, как вы найдете необходимые бинарные файлы, вам нужно будет сказать, что PyCharm должны были выглядеть:
-
Откройте диалог настроек CTRL + ALT + S
Затем вам нужно будет ввести interpreter в поле поиска:

Как вы можете видеть выше, вам нужно будет перейти к Project Interpreter а затем перейти к Python Interpreter . Местоположение выбрано для вас на приведенном выше изображении.
В стороне вы увидите несколько опций в виде значков, щелкните значок «Большая + , затем нажмите » local , потому что ваш интерпретатор находится на этом компьютере.
PyCharm не видит интерпретатор
Интерпретатор для PyCharm
Доброго времени суток форумчане! Еще даже не начал изучать питон, только что установил Pycharm.
Настройка интерпретатор на PyCharm под Windows 7
Windows 7. В общем установил я Python 3.5 и поставил PyCharm py(последний самый), когда создал.
Pycharm видит все модули даже "мои" через modules, но дело в том, что при import. не видит мой модуль
но проблема в том, что при import. или from. pycharm не видит мой собственный модуль. Во всех.
PyCharm не видит модуль
Я подключаю в python, через .pth файл, модуль как .pyd. Через консоль и jupyter модуль импортится.
Pycharm не видит numpy
Помогите. Pycharm не видит numpy. Причем через обычный IDLE все работает. Я пытаюсь прописать в.
pycharm не видит aiohttp
Привет всем! Мой проект работает на python3.9. Там нужен aiohttp. Когда я написал код, я запустил.
Почему PyCharm не видит sklearn?
Привет! Почему мой PyCharm не видит sklearn? Хотя я его установил через pip install. Не пойму в чём.
Pycharm не видит методы объкта
Добрый день в хату. Проблема в следующем: при работе в pycharm, если импортировать библиотеку.
PyCharm сломался и не видит библиотеку
Здравствуйте! PyСharm не видит стандартную библиотеку turtle — чеперашка для изучения питона. (OS.
PyCharm не видит venv из терминала
Всем привет, собственно проблема такая, создаю проект, выбираю папку с проектом и нажимаю создать.
PyCharm doesn't detect interpreter
I’m new to programming and just started a course on Python. I want to use PyCharm, so I downloaded and intalled it (v. 4.5, community edition). I had previously installed Python 3.5 64-bit from python.org (I’m using Windows 10).
To start using PyCharm, I need a project interpreter, which I can select in the settings. As far as I’m concerned, the interpreter is «py.exe», but when I select it, I get this error message: «The selected file is not a valid home for Python SDK». I also tried to use every file whose name contained «python» or «py», and failed.
On every website and video I see, they select a file called «python.exe», but they’re using Python 3.4 or a previous version. I checked that PyCharm supports 3.5 («Initial support for Python 3.5»).
Is there anything I’m doing wrong? What should I do to be able to use PyCharm?
All replies are appreciated. Thanks in advance.
7 Answers 7
file > new project settings > project Interpreter > click in the drop down and select ‘show all’ > click the ‘+’ button >
Now, in the Virtualenv Environment tab under the New environment radio button, check the path in the ‘Base interpreter:’ field. For me, mine was set to an invalid path. Once I had corrected the path to point to python.exe I recreated my new project and PyCharm built the virtualenv.
For me there was a bit more too. When creating the new project I expanded the drop down and had to verify the directory where the venv directory was being created. Once I had corrected the path here I had to click around a bit to get it to let me create the project.
I’m going to chaulk this up to a bug. I’m using Community edition.
When creating a project in PyCharm, if the interpret is not already selected, in the drop down menu under the projects «Location:», you can click the gear-looking icon to the right of the interpreter option, and click «Add Local»; then select the file location of the python.exe file that you have installed. It will probably be C:\Python35\Python.exe
I faced a Similar issue and was not able to find Python interpreter anywhere on the system.
The problem with it was that python was installed directly with default settings and there was no exe found in
and to solve this i tried uninstalling and reinstalling with custom settings and selecting allow for all users as well which did the trick and path was set correctly to
After which Pycharm was able to detect the interpreter on this path.
![]()
PyCharm project interpreter problem Resolved
I installed anaconda python distribution (Anaconda3-5.0.1-Windows-x86_64.exe) from the anaconda website. https://anaconda.org/anaconda/python
What it actually did was it re-installed my Python3.6.3 (pertinent to mention I have windows10, with pyCharm community & python 3.5 already but with the interpreter problem and while installing anaconda I chose the following settings and disabled my antivirus before my anaconda installation):
- selecting allow for all users
- installation path was set correctly and (stored safely for future)
- restart my Computer after installation.(not essential-but I did)
- opened Anaconda & Jet brian pycharm
- selected new project in PyCharm screen shot of my New project default Python interpreter location = C:\Users\Skboy\PycharmProjects\dani Interpreter = C:\Users\Skboy\AppData\Local\Programs\Python\Python36-32\python.exe
Wow! my pyCharm started working for me,
Resolution : Python6.3 re-installation with proper custom setting
make a python test test1.py program file to print «hello python test world»
Run
now my Python Interpreter(automatically -by default select) Python 3.6.3
edit configuration & check for interpreter
Run
success test Run
worth to mention Anaconda Jupyter is a web based can also be used in case novice user are still having problems
I have had the exact same problem and was unable to find the solution until just now. Hopefully this works for anyone that was struggling with it.
I went to the location of the Python 3.5 (32-Bit) in my C: Drive which it turns out is just a shortcut to the actual Python application, right click on it and select Open file location which should direct you to the application version of python — simply called ‘python’. This is the .exe file that PyCharm was looking for to use as the interpreter.
Now go to the configure interpreter menu in Pycharm and type in the file location of the actual python application. To get to mine I had to go to AppData/Local/Programs/Python/Python35-32. Click on the python.exe file and it should work.
This is my first post here so if its formatted incorrectly or doesn’t use the conventional terms — sorry. Let me know if the solution worked for anyone else with the problem or if I fluked it.
[Solved] No python interpreter configured for the project
No python interpreter configured for the project is a common error message you may encounter in PyCharm. PyCharm is a very useful editor having nice features like debugging, testing, refactoring and code completion. However, it needs an external interpreter (Python.exe) to run Python code.
This message tells you that project configuration should be updated to use a valid Python installation. To open the related configuration, you can click on Configure Python interpreter link as shown below. Or alternatively, you can select File -> Settings from the menu and open Project -> Python Interpreter setting.

Python Interpreter setting shows that <No Interpreter> is selected for the project. To select (or create) a Python.exe interpreter click on Gear icon and select Show All… option.

In the Python Interpreters window that opens, the list is empty. To add a new Python Interpreter click on Plus (+) icon.

In Add Python Interpreter window, you can create a new virtual Python environment. My project is under C:\abcstudyguide\python directory, so I have created a folder venv under this directory to create a new virtual environment for my project.
You must then choose a Base interpreter. Base interpreter is the python.exe file installed on your system. When you create a virtual environment, it will be based on Python version specified here. If you need a specific version of Python (like 3.8, 3.7), you need show path of this Python version in Base interpreter filed.
If you don’t have Python installed on your system yet, you can download it from https://www.python.org/downloads/. Note that I installed Python in C:\Python\Python39 directory on my computer. However, default installation path is C:\Users\

Virtual Environments in Python
Instead of creating a new virtual environment, you can also use the System Interpreter, but this method is not recommended.
You can work on many different Python projects. Virtual environments are useful for creating an isolated environment for each Python project. Consider you are working on two different projects (ProjectA and ProjectB). Both projects are using the same library (LibraryX) but they require different versions of LibraryX. ProjectA needs version 1.0 of LibraryX, ProjectB needs version 2.0.
To avoid version conflicts between third party libraries, each project should create and use its own virtual environment instead of using System Interpreter ( C:\Python\Python39\python.exe ).

When you create a new Python virtual environment and select it as Python Interpreter in your project settings, No python interpreter configured for the project message will be gone.