Spyder 2.1.1 with the Enthought Python Distribution

76 views
Skip to first unread message

Michael Anselmi

unread,
Nov 4, 2011, 5:57:03 PM11/4/11
to spyd...@googlegroups.com
Hello,

I am trying to use Spyder (version 2.1.1) in conjunction with the Enthought Python Distribution (version 7.1-2) on an Ubuntu 11.10 system, and am having some trouble.

EPD's python binary comes before the system's python binary in $PATH, which is what I want.  I run `python setup.py install' in the spyder source directory, and see that spyder is installed in the correct location.  However when running `spyder' from the command line, I receive the following error message:

Cannot mix incompatible Qt library (version 0x40704) with this library (version 0x40703)
Aborted

Is there any way to work around this?

Regards,
Mike

Pierre Raybaut

unread,
Nov 5, 2011, 4:27:35 AM11/5/11
to spyd...@googlegroups.com
Hi,

That's probably a conflict between PySide and PyQt.

Would you please try to set the 'QT_API' environment variable to
'pyqt' or to 'pyside' to see what happens?

HTH,
Pierre

2011/11/4 Michael Anselmi <selm...@gmail.com>:

> --
> You received this message because you are subscribed to the Google Groups
> "spyder" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/spyderlib/-/I6-H3ocyohkJ.
> 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.
>

Michael Anselmi

unread,
Nov 5, 2011, 9:19:28 AM11/5/11
to spyd...@googlegroups.com
Hi,

Thanks for replying. I tried setting `QT_API' to both values, and
neither worked.

$ export QT_API=pyqt
$ echo $QT_API
pyqt
$ spyder


Cannot mix incompatible Qt library (version 0x40704) with this library
(version 0x40703)
Aborted

$ export QT_API=pyside
$ echo $QT_API
pyside
$ spyder


Cannot mix incompatible Qt library (version 0x40704) with this library
(version 0x40703)
Aborted

Mike

Reply all
Reply to author
Forward
0 new messages