1、安装pyqt5
2、安装pyqt5-tools
pip install pyqt5 -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install pyqt5-tools -i https://pypi.tuna.tsinghua.edu.cn/simple/
先安装pyqt5,再安装pyqt5 tools(有人这里说要先安装sip,pyqt5更新后sip已经再pyqt5中,不用单独安装)
这里提供一些国内较为好用的镜像网站
http://pypi.douban.com/simple/ 豆瓣
https://pypi.mirrors.ustc.edu.cn/simple/ 中国科技大学
http://pypi.mirrors.opencas.cn/simple/ 中科院
https://pypi.tuna.tsinghua.edu.cn/simple/ 清华大学
使用:
搜索找到Desigber.exe文件,双击打开
调整好后,保存的文件是.ui格式的,我们需要将他转换成.py格式的,才能在pycharm中使用
命令如下
pyuic5 -o test1.py untitled.ui



