eclipse - Eclipse上的PyDev Jython交互式控制台无法创建

标签 eclipse pydev jython

为什么在Eclipse中调用我的Jython交互式控制台时无法创建?

按照Jython手册(http://www.jython.org/jythonbook/en/1.0/JythonIDE.html)中的“在IDE中使用Jython”的说明,在“测试”部分的“列出11-10”之前,我已经到达了,特别是:

First, click the right-most button on the console’s toolbar (you will recognize it as the one with a plus sign on its upper left-hand corner, which has the Open Console tip when you pass the mouse over it). From the menu, select PyDev Console. To the next dialog, answer Jython Console. After doing this you will get an interactive interpreter embedded on the IDE



我选择“打开控制台”->“PyDev控制台”->“Jython控制台”->“确定”。出现“创建交互式控制台”对话框,然后:
  • 完成大约1/10的操作并停止(我将其放置了一整夜,但早晨没有进展)
  • 完成并失败,并显示错误消息:

  • Error initializing console. Unexpected error connecting to console. Failed to recive suitable Hello response from pydevconsole. Last msg received: HTTP server returned unexpected status: null



    我的设置:
  • 操作系统:Windows XP
  • Eclipse:开普勒服务版本1
  • Jython:2.5.2
  • PyDev:3.0.0.201311051910
  • 最佳答案

    由于配置错误的代理设置而发生此错误,特别是代理异常(exception)不包括“localhost”和“127.0.0.1”。这导致从Eclipse通过本地主机向自身发出的请求通过代理转移,而代理和Eclipse都不满意。

    解决方案(在Windows XP中)是打开“Internet选项”->“连接”(选项卡)->“LAN设置”->“高级”,然后将localhost;127.0.0.1;添加到“异常(exception)”列表的开头。

    关于eclipse - Eclipse上的PyDev Jython交互式控制台无法创建,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20395750/

    相关文章:

    python - 设置 Pydev 交互式控制台的默认目录?

    jdbc - 杰森 zxJDBC : How to get a dictionary from a cursor?

    java - 如何在Eclipse中自定义并触发Java编译错误

    java - 使用 Maven 时如何更改 Eclipse 中的默认测试位置?

    python - 在 PyDev 编辑器中换行文本

    scripting - 从自定义对话框保存当前记录时出现问题

    web-applications - 如何分发我的 Jython war 中使用的库?

    eclipse - HTTP 状态 404 - 请求的资源 (/) 不可用

    android - 在 Android 应用程序项目中包含其他 Eclipse 项目

    python - 如何在交互式控制台中使用 PyDev 用户命令