spyder 2.2 fails to run on ubuntu13.04 (Qt4.10)

94 views
Skip to first unread message

jean-pat

unread,
Jun 17, 2013, 12:18:30 PM6/17/13
to spyd...@googlegroups.com
hello,

I can't run spyder 2.2 installed with easy_install, under ubuntu 13.04 (32bits). From a terminal, spyder failed to run with the message:

....
 from IPython.external.qt import QtCore, QtGui
  File "/usr/local/lib/python2.7/dist-packages/IPython/external/qt.py", line 53, in <module>
    raise ImportError("IPython requires PyQt4 >= 4.7, found %s"%QtCore.PYQT_VERSION_STR)
ImportError: IPython requires PyQt4 >= 4.7, found 4.10

Thanks for your advices.

Jean-Patrick

Jed Ludlow

unread,
Jun 17, 2013, 12:55:11 PM6/17/13
to spyd...@googlegroups.com
Hi, Jean-Patrick.

The failure you are seeing is actually related to IPython thinking that PyQt4 is at an incompatible version. This was a known IPython issue that should be fixed in the latest IPython releases:


Are you able to upgrade IPython? If not, rolling back PyQt to 4.8 or 4.9 would also be an option.

Cheers,

Jed 

Uwe Fechner

unread,
Jun 17, 2013, 12:57:52 PM6/17/13
to spyd...@googlegroups.com, Jed Ludlow
Hi,

to upgrade ipython try:

sudo easy_install -U ipython

Perhaps you need also:
sudo easy_install -U pyzmq

Uwe
--
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.
 
 

jean-pat

unread,
Jun 18, 2013, 3:07:01 AM6/18/13
to spyd...@googlegroups.com
upgrading ipython with sudo easy_install -U ipython fixed the problem.

thanks to all

Jean-Patrick

Sylvain Corlay

unread,
Jun 18, 2013, 5:52:22 PM6/18/13
to spyd...@googlegroups.com
Hi Jean-Patrick, 
Another workable solution for ubuntu is to install the .deb packages from Debian sid. 
and 
Worked nicely for me on both ubuntu 12.04 and 13.04. 
Cheers, 

Jean-Patrick Pommier

unread,
Jun 19, 2013, 1:26:09 AM6/19/13
to spyd...@googlegroups.com
Hi Sylvain,
Thanks for the info.

By the way, the spyder icon is not correctly displayed in the dash. Once spyder run, its icon in the dash remains grey.


2013/6/18 Sylvain Corlay <sylvain...@gmail.com>
--
You received this message because you are subscribed to a topic in the Google Groups "spyder" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/spyderlib/Wg_JwmWL3_E/unsubscribe.
To unsubscribe from this group and all its topics, send an email to spyderlib+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages