PyCharm 2016.3 Help

Configuring Remote Interpreters via Deployment Configuration

On this page:

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/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/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/browseButton.png:
      /help/img/idea/py_edit_path_mapping.png
    2. In the dialog box that opens add (/help/img/idea/new.png) or delete (/help/img/idea/delete.png) path mappings as desired.

See Also

Last modified: 23 November 2016