2013-07-09 208 views
1

在筆記本電腦上安裝python xy 2.7.5後,我嘗試啓動Spyder IDE。這產生了以下錯誤:Spyder/Pythonxy崩潰

 
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。

回答

2

這實際上是zeromq的最新版本的問題,它們是IPython需要的消息傳遞庫,而不是Spyder本身。最新的zeromq版本與Win XP不兼容。這是Win XP上最新版本的Python(x,y)的一個知識問題,可以通過遵循this bug report中的指導來解決。