pyqt5安装 - 使用国内镜像安装


使用国内镜像安装pyqt5 

转自:https://www.cnblogs.com/xiondun/p/12786106.html

pip install PyQt5 -i https://pypi.douban.com/simple

pip install PyQt5-tools -i https://pypi.douban.com/simple

1 pip 安装 pyqt5和pyqt5-tools

pip install pyqt5

pip install pyqt5-tools

2 新装电脑时感觉pip安装pyqt5和pyqt5-tools速度非常慢,推荐大家使用国内镜像源来进行安装。

目前国内比较好用的pypi源有:

http://mirrors.aliyun.com/pypi/simple/          阿里云

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/       清华大学

3 使用国内pypi源安装(以豆瓣为例)

pip install pyqt5 -i http://pypi.douban.com/simple/

pip install pyqt5-tools -i http://pypi.douban.com/simple/


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM