去这里下载安装包
cd /home/ml/pycharm-2017.3.4/bin
./pycharm.sh
1、在pycharm中,安装过的包 显示没有这个包的解决方案 先
whereis python ## 查看python位置
然后参考:解决办法
3、关闭拼写检查
4、进入虚拟环境
将不想索引的文件夹设置为Excluded Folders即可
5个调试按钮:
Jumping to Cursor:If one would like to re-debug starting from a particular line, even if this line is located "up-stream", PyCharm provides such a possibility. Thus one will avoid the necessity to finalize debugging prior to re-debug
Root path 是远程服务器的工作路径
Web path 的设置,应该是用来配置网页上查看文件的服务,可以无视
选择解释器为远程的解释器, 通过Remote host查看远程主机上的文件
1. 通过Tools > Deployment > Configuration配置远程主机IP、Rootpath; 然后mapping设置本地文件夹(注意Deploy path on server 这里填写相对于root path的目录,注意两个路径连起来的文件夹要和本地文件夹对应上,绿色的部分表示是同步的。可以随时更改,注意点刷新图标)
如果你想看到更多的文件,就把root path 变短一点,比如, root path为/home/s/ml, Deployment path为/DIEM时可以看到
2、 通过settings > Projetc Interpreter > Project Interpreter > 小齿轮 > add remote(2018.1版本没有这个选项, BUG, 换成2017的就有了) > SSH Interpreter > 配置远程服务器的解释器
3、通过Tools > Deployment > Browst Remote Host 查看远程的文件, 点击文件并编辑, upload; 通过Tools > Deployment > Upload to 和download from 上传和下载文件
首先需要在Tools > Deployment > Mappings > 将对应的server设置为Use this server as default https://my.oschina.net/cerise/blog/886282
https://blog.csdn.net/luocheng7430/article/details/80373572
1 https://confluence.jetbrains.com/pages/viewpage.action?pageId=25788581 2 http://www.mamicode.com/info-detail-2208329.html