当前位置:   article > 正文

pycharm 突然无法连接远程服务器_远程服务出现 error running 'train (1)' illegal char at i

远程服务出现 error running 'train (1)' illegal char at index 0: 9b403deb-3cb

具体报错如下:

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,重新设置远程解释器,代码同步服务,问题解决。

 

参考:

https://intellij-support.jetbrains.com/hc/en-us/community/posts/360004376340-Error-running-main-py-While-creating-remote-tunnel-for-SshjSshConnection

 

写给本就饱受代码折磨,现在pycharm还来踩一脚的我。。。。。

声明:本文内容由网友自发贡献,转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号