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/

posted @ 2020-08-19 14:25  Laney_Sun  阅读(1953)  评论(0编辑  收藏  举报