当前位置:网站首页>Pychart connects to the remote server
Pychart connects to the remote server
2022-07-02 14:20:00 【Dear_ Forest】
because linux Cannot be used directly on the server pycharm, So the solution is to use windows Installed pycharm Remote Links linux The server .
Steps are as follows :
1、pycharm The toolbar :Tools–>Deployment–>Configuration
2、 top left corner : Click on + plus –>SFTP( This is the best choice )
3、 Name the link ( Customize )
4、 Select the new connection –>Connection–> enter server 、 login information –>Test connection, Test whether the connection is successful .
After successful connection , The following window will pop up , Otherwise, it will be other information 
5、 In the upper window : Click on –>Mappings, After setting the working directory path , Click ok 
6、 Now you can upload and download files ( You cannot run the code at this time , Because the interpreter environment has not been configured – See step 7)
7、 Configuration interpreter
To run the code , You also need to configure python( According to your own language ) Interpreter environment :
File–>Settings
Project:…–>Project Interpreter -->Add
SSH Interpreter–> Enter the server address , Port number , user name –>next
Input password –>next
Select the interpreter directory , Click Finish .
It is better to choose the interpreter directory under the virtual environment on the server Python Installation address
Use... On the server conda env list View the address of the existing virtual environment , Select the virtual environment for the project 
Select the interpreter directory :
8、 Check whether it can run successfully
Can pass os, See if you can browse the file directory on the server
import osos.listdir(‘/home/user/localproject/project’) # Just enter a directory of your server files
If the output file list is the file on your server , Then the configuration is completed .
9、 Other instructions :
1)、 After setting the local working directory and automatic uploading , The file will be automatically uploaded to the current ( Set up the project of server interpreter ) To the set directory .
Then operate the local file ( rename 、 Modify and write code 、 Delete file ), The server will also synchronously modify . But these must be guaranteed to be in pycharm Inside operation . If it's in windows If it is operated inside , It won't automatically synchronize .
The details of the synchronization log can be found in File Transfer Seen inside 
2)、 The generated files will be saved in the server directory , You need to download it manually from the server
边栏推荐
- 《可供方案开发》口算训练机/数学宝/儿童口算宝/智能数学宝 LCD液晶显示驱动IC-VK1622(LQFP64封装),原厂技术支持
- Multi rotor aircraft control using PID and LQR controllers
- Origin绘制热重TG和微分热重DTG曲线
- 浏览器驱动的下载
- Dingtalk send message
- [development environment] 010 editor tool (tool download | binary file analysis template template installation | shortcut key viewing and setting)
- ensp简单入门
- P1908 reverse sequence pair
- Methods of software testing
- Chaos engineering platform chaosblade box new heavy release
猜你喜欢

Subcontracting configuration of uniapp applet subpackages

Launcher startup process

Codeforces Round #803 (Div. 2)(A~D)

什么是 eRDMA?丨科普漫画图解

千元投影小明Q1 Pro和极米NEW Play谁更好?和哈趣K1比哪款配置更高?

Selenium installing selenium in pycharm

Dangbei projection 4K laser projection X3 Pro received unanimous praise: 10000 yuan projector preferred

每日学习2

2022 home projector preferred! Dangbei F5 brings the ultimate audio-visual experience with its powerful audio-visual effect

全屋Wi-Fi:一个谁也解决不好的痛点?
随机推荐
2022 home projector preferred! Dangbei F5 brings the ultimate audio-visual experience with its powerful audio-visual effect
Origin plots thermogravimetric TG and differential thermogravimetric DTG curves
P1042 [NOIP2003 普及组] 乒乓球
QT - make a simple calculator - realize four operations
MySQL 45 lecture - learning from the actual battle of geek time MySQL 45 Lecture Notes - 04 | easy to understand index (Part 1)
Selenium installing selenium in pycharm
OpenHarmony笔记-----------(四)
Qt-制作一个简单的计算器-实现四则运算-将结果以对话框的形式弹出来
每日学习2
BeanUtils--浅拷贝--实例/原理
Go operation redis
Selenium, element operation and browser operation methods
Start to write a small demo - three piece chess
YOLOv3&YOLOv5输出结果说明
Thymeleaf dependency
关于Flink框架窗口(window)函数最全解析
2022家用投影仪首选!当贝F5强悍音画效果带来极致视听体验
In 2021, the global revenue of structural bolts was about $796.4 million, and it is expected to reach $1097.6 million in 2028
每日学习3
How to use SAP's metadata framework (MDF) to build custom business rules?