简体   繁体   English

Pycharm停止在远程解释器中工作

[英]Pycharm stopped working in remote interpreter

I have been using remote interpreter all the times before, but suddenly it shows failed error message: can't run python interpreter: error connecting to remote host: 我以前一直在使用远程解释器,但是突然它显示失败的错误消息:无法运行python解释器:连接到远程主机时出错:

I am using SFTP, and I have tried "Test SFTP connection", got success message with the same host. 我正在使用SFTP,并且尝试使用“测试SFTP连接”,并在同一主机上收到成功消息。

I am wondering how do I see verbose message in the remote debugging connection. 我想知道如何在远程调试连接中看到详细消息。

I am using PyCharm 2017.2 professional. 我正在使用PyCharm 2017.2专业版。

Solve the problem. 解决这个问题。 There are two places to edit the same remote interpreter. 有两个地方可以编辑同一个远程解释器。 One is from Default Setting-> Project Interpreter -> Setting Icon -> More -> edit icon , another is from Tools -> Deployment -> Configuration . 一个来自Default Setting-> Project Interpreter -> Setting Icon -> More -> edit icon ,另一个来自Tools -> Deployment -> Configuration The settings in both places need to be correct for the same remote interpreter. 对于同一远程解释器,两个地方的设置都必须正确。

For some reason, the password in my first location was cleared. 由于某种原因,我第一处的密码已被清除。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM