使用命令參考如下
pip install xxx -i https://xxxx
例如使用清華大學的源(https://pypi.tuna.tsinghua.edu.cn/simple) 安裝pandas庫
pip install pandas -i https://pypi.tuna.tsinghua.edu.cn/simple
國內的源:
清華大學:https://pypi.tuna.tsinghua.edu.cn/simple
中國科技大學:https://pypi.mirrors.ustc.edu.cn/simple/
阿里雲:http://mirrors.aliyun.com/pypi/simple/
參考:
https://blog.csdn.net/wukai0909/article/details/62427437