为什么在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控制台”->“确定”。出现“创建交互式控制台”对话框,然后:
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
我的设置:
最佳答案
由于配置错误的代理设置而发生此错误,特别是代理异常(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/