从国内的源使用pip安装库,提高安装速度

使用命令参考如下

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

猜你喜欢

转载自blog.csdn.net/qq_37054356/article/details/87091926
今日推荐