Skip to main content
 首页 » 编程设计

python之PyDev 交互式控制台未启动

2025年04月02日11mfryf

当我尝试在 Eclipse PyDev 中启动交互式控制台时,出现以下错误:

'Create Interactive Console' has encountered a problem.

Error Initialising console.

Error initializing console. Unexpected error connecting to console. Failed to recive suitable Hello response from pydevconsole. Last msg received: Console already exited with value: 1 while waiting for an answer.

我已经尝试了以下其他人针对类似问题给出的解决方案,但无济于事:

PyDev interactive console

PyDev interactive console

Pydev: error initializing console

Error during runfile in Eclipse with PyDev/ error initializing console

我以前使用过 PyDev,但我不得不将我的 python 从 Python 2.7 32 位升级到 Python 2.7 64 位才能使用同事开发的库。我知道我的 Python 不是问题,因为这个库在通用 Python shell 中运行良好,我的 interpreter configuration settings...? 是不是出了什么问题?

我也尝试过明显的删除并重新配置同一个解释器,但也没有用。我的想法用完了,但我真的很喜欢使用 PyDev 的环境,所以任何帮助 - 将不胜感激!

请您参考如下方法:

我的解决方案是更改网络设置,如此答案(您已链接)所示: PyDev interactive console

In Eclipse under Window/Preferences/General/Network Connections:

--> set Active Provider: Manual

--> check in the box "Proxy bypass" if localhost and 127.0.0.1 are checked