pyQt实战笔记第1篇 Win10系统PyQt5 开发环境搭建

安装python3

首先登陆python官网<u>https://www.python.org/downloads/release/python-372/</u>下载python安装程序。

在这里插入图片描述
在这里插入图片描述

在这里插入图片描述

安装PyQt5和PyQt5-tools

由于并未添加Scripts目录至环境变量,所以pip3命令不是在任何路径下都能够使用的,进入python的安装目录Scripts下,新建git bash here

在这里插入图片描述

pip3 install -i https://mirrors.aliyun.com/pypi/simple/ PyQt5
在这里插入图片描述

pip3 install -i https://mirrors.aliyun.com/pypi/simple/ PyQt5-tools
在这里插入图片描述

测试是否安装成功

以上步骤完成后,Scripts目录下新增了许多文件,找到designer.exe,并将其打开,将该文件生成桌面快捷方式,方便日后制作.ui文件。

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/weixin_42314225/article/details/86548320