[IPython-dev] Qt console broken in trunk?
benjaminrk at gmail.com
Wed Jan 26 19:09:11 EST 2011
What version of pyzmq do you have? If you are still using 2.0.9, then
that's before we made this addition (early October).
I realize that since IPython depends on 2.6, I can just import the (super
slow) builtin json module, rather than follow pyzmq's import preferences.
On Wed, Jan 26, 2011 at 16:00, Brian Granger <ellisonbg at gmail.com> wrote:
> This is actually an import from pyzmq:
> In : from zmq.utils import jsonapi as json
> In : json.__file__
> So it looks like something is odd with your pyzmq install...unless for
> some reason Python is putting the IPython directory in you sys.path
> so importing zmq picks up IPython.zmq instead of zmq (pyzmq). Can you
> look at your pyzmq install?
> On Wed, Jan 26, 2011 at 3:31 PM, Fernando Perez <fperez.net at gmail.com>
> > Hey guys,
> > as I was working on the 'asdf' bug I just posted about, I tried to use
> > the Qt console after updating my trunk, and got this:
> > (trunk)dreamweaver[ipython]> ipython-qtconsole
> > Traceback (most recent call last):
> > File "/home/fperez/usr/bin/ipython-qtconsole", line 4, in <module>
> > from IPython.frontend.qt.console.ipythonqt import main
> > File
> > line 17, in <module>
> > from IPython.frontend.qt.kernelmanager import QtKernelManager
> > File
> > line 9, in <module>
> > from IPython.zmq.kernelmanager import KernelManager, SubSocketChannel,
> > File "/home/fperez/ipython/ipython/IPython/zmq/kernelmanager.py",
> > line 36, in <module>
> > from session import Session, Message
> > File "/home/fperez/ipython/ipython/IPython/zmq/session.py", line 7,
> > in <module>
> > from zmq.utils import jsonapi as json
> > ImportError: No module named utils
> > Not sure when it broke, but I suspect the merge of the recent session
> > branch might have something to do with it.
> > Brian/Min, do you guys have an idea of what happened, maybe just a
> > file someone forgot to add from their local working tree?
> > Cheers,
> > f
> > _______________________________________________
> > IPython-dev mailing list
> > IPython-dev at scipy.org
> > http://mail.scipy.org/mailman/listinfo/ipython-dev
> Brian E. Granger, Ph.D.
> Assistant Professor of Physics
> Cal Poly State University, San Luis Obispo
> bgranger at calpoly.edu
> ellisonbg at gmail.com
> IPython-dev mailing list
> IPython-dev at scipy.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-dev