In this section:
- Configuring Remote Python Interpreters
- Configuring Remote Interpreters via SSH
- Configuring Remote Interpreters via Virtual Boxes
- Configuring Remote Interpreters via Deployment Configuration
Configuring remote Python interpreter
PyCharm provides full integration with the Python interpreters running on remote hosts.
The name of a remote interpreter is automatically prepended with the prefix Remote.
- In the Project Interpreter page of the project settings, click .
- In the drop-down list, choose
- Depending on the selection in the dialog box that opens, follow one of the procedures:
When a remote Python interpreter is added, at first the PyCharm helpers are copied to the remote host. PyCharm helpers are needed to run remotely the packaging tasks, debugger, tests and other PyCharm features. Next, the skeletons for binary libraries are generated and copied locally. Also all the Python library sources are collected from the Python paths on a remote host and copied locally along with the generated skeletons. Storing skeletons and all Python library sources locally is required for resolve and completion to work correctly in PyCharm.
PyCharm checks remote helpers version on every remote run, so if you update your PyCharm version, the new helpers will be uploaded automatically and you don't need to recreate remote interpreter.
SFTP support is required for copying helpers to the server.