【发布时间】:2012-10-18 06:56:37
【问题描述】:
在ubuntu上安装了python-qt4和pyqt4-dev-tools包
Python 2.6.6 (r266:84292, Sep 15 2010, 15:52:39)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from PyQt4 import QtGui
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
RuntimeError: the sip module implements API v8.0 but the PyQt4.QtGui module requires API v7.1
我应该怎么做才能让 PyQt4 正常工作?
【问题讨论】:
标签: ubuntu installation pyqt4