使用國內鏡像安裝pyqt5


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