In this section:
- Viewing the list of available interpreters
- Configuring the list of available interpreters
- Project Interpreters dialog box
- Auto-detecting interpreters
- Removing interpreters from the list
The list of Python SDKs, available for the various projects, can include interpreters installed locally or remotely , and the various virtual environments .
Viewing the list of available interpreters
Configuring the list of available interpreters
- Under the project settings, open the page Project Interpreter.
- Next to the Project Interpreter field, click .
- In the list of interpreter types, choose the desired option:
Choose More to open the Project Interpreters dialog box, where it is possible to configure the list of the Python interpreters, available on your computer:
The Project Interpreters dialog features the toolbar with the following buttons:
|Icon||Tooltip and shortcut||Description|
Alt+InsertAlt+InsertAlt+InsertAlt+InsertAlt+InsertAlt+InsertAlt+Insert or Ctrl+NAlt+InsertCommand N or Control EnterControl N or Control EnterCommand N or Control Enter
|Click this button to choose the type of interpreter to be added: local, remote interpreter, or virtual environment.|
Alt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteCommand DeleteCommand DeleteCommand Delete
|Click this button to remove the selected interpreter from the list of available interpreters.|
|Click this button to change the name and path of the selected interpreter.|
|Show virtual environments associated with the other projects||If this button is not pressed, PyCharm shows the virtual environments associated with the current project only.|
|Show paths for the selected interpreter||Click this button to show the list of paths for the selected interpreter.|
It is not necessary to configure all the interpreters or virtual environments. PyCharm can automatically detect them in certain locations. These automatically detected interpreters are denoted in the list by semi-transparent icons:
- virtual environment:
The ability to automatically detect interpreters depends on the platform. PyCharm looks for the interpreters and virtual environments in the following locations:
- C:\\Program Files\PythonXX
- OS X:
Removing interpreters from the list
- In the list of available interpreters , select the one to be deleted.
- Click .