ipython/ipython — Issue #1180: Can't start IPython kernel in Spyder
Author: bgbg
Created: 2011-12-19 08:19:46+00:00
State: open

Spyder (http://code.google.com/p/spyderlib/) is a powerful interactive Python development environment. Starting IPython kernel withing Spyder results in the following error messages:

[IPKernelApp] To connect another client to this kernel, use:
[IPKernelApp] --existing kernel-6636.json
[IPKernelApp] Pylab initialization failed
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\ipython-0.12.rc1-py2.7.egg\IPython\zmq\ipkernel.py", line 595, in init_kernel
shell.enable_pylab(gui, import_all=self.pylab_import_all)
File "C:\Python27\lib\site-packages\ipython-0.12.rc1-py2.7.egg\IPython\core\interactiveshell.py", line 2607, in enable_pylab
self.enable_gui(gui)
File "C:\Python27\lib\site-packages\ipython-0.12.rc1-py2.7.egg\IPython\zmq\eventloops.py", line 204, in enable_gui
if kernel.eventloop is not None and kernel.eventloop is not loop:
AttributeError: 'NoneType' object has no attribute 'eventloop'

The following link contains a discussion about this behaviour. It seems that the problem is within IPython