python使用pyqt时导入错误!!
ImportError:CouldnotloadrequestedQtbinding.PleaseensurethatPyQt4>=4.7,PyQt5orPySide>=...
ImportError:
Could not load requested Qt binding. Please ensure that
PyQt4 >= 4.7, PyQt5 or PySide >= 1.0.3 is available,
and only one is imported per session.
Currently-imported Qt library: 'pyqtv1'
PyQt4 installed: True
PyQt5 installed: False
PySide >= 1.0.3 installed: True
Tried to load: ['pyqt']
windows系统有谁知道怎么解决吗
应该是这一行语句产生的问题:
from IPython.qt.console.rich_ipython_widget import RichIPythonWidget 展开
Could not load requested Qt binding. Please ensure that
PyQt4 >= 4.7, PyQt5 or PySide >= 1.0.3 is available,
and only one is imported per session.
Currently-imported Qt library: 'pyqtv1'
PyQt4 installed: True
PyQt5 installed: False
PySide >= 1.0.3 installed: True
Tried to load: ['pyqt']
windows系统有谁知道怎么解决吗
应该是这一行语句产生的问题:
from IPython.qt.console.rich_ipython_widget import RichIPythonWidget 展开
1个回答
2015-12-02
展开全部
方法一
from PyQt4 import *
app = PyQt4.QtGui.QApplication(sys.argv)
from PyQt4 import *
app = PyQt4.QtGui.QApplication(sys.argv)
本回答被提问者和网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询