(article source | turbine cloud community focus/deep learning GPU cloud platform, artificial intelligence official experience url: gpushare.com)

PyCharm is a Cross-platform Python editor developed by JetBrains. PyCharm is available as a commercial Professional version and a free Community version.

Note that only the Professional version supports remote development. You can view the current installed version from the help-About menu.

This article will configure the remote file connection, configure the remote parser two aspects of the tutorial, you can follow the steps to operate ha ~

[Configure remote file connection]

Open tools-deployment-Configuration from the menu.

Click the Add button and select SFTP.

Fill in the name of a remote connection.

Click the browse SSH Configuration button.

Create an SSH configuration.

In my example, click the copy login command.

Extract the login host name, port number, and user from the login command. For example, SSH -p 36024 [email protected], the extracted information is as follows:

Fill in the information in the SSH configuration and click copy Password from my example to fill in the Password field. Click the Test Connection button to Test the Connection.

Select Yes for the confirm host key button.

Click OK to close when the test is successful and click the OK button twice more to save the SSH configuration and Deployment configuration.

[Configure remote resolver]

Select File-Settings from the menu to open the Settings.

Select Project-Python Interpreter in the menu category, click on the right gear diagram and select Add… .

Select SSH Interpreter on the left. Select Existing Server Configuration on the right and select the SSH connection created in the previous step. Click Next.

Interpreter Enter /usr/local/bin/python. Select Sync Folders to set up the remote server synchronization directory.

On the right of the directory mapping is the remote server directory. Change it to the directory you want to store. Click OK.

Click Finish to complete the configuration.

The parser has been switched to the newly configured remote parser. Click OK to start synchronization and wait for the configuration and synchronization to complete in the status bar below.

The remote Python parser is displayed in the lower-right status bar. At this point, the run code is running on a remote host.