pip国内镜像源

pip国内镜像源

更多文章欢迎访问个人博客 www.herobin.top

pip使用国内镜像 提升下载速度和安装成功率

国内源

临时使用:

可以在使用pip的时候加参数-i https://pypi.tuna.tsinghua.edu.cn/simple

例如:

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pyspider

这样就会从清华这边的镜像去安装pyspider库

猜你喜欢

转载自blog.csdn.net/qq_24095055/article/details/86655475