The list of Python SDKs, available for the various projects, can include interpreters installed locally or remotely, and the various virtual environments.

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

    py_configureInterpretersLocalRemote

    Click the filter button filter.png to show all available virtual environments, including those already associated with the other projects. By default, the virtual environments already in use, are hidden.

  4. The next step depends on the selected interpreter location.
  5. 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.
  6. For the interpreter, or virtual environment, install, uninstall or upgrade packages in the Packages tab, add or remove paths in the Paths tab.
  7. Apply changes.

See Also

Concepts:

Web Resources: