Search code examples
pythonserverpycharm

How to connect local PyCharm to python installed on a server? Is this even possible?


I have PyCharm on my machine (8GB RAM). I am required to to heavy data processing, and would like to use an institutionally provided server. This server has Python installed, but without any IDE. So all I see is a CUI, and it is difficult to program in such an environment.Also note that I cannot ask server admin to install software on the server for me. So, how can one connect one's local PyCharm to a python installed on a remote server? Is this even possible?


Solution

  • You can configure an interpreter using SSH:

    1. Open the Add Python Interpreter dialogue
    2. In the left-hand pane of the Add Python Interpreter dialogue, click SSH Interpreter.
    3. Follow the wizard.

    For more detailed instructions, check: https://www.jetbrains.com/help/pycharm/configuring-remote-interpreters-via-ssh.html

    Note: unfortunately, this option is not available in the PyCharm Community Edition.