

Reusing the Python Interpreter for Another Project

To make sure the the display is correctly addressed, from IntelliJ/P圜harm, either.Then, make sure IntelliJ is correctly configured: Note down the value of the DISPLAY environment variable on the remote machine. you have an open SSH connection to the remote machine with X11 forwarding enabled.you have an X11 server running on your local machine (e.g.In order to make sure that interactive plots and other things that pop up windows will be transferred to your local machine, make sure that To run a script remotely, simply choose the remote interpreter we configured above. (The previous step will have created a new deployment, which will appear under Tools/Deployment.).Choose a path for the storage of project files on the remote server, which all project files will be synchronised to, e.g.Deployment Configuration ("Sync Folders").usr/local/share/virtualenvs/odmalg/bin/python) Enter location of python interpreter on remote machine (ideally a virtualenv, e.g.Enter host, port and user name and click "Next".Click "+" to add a new interpreter and select "Python SDK".Under File/Project Structure, select "SDKs".On MacOS, install and run XQuartz and use the XQuartz terminal to initiate the SSH session (with "-XY" argument).On Windows, install and run an XServer such as XMing.To support X11 on platforms that do not natively use it: you are able to open graphical applications on the remote machine. Make sure X11 forwarding works for the connection, i.e. Configure SSH Access with X11 Forwarding to Remote MachineĬonfigure an SSH connection to the remote machine using a key for authentication (no password). The use of remote interpreters is particularly useful in order to share computational resources such as GPUs or in order to execute jobs in remote clusters which provide access to data that is locally unavailable. This document describes how to set up a remote Python interpreter in IntelliJ/P圜harm. Remote Python Interpreter Configuration in IntelliJ/P圜harm
