Home Pycharm Connect Remote Server
Post
Cancel

Pycharm Connect Remote Server

Pre-Setting

  • Remote Server: Ubuntu 20.04
  • Ubuntu install Python Interpreter: CSDN, path: /usr/bin/python (normally)
  • Ubuntu install Anaconda: CSDN, path: /root/anaconda3
  • Pycharm in Windows

Server Setting

See previous blog: Clion Connect Remote Server (Docker)

Pycharm Setting

Set up Deployment

  • Menu - Tools - Deployment - Configuration

  • add SFTP

    • set up Connection

    • set up Mappings

Set up Python Interpreter

  • Menu - File - Settings - Python Interpreter

  • Add Interpreter - On SSH

    • Step 1: choose Existing, select above SSH Server, Next

    • Step 2: Next

    • Step 3: choose System Interpreter, Interpreter select the Python interpreter in anaconda path (or other python interpreter path), Sync folders select the server path where to save the files, Create

This post is licensed under CC BY 4.0 by the author.