My PyCharm installation has two interpreters available:
Whenever I
New PyCharm versions in Windows have moved the New Project Settings to a new location. See image.
Full navigation: File > Other Settings > Settings for New Projects > Project Interpreter.
if you want a default configuration, right click on the text and click run, this way it will automatically create a configuration for you.
I am using a Mac and I found that on the splash screen there were messages saying that one of the xml files in
/Library/Preferences/PyCharm2017.3/options/
could not be loaded. As a result a new one was created. When I looked at the files in this directory I found a number of the files were corrupted in some way and could not be viewed. I renamed all these to .OLD, restarted PyCharm and reset the defaults to the system interpreter in my case. This fixed my problem and PyCharm now defaults to the system interpreter.
This has now changed again on the latest version of PyCharm. It is now File > New Project Settings > Settings for New Projects
Screenshot
you have to go into control panel> uninstall a program > pycharm 2020.2 > uninstall
File
| Default Settings
| Project Interpreter
.
This configuration sets the default interpreter for the new projects, note the Default Settings menu, it's not the same as File
| Settings
which sets options for the current project.
If there is no open project, you can access this menu from the Welcome Screen (Configure
| Settings
).
Please note that it affects Open Directory option. Once you open a directory with your files, a new project will be created with the default interpreter that you have configured using the above steps. New Project option will show you the list of configured interpreters in default order and you will have to choose which one to use. There is a related request to suggest the most frequently used interpreter first.