在我的笔记本电脑上安装python xy 2.7.5后,我尝试启动Spyder IDE。这产生了以下错误:
C:\Python27\Scripts>spyder.exe Traceback (most recent call last): File "C:\Python27\Scripts\spyder-script.py", line 9, in load_entry_point('spyder==2.2.0', 'console_scripts', 'spyder')() File "C:\Python27\lib\site-packages\spyderlib\start_app.py", line 72, in main from spyderlib import spyder File "C:\Python27\lib\site-packages\spyderlib\spyder.py", line 112, in from spyderlib.plugins.ipythonconsole import IPythonConsole File "C:\Python27\lib\site-packages\spyderlib\plugins\ipythonconsole.py", line 31, in from IPython.frontend.qt.kernelmanager import QtKernelManager File "C:\Python27\lib\site-packages\IPython\frontend\qt\kernelmanager.py", line 9, in from IPython.zmq.kernelmanager import KernelManager, SubSocketChannel, \ File "C:\Python27\lib\site-packages\IPython\zmq\__init__.py", line 67, in check_for_zmq('2.1.4') File "C:\Python27\lib\site-packages\IPython\zmq\__init__.py", line 51, in check_for_zmq import zmq File "C:\Python27\lib\site-packages\zmq\__init__.py", line 35, in _libzmq = ctypes.CDLL(bundled[0], mode=ctypes.RTLD_GLOBAL) File "C:\Python27\lib\ctypes\__init__.py", line 365, in __init__ self._handle = _dlopen(self._name, mode) WindowsError: [Error 127] Die angegebene Prozedur wurde nicht gefunden
使用python控制台,我能够运行python代码以及matplotlib和numpy代码。 Ipython工作,但Ipython(Qt)不起作用。这可能是什么原因?
主机操作系统是Windows XP。
答案 0 :(得分:2)
这实际上是zeromq最新版本的问题,它们是IPython所需的邮件库,而不是Spyder本身。最新的zeromq版本与Win XP不兼容。这是Win XP上最新版本的Python(x,y)的一个已知问题,可以通过遵循this bug report中的指导来解决。
答案 1 :(得分:0)