IntelliJ IDEA 2019.2 Help

Configure system interpreters

To configure a system Python interpreter, follow these steps:

  1. Navigate to File | Project Structure Ctrl+Shift+Alt+S.

  2. In the Project Structure dialog, select SDKs under the Platform Settings section, click Add a new SDK, and from the popup menu, choose Python SDK.

  3. In the left-hand pane of the Add Python Interpreter dialog, select System Interpreter.

    Adding a system interpreter

  4. In the Interpreter field, type the fully-qualified path to the required interpreter executable, or click the Browse button and in thelib Select Python Interpreter dialog that opens, choose the desired Python executable and click OK.

    You will need admin privileges to install, remove, and upgrade packages for the system interpreter. When attempting to install an interpreter package through an intention action, you might receive the following error message:

    System Interpreter warning message
    As prompted, consider using a virtual environment for your project.

  5. Click OK to complete the task.

For any of the configured Python interpreters, you can:

Last modified: 17 October 2019