更改镜像源:
永久:pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
恢复:pip config set global.index-url

常用的国内源:

阿里云:http://mirrors.aliyun.com/pypi/simple/
中国科技大学:https://pypi.mirrors.ustc.edu.cn/simple/
豆瓣(douban):http://pypi.douban.com/simple/
清华大学:https://pypi.tuna.tsinghua.edu.cn/simple/
腾讯云镜像站点:https://mirrors.cloud.tencent.com/pypi/simple/
北京外国语大学开源软件镜像站点:https://mirrors.bfsu.edu.cn/pypi/web/simple/
华中科技大学镜像站点:https://mirrors.hust.edu.cn/pypi/web/simple/

 

Qt Designer安装
pip install pyqt5 pyqt5-tools
注意,此方法只能在Python3.9.x及以下版本使用,3.10版本将会报错,无法成功安装Qt Designer,如果要在3.10.x及以上版本安装Designer,可以使用以下命令
pip install pyqt5designer