当前位置:网站首页>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
边栏推荐
- 【虹科技术分享】如何测试 DNS 服务器:DNS 性能和响应时间测试
- Mysql5.7 installation super easy tutorial
- 路由(二)
- How kaggle uses utility script
- Custom events, global event bus, message subscription and publishing, $nexttick
- 2022家用投影仪首选!当贝F5强悍音画效果带来极致视听体验
- In 2021, the global TCB adapter revenue was about $93 million, and it is expected to reach $315.5 million in 2028
- 每日学习3
- Codeforces Round #803 (Div. 2)(A~D)
- Using computed in uni app solves the abnormal display of data () value in tab switching
猜你喜欢

Error: eacces: permission denied, access to "/usr/lib/node_modules"

默认插槽,具名插槽,作用域插槽

Selenium element positioning method

MySQL 45 lecture - learning from the actual battle of geek time MySQL 45 Lecture Notes - 04 | easy to understand index (Part 1)

Browser driven Download
![[to be continued] [UE4 notes] l5ue4 model import](/img/6b/d3083afc969043dbef1aeb4fccfc99.jpg)
[to be continued] [UE4 notes] l5ue4 model import

Analysis of CPU surge in production environment service
![[development environment] Dell computer system reinstallation (download Dell OS recovery tool | use Dell OS recovery tool to make USB flash disk system | install system)](/img/e0/e9cb42f241a60995d4598ba6a1a2fe.jpg)
[development environment] Dell computer system reinstallation (download Dell OS recovery tool | use Dell OS recovery tool to make USB flash disk system | install system)

c# 水晶报表打印
![[development environment] 010 editor tool (tool download | binary file analysis template template installation | shortcut key viewing and setting)](/img/de/7d70f513577e93f1bde1969935a29e.jpg)
[development environment] 010 editor tool (tool download | binary file analysis template template installation | shortcut key viewing and setting)
随机推荐
Subcontracting configuration of uniapp applet subpackages
SystemServer进程
Custom events, global event bus, message subscription and publishing, $nexttick
快解析:轻松实现共享上网
给Android程序员的一些面试建议「建议收藏」
[template] longest common subsequence ([DP or greedy] board)
Launcher启动过程
Dingtalk send message
Solve the problem that openocd fails to burn STM32 and cannot connect through SWD
跨服务器数据访问的创建链接服务器方法
Some interview suggestions for Android programmers "suggestions collection"
Slashgear shares 2021 life changing technology products, which are somewhat unexpected
【文档树、设置】字体变小
Origin绘制热重TG和微分热重DTG曲线
Teamtalk source code analysis win client
Chinese science and technology from the Winter Olympics (III): the awakening and evolution of digital people
[development environment] 010 editor tool (tool download | binary file analysis template template installation | shortcut key viewing and setting)
kaggle如何使用utility script
PyQt5_ Qscrollarea content is saved as a picture
2022家用投影仪首选!当贝F5强悍音画效果带来极致视听体验