当前位置:网站首页>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
边栏推荐
- [usaco05jan]watchcow s (Euler loop)
- 《可供方案开发》口算训练机/数学宝/儿童口算宝/智能数学宝 LCD液晶显示驱动IC-VK1622(LQFP64封装),原厂技术支持
- Go operation redis
- D language, possible 'string plug-ins'
- Systemserver process
- Qt-制作一个简单的计算器-实现四则运算-将结果以对话框的形式弹出来
- 错误:EACCES:权限被拒绝,访问“/usr/lib/node_modules”
- 【虹科技术分享】如何测试 DNS 服务器:DNS 性能和响应时间测试
- [template] longest common subsequence ([DP or greedy] board)
- Using computed in uni app solves the abnormal display of data () value in tab switching
猜你喜欢
Getting started with QT - making a simple calculator
[development environment] Dell computer system reinstallation (download Dell OS recovery tool | use Dell OS recovery tool to make USB flash disk system | install system)
QT new project
Who is better, Qianyuan projection Xiaoming Q1 pro or Jimi new play? Which configuration is higher than haqu K1?
<口算練習機 方案開發原理圖>口算練習機/口算寶/兒童數學寶/兒童計算器 LCD液晶顯示驅動IC-VK1621B,提供技術支持
QT new project_ MyNotepad++
[document tree, setting] font becomes smaller
每日学习3
selenium 元素定位方法
Dangbei projection 4K laser projection X3 Pro received unanimous praise: 10000 yuan projector preferred
随机推荐
Generally speaking, if the error of inconsistent tab and space occurs frequently
The conference on the growth of all things was held in Hangzhou, and dangbei was selected into the top 100 list of future unicorns in China in 2022
C crystal report printing
[development environment] 010 editor tool (tool download | binary file analysis template template installation | shortcut key viewing and setting)
Origin绘制热重TG和微分热重DTG曲线
Origin plots thermogravimetric TG and differential thermogravimetric DTG curves
瀏覽器驅動的下載
selenium的特点
HMS core machine learning service helps zaful users to shop conveniently
NLA自然语言分析实现数据分析零门槛
Whole house Wi Fi: a pain point that no one can solve?
go操作redis
[usaco05jan]watchcow s (Euler loop)
Use of UIC in QT
P1908 reverse sequence pair
自定义事件,全局事件总线,消息订阅与发布,$nextTick
Openharmony notes --------- (4)
MySQL45讲——学习极客时间MySQL实战45讲笔记—— 04 | 深入浅出索引(上)
QT how to set fixed size
Multi rotor aircraft control using PID and LQR controllers