方法一,:
使用國內鏡像安裝(命令安裝):
- 阿里雲:https://mirrors.aliyun.com/pypi/simple/
- 清華:https://pypi.tuna.tsinghua.edu.cn/simple
- 中國科技大學 https://pypi.mirrors.ustc.edu.cn/simple/
- 華中理工大學:http://pypi.hustunique.com/
- 山東理工大學:http://pypi.sdutlinux.org/
- 豆瓣:http://pypi.douban.com/simple/
pip3 install 庫名 鏡像網址
方法二:
pycharm安裝,更改安裝的網址
1:
2、將國內鏡像網址復制上去:
3、重啟或者刷新:
安裝時注意網址!