PyCharm Edu 3.0 Help

Configuring Python Interpreter for a Project

In this section:

Basics

PyCharm Edu helps assign a Python interpreter for a project.

Note that PyCharm Edu stores only the interpreter name in the project settings.

Selecting Python interpreter for a project

To configure Python SDK for the current project, follow these steps:

  1. Open the Settings/Preferences dialog box, and click Project Interpreter page.
  2. Choose SDK from the list of available Python interpreters and virtual environments.

    This list includes:

    • Python interpreters, which reside in standard locations.
    • Virtual environments, which reside under the project folder, or under the folder specified as an environment variable WORKON_HOME.
  3. If the desired interpreter is not in the list, click cogwheel_framed, and configure the desired interpreter as described in the section Configuring Available Python Interpreters.
  4. Apply 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, click the page Project Interpreter .
  2. Click the drop-down list Project Interpreter, and choose Show All.

    The dialog box Project Interpreters opens.

  3. Choose the desired interpreter and click edit1. The dialog box Edit Python Interpreter appears.
  4. In this dialog, change the interpreter name as required.

Note that only this name is stored with the project settings, making it possible to use different interpreters on each platform, without changing the project settings every time you switch to another platform.

See Also

Concepts:

Language and Framework-Specific Guidelines:

Last modified: 30 August 2016