Cannot Launch Spyder on Windows XP

1,729 views
Skip to first unread message

Faizan Bari

unread,
Mar 22, 2012, 11:34:19 AM3/22/12
to spyder
After installation of spyder, IDE doesn't launch when I click on the
program. Anybody aware of any issues with the executable ?

Thanks for your help in advance.

Pierre Raybaut

unread,
Mar 26, 2012, 4:21:49 PM3/26/12
to spyd...@googlegroups.com
Please try to run Spyder from a terminal and post here the traceback
so we can understand what's going on.

On Windows:
* depending on your installation, simply opening a command window
and executing the command `spyder --debug` could work
* if it doesn't work, open a command window, change current
directory to Spyder's (default with Python 2.7:
C:\Python27\Lib\site-packages\spyderlib) and type `python spyder.py
--debug`

On Linux/MacOS:
* open a terminal
* type `spyder --debug`

-Pierre

> --
> You received this message because you are subscribed to the Google Groups "spyder" group.
> To post to this group, send email to spyd...@googlegroups.com.
> To unsubscribe from this group, send email to spyderlib+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/spyderlib?hl=en.
>

pblelloch

unread,
Mar 26, 2012, 4:58:13 PM3/26/12
to spyd...@googlegroups.com

I had a similar problem a few months ago.  Spyder ran fine on my desktop, but wouldn't run on a laptop; both running Windows NT.  In my case it turned out that it was the Virus program (FortiNet) that was doing it.  You could get it to work by defining an exception.  The laptop has since been updated to Windows 7 and the problem went away (even though it still has ForiNet on it).

 

-Paul Blelloch

aka...@fractalanalytics.com

unread,
Jun 26, 2013, 3:16:15 AM6/26/13
to spyd...@googlegroups.com
Hi Pierre,

I am facing the same problem. Python(x,y) home window appears but on clicking the spyder icon, it doesn't launch. Following is the traceback:

Traceback (most recent call last):
  File "spyder.py", line 112, in <module>
    from spyderlib.plugins.ipythonconsole import IPythonConsole
  File "C:\Python27\lib\site-packages\spyderlib\plugins\ipythonconsole.py", line
 31, in <module>
    from IPython.frontend.qt.kernelmanager import QtKernelManager
  File "C:\Python27\lib\site-packages\IPython\frontend\qt\kernelmanager.py", lin
e 9, in <module>
    from IPython.zmq.kernelmanager import KernelManager, SubSocketChannel, \
  File "C:\Python27\lib\site-packages\IPython\zmq\__init__.py", line 67, in <mod
ule>
    check_for_zmq('2.1.4')
  File "C:\Python27\lib\site-packages\IPython\zmq\__init__.py", line 51, in chec
k_for_zmq
    import zmq
  File "C:\Python27\lib\site-packages\zmq\__init__.py", line 35, in <module>
    _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] The specified procedure could not be found

I am using Windows XP. Please suggest what should I do so that Python(x,y) works properly.

Jed Ludlow

unread,
Jun 26, 2013, 11:14:03 PM6/26/13
to spyd...@googlegroups.com
On Wednesday, June 26, 2013 2:16:15 AM UTC-5, aka...@fractalanalytics.com wrote:
Hi Pierre,

I am facing the same problem. Python(x,y) home window appears but on clicking the spyder icon, it doesn't launch. Following is the traceback:

Traceback (most recent call last):
  File "spyder.py", line 112, in <module>
    from spyderlib.plugins.ipythonconsole import IPythonConsole
  File "C:\Python27\lib\site-packages\spyderlib\plugins\ipythonconsole.py", line
 31, in <module>
    from IPython.frontend.qt.kernelmanager import QtKernelManager
  File "C:\Python27\lib\site-packages\IPython\frontend\qt\kernelmanager.py", lin
e 9, in <module>
    from IPython.zmq.kernelmanager import KernelManager, SubSocketChannel, \
  File "C:\Python27\lib\site-packages\IPython\zmq\__init__.py", line 67, in <mod
ule>
    check_for_zmq('2.1.4')
  File "C:\Python27\lib\site-packages\IPython\zmq\__init__.py", line 51, in chec
k_for_zmq
    import zmq
  File "C:\Python27\lib\site-packages\zmq\__init__.py", line 35, in <module>
    _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] The specified procedure could not be found

I am using Windows XP. Please suggest what should I do so that Python(x,y) works properly.

It looks like a problem with your IPython installation rather than with Spyder. IPython is failing to find a required DLL for the zmq module. Does IPython run okay by itself if launched independent of Spyder?

Jed

Sol Simpson

unread,
Jun 27, 2013, 6:30:31 PM6/27/13
to spyd...@googlegroups.com
I am not sure if this is of any use or help, as the package in question is not the same, however it may be related.

PyTables uses the hdf5dll.dll, and the way that the hdfgroup has built the Windows binary for versions for hdf5dll.dll 1.8.10 causes pyTables to fail to load on Windows XP, while it runs fine on Windows 7 or 8. The error reported is that the hdf5dll.dll can not be found, even though it is in the path. This issue is also seen in WinPython 2.7.5 if the included PyTables 2.4.1 is used, which uses hdf5dll.dll 1.8.10, so it only works if using pyTables on Windows 7 or 8 . On XP the above mentioned error is reported. If the hdf5dll.dll is downgraded to 1.8.8 then everything works on XP as well as Windows 7.

So my bet is the the DLL that is trying to be loaded in this current issue likely has been built in a way that also causes it to only work on Win 7 and not XP, just as the latest hdf5dll.dll also only works with ctypes on a windows 7 and not XP.

Sorry I can not suggest how to fix the issue, but perhaps this info will help someone else be able to resolve the problem.

Sol.

Jed Ludlow

unread,
Jun 27, 2013, 11:58:39 PM6/27/13
to spyd...@googlegroups.com
It looks like it could be a more general issue with the Python(x,y) distribution. I would recommend moving the discussion to that forum:

aka...@fractalanalytics.com

unread,
Jun 28, 2013, 3:21:27 AM6/28/13
to spyd...@googlegroups.com
Hi,

I understand that Python(x,y) 2.7.5.0 is not able to run the dll file on Windows XP. Can you tell me any previous version which can work fine on Windows XP. Also, where can I get the installation file for that version?

Akash

Sylvain Corlay

unread,
Jul 3, 2013, 3:05:05 PM7/3/13
to spyd...@googlegroups.com
Hello everyone, 
A solution to this problem with python(x,y) is available there: https://code.google.com/p/pythonxy/issues/detail?id=670
Cheers, 
Sylvain

Sylvain Corlay

unread,
Jul 3, 2013, 3:07:07 PM7/3/13
to spyd...@googlegroups.com
(cf comment #5)

Carlos Córdoba

unread,
Jul 4, 2013, 1:19:02 PM7/4/13
to spyd...@googlegroups.com
Thanks Sylvain for keeping us posted. It seems Win XP is finally dying :-)

El 03/07/13 14:07, Sylvain Corlay escribió:
--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+...@googlegroups.com.

To post to this group, send email to spyd...@googlegroups.com.
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages