python3.6.1安装PyQt5

总结下安装过程:
本人电脑及py环境:

  1. Python 3.6.1
  2. win7 64位[AMD64]

1. 安装SIP

    pip3 install SIP

2. 安装PyQt5

    pip3 install PyQt5

3. 安装PyQt5

    pip3 install pyqt5-tools

安装完pyqt5-tools目录下就有designer.exe了
这里写图片描述

4. 配置PyCharm

1.配置designer.exe启动
这里写图片描述
2.配置ui生成对应py文件
这里写图片描述

Parameters参数:

$FileName$ -o $FileNameWithoutExtension$.py

Working directory参数:

$FileDir$

猜你喜欢

转载自blog.csdn.net/zhe_ge_sha_shou/article/details/79855202