Home >Backend Development >Python Tutorial >What should I do if pycharm cannot find the interpreter?
Solution: 1. Open the disk, directly search for the python.exe file, and obtain the path of the file; 2. Open the pycharm software, click "File" – "Setting" – "Project" in order, and click the upper right corner Settings icon; 3. Find python.exe according to the obtained path.
The operating environment of this tutorial: windows7 system, Pycharm2019 version, DELL G3 computer
The solution to the problem that the interpreter cannot be found in pycharm Method:
1. Open File–>Setting–>Project. At this time, you will see No interpreter displayed in the selected column;
2. You might as well open the disk and directly search for the python.exe file, which may be on the C drive or other disks;
3. At this time, return to PyCharm and select the upper right Settings icon in the corner, if this file is hidden,
Remember to right-click Show Hidden Files and Directions to show hidden files;
4. Find Just python.exe under your path will do;
5. The problem is successfully solved.
[Related recommendations: Python3 video tutorial]
The above is the detailed content of What should I do if pycharm cannot find the interpreter?. For more information, please follow other related articles on the PHP Chinese website!