PyCharm 2017.1 Help

Configuring Remote Interpreters via Deployment Configuration

This feature is supported in the Professional edition only.

In this section:

Prerequisite

Make sure you have at least one PyCharm-wide server access configuration of the type SFTP to establish access to the target host. To make a configuration available in all PyCharm projects, clear the Visible only for this project check box in the Connection Tab. See Creating a Remote Server Configuration for details.

Defining remote Python interpreter via deployment configuration

To define a remote Python interpreter via deployment configuration

  1. In the Project Interpreter page of the project settings, click /help/img/idea/2017.1/cogwheel_framed.png.
  2. In the drop-down list, choose Add Remote.
  3. In the dialog box Configure Remote Python Interpreter, click the radio-button Deployment configuration:
    /help/img/idea/2017.1/py_interpreter_deployment.png
  4. In the Configure Remote Python Interpreter dialog box, select the desired SFTP server from the Deployment configuration drop-down list. Note that the deployment host URL is displayed for the selected SFTP server automatically.

    The Python interpreter path field displays the path to the desired Python executable. You can accept default, or specify a different one.

  5. Click OK in the Configure Remote Python Interpreter dialog box. The configured remote interpreter is added to the list.
  6. Back in the Project Interpreter page, if necessary, configure the path mappings:
    1. Click /help/img/idea/2017.1/browseButton.png:
      /help/img/idea/2017.1/py_edit_path_mapping.png
    2. In the dialog box that opens add (/help/img/idea/2017.1/new.png) or delete (/help/img/idea/2017.1/delete.png) path mappings as desired.

See Also

Last modified: 26 July 2017