[英]Troubles installing PyQt4
I'm following this guide. 我正在遵循本指南。
I followed the instructions on that guide, but when I tried to test it ( from PyQt4.Qt install *
), it said the module didn't exist. 我按照该指南上的说明进行操作,但是当我尝试对其进行测试(
from PyQt4.Qt install *
)时,它说该模块不存在。 I checked all the files that guide said should exist, and none of them existed. 我检查了所有指南说应该存在的文件,但都不存在。
What should I do? 我该怎么办?
Oh: 哦:
sip installed fine. SIP安装好。
from sip import *
didn't yield errors, print(SIP_VERSION_STR)
output 4.10-snapshot-20091204
. from sip import *
没有产生错误, print(SIP_VERSION_STR)
输出4.10-snapshot-20091204
。
There is pre-built version already, why you still need to build yourself? 已经有预建版本,为什么还需要自己构建?
http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-Py3.1-gpl-4.6.2-2.exe http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-Py3.1-gpl-4.6.2-2.exe
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.