一、问题
pycharm 的tools下没有deployment选项,无法进行远程执行。
二、前言
使用的pycharm版本
PyCharm 2019.3.2 (Community Edition)
Build #PC-193.6015.41, built on January 21, 2020
Runtime version: 11.0.5+10-b520.30 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.15.0-91-generic
GC: ParNew, ConcurrentMarkSweep
Memory: 953M
Cores: 8
Registry:
Non-Bundled Plugins:
三、解决方法
参考:https://intellij-support.jetbrains.com/hc/en-us/community/posts/206813085-Deployment-option-missing
方案一、该版本的pycharm不支持远程执行,改成professional版本的即可。
方案二、You can use External Tools with some custom tool that will perform the upload (command line FTP/SFTP/SCP client, rsync, etc) .https://www.jetbrains.com/idea/help/external-tools.html
pycharm下载地址
https://www.jetbrains.com/pycharm/download/#section=linux