The following is only valid when Python Plugin is installed and enabled!
In this section:
- Introduction
- Configuring Python interpreter on the project level
- Configuring Python interpreter on a module level
Introduction
Python interpreter can be assigned on the project level, and on the level of a Python module.
Note that IntelliJ IDEA stores only the interpreter name in the project settings.
Configuring python interpreter on the project level
- On the main toolbar, click
. Refer to the section
Accessing Project Structure for more details. - In the Project Structure dialog box, click Project node under the Project Settings.
- On the General Settings for Project <project name>, click the
Project SDK drop-down list, and select the project level SDK from the list of
available SDKs.

- Apply changes.
Configuring python interpreter on a module level
- On the main toolbar, click
. Refer to the section
Accessing Project Structure for more details. - In the Project Structure dialog box, click Modules node under the Project Settings.
- In the Module <module name> pane of the selected Python module, click the Dependencies tab.
- Click Module SDK drop-down list, and select the desired Python interpreter from the
list of the previously configured
available Python interpreters.

If the interpreter you need is missing in the list of available interpreters, click New next to the Module SDK field, choose Python SDK from the pop-up menu, choose interpreter type (local, remote, etc.) and then select the desired executable.