赞
踩
具体报错如下:
Error running 'train': While creating remote tunnel for SshjSshConnection(<crc32=zb65bg>@<crc32=1ljowo7>)@18ad558d: localhost:63342 <== localhost:63342
或者:
Error running 'train': Can't run remote python interpreter: Can't get remote credentials for deployment server zhangli@192.168.55.152:22
解决办法:
Delete ~/.pycharm_helpers from remote host, and kill all opened SSH sessions that may still run in the background or reboot the remote host and try again.
我的做法:删除远程服务器中用户目录下的~/.pycharm_helpers 文件夹,删除本机pycharm中的远程解释器,清空Deployment中所有代码同步服务。然后,再重启pycharm,重新设置远程解释器,代码同步服务,问题解决。
参考:
写给本就饱受代码折磨,现在pycharm还来踩一脚的我。。。。。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。