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
In the Project Interpreter page, click , and then choose Show all...:
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:
Changing the project interpreter in the project settings
In the Settings/Preferences dialog (Ctrl+Alt+S), select .
Expand the list of the available interpreters and click the Show All link. Alternatively, click the icon and select Show All.
Select the target interpreter.
When PyCharm Edu stops supporting any of the outdated Python versions, the corresponding project interpreter is marked as unsupported.
Optionally, you can click and type an alternative interpreter 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
In the Settings/Preferences dialog (Ctrl+Alt+S), click the page Project Interpreter, and select the desired project.
Do one of the following:
Click 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....
The dialog Project Interpreters opens.
Choose the desired interpreter and click . The dialog Edit Python Interpreter appears.
In this dialog, change the interpreter name as required.