PyCharm Edu 2019.1 Help

Configuring Python Interpreter

In PyCharm Edu you are not limited to using just any single Python interpreter. You are able to implement several and in doing so choose which interpreter you wish to use for any specific project.

PyCharm Edu supports:

Python interpreters can be configured on the following levels:

  • Current project: selected Python interpreter will be used for the current project.

    Configuring Python interpreter on this level is described below.

  • New project: selected Python interpreter will be used for the new project instead of the default one.

Viewing the list of available interpreters

The list of Python interpreters, available for the various projects and the various virtual environments.

To view the list of available interpreters

Setting an existing project interpreter

At any time, you can switch your project interpreter either using the Python Interpreter widget or in the project Settings/Preferences.

Changing the project interpreter using the Python Interpreter widget

The Python Interpreter widget is located on the Status bar. It is the most convenient and quickest way to switch the project interpreter. Just click it and select the target interpreter:

Project interpreter widget

Changing the project interpreter in the project settings

  1. In the Settings/Preferences dialog (Ctrl+Alt+S), select Project <project name> | Project Interpreter.

  2. Expand the list of the available interpreters and click the Show All link. Alternatively, click the The Configure project interpreter icon and select Show All.

  3. Select the target interpreter.

    View interpreters

    When PyCharm Edu stops supporting any of the outdated Python versions, the corresponding project interpreter is marked as unsupported.

  4. Optionally, you can click Edit and type an alternative interpreter name.

    Changing interpreter's name
    The Python interpreter name specified in the Name field, becomes visible in the list of available interpreters. Click OK to apply the changes.

Working on the same project on different platforms

You can work on the same PyCharm Edu project on different platforms (for example, on Windows at work, and on MacOS at home). This can be easily done, if you rename the project interpreter.

The reason is that PyCharm Edu stores the interpreter name with the project, but not the interpreter path.

To rename an interpreter, follow these steps

  1. In the Settings/Preferences dialog (Ctrl+Alt+S), click the page Project Interpreter, and select the desired project.

  2. Do one of the following:

    • Click Project interpreter next to the Project Interpreter field, and in the list of interpreter types, choose Show All....

    • Click the list in the Project Interpreter field, and choose Show All....

      Show all interpreters

    The dialog Project Interpreters opens.

  3. Choose the desired interpreter and click Edit. The dialog Edit Python Interpreter appears.

  4. In this dialog, change the interpreter name as required.

    Renaming interpreter

Last modified: 29 June 2019