The following is only valid when Python Plugin is installed and enabled!
In this section:
- Overview
- Viewing the list of available interpreters
- Configuring the list of available interpreters
- Removing interpreters from the list
Overview
The list of Python SDKs, available for the various projects, can include interpreters installed locally, remotely, as well as the virtual environments.
The available Python interpreters are defined as the global SDKs. The procedure described below supposes that the necessary Python interpreters are already installed on your computer.
Viewing the list of available interpreters
- On the main menu, choose (or click
, or press ⌘;⌘;⌘;^ ⇧ ⌥ S^ ⇧ ⌥ S).
Configuring the list of available interpreters
- Open the Project Structure dialog (e.g. ⌘;⌘;⌘;^ ⇧ ⌥ S^ ⇧ ⌥ S).
- In the Project Structure dialog box, click SDKs node under the Platform Settings.
- Click
, and then choose Python SDK from the
Add New SDK popup menu. - In the Select Python Interpreter dialog box, choose the desired
Python executable, and click OK.
The selected Python interpreter appears in the list of available SDKs.
Having selected an interpreter, you can configure its paths.
- Repeat steps 1 - 4 to add more Python interpreters to the list.
Removing interpreters from the list
- In the list of available interpreters, select the one to be deleted.
- Click
.