[IPython-User] Ipython notebook error : websocket closed

Abhishek Pratap apratap@lbl....
Tue Mar 20 15:39:20 CDT 2012


So this problem goes away on latest version of firefox.

However I get another error mainly unable to do inline plots.  Is this
library required ?


-Abhi

CMD: ipython notebook --pylab=inline

Error:

  File "/house/homedirs/a/apratap/.local/lib/python2.7/site-packages/IPython/zmq/ipkernel.py",
line 595, in init_kernel
    shell.enable_pylab(gui, import_all=self.pylab_import_all)
  File "/house/homedirs/a/apratap/.local/lib/python2.7/site-packages/IPython/core/interactiveshell.py",
line 2607, in enable_pylab
    gui = pylab_activate(ns, gui, import_all, self)
  File "/house/homedirs/a/apratap/.local/lib/python2.7/site-packages/IPython/core/pylabtools.py",
line 330, in pylab_activate
    activate_matplotlib(backend)
  File "/house/homedirs/a/apratap/.local/lib/python2.7/site-packages/IPython/core/pylabtools.py",
line 223, in activate_matplotlib
    import matplotlib.pylab as pylab
  File "/jgi/tools/misc_software/python/2.7/lib/python2.7/site-packages/matplotlib/pylab.py",
line 221, in <module>
    from matplotlib import mpl  # pulls in most modules
  File "/jgi/tools/misc_software/python/2.7/lib/python2.7/site-packages/matplotlib/mpl.py",
line 2, in <module>
    from matplotlib import axis
  File "/jgi/tools/misc_software/python/2.7/lib/python2.7/site-packages/matplotlib/axis.py",
line 10, in <module>
    import matplotlib.font_manager as font_manager
  File "/jgi/tools/misc_software/python/2.7/lib/python2.7/site-packages/matplotlib/font_manager.py",
line 52, in <module>
    from matplotlib import ft2font
ImportError: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not
found (required by
/jgi/tools/misc_software/python/2.7/lib/python2.7/site-packages/matplotlib/ft2font.so)




On Tue, Mar 13, 2012 at 11:59 PM, Fernando Perez <fperez.net@gmail.com> wrote:
> On Tue, Mar 13, 2012 at 5:45 PM, Thomas Kluyver <takowl@gmail.com> wrote:
>>
>> That should be OK. Do you see any errors at the terminal where you started
>> the notebook?
>
> Mmh, I don't recall the whole combination of websocket protocol
> changes, tornado and  browser version numbers, but it's possible this
> might be an issue.  Can the OP test with a newer chrome or firefox?
>
> Cheers,
>
> f
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user


More information about the IPython-User mailing list