PyCharm 2017.1 Help

Project Interpreter

File | Settings | Project Interpreter for Windows and Linux
PyCharm | Preferences | Project Interpreter for macOS
Ctrl+Alt+S
/help/img/idea/2017.1/settings.png


Use this page to select a Python interpreter for each of the projects opened in the same window.

In this section:

Projects pane

ItemDescription
ProjectsThis pane displays the list of projects, opened in the same window. The first project in the list is the primary project.

Interpreters

ItemDescription
Project InterpreterFor the project, selected in the Projects pane, choose Python interpreter from the drop-down list.

The interpreters in the list are configured using the /help/img/idea/2017.1/cogwheel_framed.png button, as described in the section Configuring Available Python Interpreters.

Path mappingsThis field in only available for the remote interpreters!

This field shows read-only mappings between the desired local path and the corresponding remote path. PyCharm allows configuring paths by clicking /help/img/idea/2017.1/browseButton.png next to the field. In the dialog box that opens, click /help/img/idea/2017.1/new.png or /help/img/idea/2017.1/delete.png buttons to change the path mappings as desired.

/help/img/idea/2017.1/cogwheel_framed.pngClick this button to reveal the list of available types of interpreters:
/help/img/idea/2017.1/py_interpreter_types.png

From the list, choose the one to be added:

Packages

This table shows the packages installed locally.

ItemDescription
PackageThis column shows the list of packages residing in the accessible remote repositories. For each package you can view its name and repository. Additional information is displayed at the tooltip.
VersionThis column shows the currently installed version of a package.
LatestThis column shows the latest available versions of the packages. If a version is outdated and the package can be upgraded, /help/img/idea/2017.1/arrow_right.png mark appears in this column.

Packages toolbar

ItemTooltip and shortcutDescription
/help/img/idea/2017.1/new.pngInstall
Alt+Insert
Click this button to install a new package from the accessible remote repositories.
/help/img/idea/2017.1/delete.pngUninstall
Alt+Delete
Click this button to uninstall the selected local package.
/help/img/idea/2017.1/arrowUp.pngUpgradeClick this button to install the latest available version of a package. This button is only available for the outdated package versions.

The buttons on this toolbar are disabled for the Docker interpreters:

/help/img/idea/2017.1/py_packages_toolbar_for_docker.png

All the packages should be already installed in the Docker image. If some packages are missing, then you will have to create a new Docker image, as described on the page Quickstart Guide: Compose and Django.

See Also

Last modified: 26 July 2017