- Open the project settings, and click Python Interpreters page.
- Click
.
- From the drop-down list, select whether you want to add an interpreter from your local computer, or the one located remotely:

Click the filter button
to show all available virtual environments, including
those already associated with the other projects. By default, the virtual environments already in use, are hidden.
- The next step depends on the selected interpreter location.
- When an interpreter is added, PyCharm asks whether you want to make this interpreter the default one. If you answer yes, the new Python interpreter will be made the project interpreter. Otherwise, it is still included in the list of available interpreters.
- For the interpreter, or virtual environment, install, uninstall or upgrade packages in the Packages tab, add or remove paths in the Paths tab.
- Apply changes.
