Public bug reported:

Binary package hint: python-qt4

Just start up python and type:

>>> from PyQt4.Qt import *

You will get an ImportError because QtOpenGL is not installed by
default.

The solution is to wrap each individual import in a try...except block and 
import whatever is available.
(Of course users should import the PyQt4 libraries individually, but that's 
another story.)

** Affects: python-qt4 (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
from PyQt4.Qt import * fails due to a packaging error
https://bugs.launchpad.net/bugs/113390
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to