Home  >  Article  >  Backend Development  >  Solve the problem that pycharm cannot find the interpreter

Solve the problem that pycharm cannot find the interpreter

hzc
hzcOriginal
2020-06-15 16:02:4023171browse

Solve the problem that pycharm cannot find the interpreter

Solution to the problem that pycharm cannot find the interpreter

After installing PyCharm, when creating or importing a project, the interpreter cannot be found. situation, don't worry, to get to the bottom of it, we just need to find the pycharm*.exe file, so where is this file? This is a problem.

First open File–>Setting–>Project. At this time, you see No interpreter displayed in the selected column. Where to find this file? You might as well open the disk and search for the python.exe file directly.

Solve the problem that pycharm cannot find the interpreter It may be on the C drive, or it may be on another disk. The directory I found is very strange. During the installation, it went to the SDK directory, but I still found it. is you.

Solve the problem that pycharm cannot find the interpreterGo back to PyCharm at this time and select the settings icon in the upper right corner. If this file is hidden, remember to right-click Show Hidden Files and Directions to show hidden files

Solve the problem that pycharm cannot find the interpreterFinally, just find python.exe under your path. The editor installed python2.7, so I selected this one. If you have python3.1, you can also choose this one, so that's it. The configuration was successful.

Solve the problem that pycharm cannot find the interpreter Recommended tutorial: "

Python Tutorial

"

The above is the detailed content of Solve the problem that pycharm cannot find the interpreter. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn