segrest / pythonxy

Automatically exported from code.google.com/p/pythonxy
0 stars 0 forks source link

ipython with Qt gui prevents import of PyQt4 #777

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This is for version 2.7.10.0 of python XY
Tested with a Full install, default directories (C:\Python27), all users (as 
administrator), on windows 7 (64 bit).

Running the "IPython (Qt)" interactive console then trying:
 import PyQt4

fails with:

ImportError:
    Importing PyQt4 disabled by IPython, which has
    already imported an Incompatible QT Binding: pyqtv1

But it should work. IPython already loaded it.

The problem is with ipython 2.4.1. It exists on other architectures (linux).
I had the same problem on fedora 21. Here is that bug report and it includes 
links to the fix (either upgrade to 3.0 or backport a small change):
  https://bugzilla.redhat.com/show_bug.cgi?id=1219997

Original issue reported on code.google.com by Christia...@gmail.com on 7 Jul 2015 at 11:17