- Open the project settings, and click Project Interpreter page.
- In the Projects pane, click the desired project.
- For the selected project, 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.
- Other Python interpreters, installed locally or remotely.
- If the desired interpreter is not in the list, click the Configure interpreters link, and in the Python Interpreters page configure the desired interpreter as described in the section Configuring Available Python Interpreters.
- Apply changes.
An interpreter can be made the project default when is it added.