JetBrains DataSpell 2021.1 Help

Configure a system interpreter

To work with your Python code in JetBrains DataSpell, you need to configure at least one interpreter. A system interpreter is the one that comes with your Python installation. You can use it solely for all Python scripts or take it as a base interpreter for Python virtual environments.

Configure a system Python interpreter

  1. Open the Add Python Interpreter dialog by either way:

    • When you're in the Editor, the most convenient way is to use the Python Interpreter selector in the status bar. Click the widget and select Add Interpreter ...

    • If you are in the Settings/Preferences dialog Ctrl+Alt+S, select Project <project name> | Python Interpreter. Click the The Configure project interpreter icon and select Add.

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

    Adding a system interpreter

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

    If JetBrains DataSpell detects no Python on your machine, it provides two options: to download the latest Python versions from python.org or to specify a path to the Python executable (in case of non-standard installation).

    Downloading Python when installing the system interpreter

    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.

  4. Click OK to complete the task.

Last modified: 19 March 2021