1
我安装了python 2.7和pyqt4并下载了eric4 IDE,但无法安装它,因为它说我缺少pyqt4.qtcore。我该如何解决这个问题?我使用的是Windows 7安装pyqt IDE
这是控制台输出,当我尝试安装eric4:
C:\Users\username\Desktop\eric4-4.5.7>python install.py
Checking dependencies
Python Version: 2.6.5
Sorry, please install PyQt4.
Error: No module named PyQt4.QtCore
你是从Riverbank下载PyQt for Python 2.7的版本还是自己构建? http://www.riverbankcomputing.co.uk/software/pyqt/download – Andy
其中之一,你正在python-2.6.5下运行命令(参见上面的消息。我猜测你需要指定 – hd1
'sudo apt-get install python-qt4' – 2012-12-14 17:34:43