大佬教程收集整理的这篇文章主要介绍了windows环境下 更换pip镜像源,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
windows 环境下 更换pip镜像(从国外源更新为国内源)
第一步: 在C:\Users\Administrator 目录下 创建pip文件
[global]
index-url = http://mirrors.aliyun.com/pypi/simple/
[install]
trusted-host = mirrors.aliyun.com
第四步:保存后测试-成功
pip install sklearn
附录:
常见国内镜像源
(1)阿里云 http://mirrors.aliyun.com/pypi/simple/(2)豆瓣http://pypi.douban.com/simple/(3)清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/(4)中国科学技术大学 http://pypi.mirrorS.Ustc.edu.cn/simple/(5)华中科技大学http://pypi.hustunique.com/原文:https://blog.csdn.net/sinat_21591675/article/details/82770360
以上是大佬教程为你收集整理的windows环境下 更换pip镜像源全部内容,希望文章能够帮你解决windows环境下 更换pip镜像源所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。