Python Interpreters
File | Settings | Python Interpreter - gear button - Show All... for Windows and Linux
PyCharm | Preferences | Python Interpreter - gear button - Show All... for macOS
Ctrl+Alt+S
|
Python interpreters
Click and select Show all... in the Python interpreter settings:
The list of the configured Python interpreters opens:
Use this dialog to configure the list of available Python interpreters.
Item | Tooltip and shortcut | Description |
---|---|---|
Add Alt+Insert | Click this button to select a Python interpreter type from the list. | |
Remove Alt+Delete | Click this button to delete the selected Python interpreter from the list of available interpreters. | |
Edit Enter | Click this button to change name and location of the selected Python interpreter. See the section Configure a Python interpreter. | |
Show virtual environments associated with other projects | If this button is pressed, the virtual environments, already associated with the other projects, are shown in the list of available interpreters. Otherwise, the list only includes the virtual environments not used in the other projects. This behavior is stipulated by the checkbox Associate this virtual environment with the current project. | |
Show paths for selected interpreter | Click this button to show the list of interpreter paths. |
Interpreter paths
This dialog shows up on clicking in the Python Interpreters dialog. It shows the paths where the external libraries reside. If a library has been added, it is recommended to click the Reload button to rescan the Python installation.
Item | Tooltip and shortcut | Description |
---|---|---|
Add Alt+Insert | Click these buttons to add external libraries for the selected Python interpreter. | |
Remove Alt+Delete | Click these buttons to remove external libraries for the selected Python interpreter. | |
Reload List of Paths | Click this button to rescan libraries for the selected Python installation. For example, clicking this button helps update external libraries, if some packages have been upgraded. |