今天下载机器学习中用到的模型函数包sklearn,结果在setting里下载的速度真的慢的离谱,于是就想试着用国内的镜像源下载。
首先举几个国内的镜像源目录:
清华:https://pypi.tuna.tsinghua.edu.cn/simple
阿里云:http://mirrors.aliyun.com/pypi/simple/
中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/
华中理工大学:http://pypi.hustunique.com/
山东理工大学:http://pypi.sdutlinux.org/
豆瓣:http://pypi.douban.com/simple/
(前阵子好像听说清华的用不了了,所以直接用的阿里云的镜像源)
步骤如下:
1.点击pycharm的文件中的setting(设置)
2.点击项目里的interpreter
3.点击添加按钮
4.点击Manage按钮