python2.7安装PyQt4 步骤

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了python2.7安装PyQt4 步骤相关的知识,希望对你有一定的参考价值。

1、请到pyqt的官网下载对应的pythone版本:

官网下载地址:https://sourceforge.net/projects/pyqt/rss?path=/

 

登录后如下图选择对应的版本号下载

技术分享

2、点击运行exe 程序,一直默认安装步骤即可

 

3、验证是否安装成功,进入cmd命令

C:\\Users\\Administrator>python Python 2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)] on wi n32 Type "help", "copyright", "credits" or "license" for more information. >>> import PyQt4 >>>

 

以上是关于python2.7安装PyQt4 步骤的主要内容,如果未能解决你的问题,请参考以下文章

Pyqt4+Eric6+python2.7.13(windows)

Python 2.7 无法导入 PyQt4

cx_Freeze: 'The system cannot find the file specified' during build [win10] [PyQt4] [python2.7] 错误

windows下安装PyQt4

windows下python2.7.14版本的安装

Windows10(64)+anaconda2(python2.7)安装xgboost详细步骤