PyCharm Edu 2018.3 Help

Configuring Python Interpreter

Introduction

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.

  • 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

Changing Name of a Python Interpreter or Virtual Environment

With PyCharm Edu, one can easily discern numerous Python interpreters and virtual environments by their names, rather than by the long paths to the executables.

To change visible name of a Python interpreter

  1. In the Project Interpreters page, select one of the configured interpreters or virtual environments.

  2. Click Edit.

  3. In the Edit Python Interpreter dialog box that opens, type the desired interpreter name.

    Changing interpreter's name

    The Python interpreter name specified in the Name field, becomes visible in the list of available interpreters.

    If necessary, change the path to the Python executable.

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 drop-down list in the Project Interpreter field, and choose Show All....

      Show all interpreters

    The dialog box Project Interpreters opens.

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

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

    Renaming interpreter

Last modified: 24 December 2018