提示:文章写完后,目录可以自动生成,如何生成可参考右边的帮助文档
前言
提示:这里可以添加本文要记录的大概内容:
例如:随着人工智能的不断发展,机器学习这门技术也越来越重要,很多人都开启了学习机器学习,本文就介绍了机器学习的基础内容。
一、镜像源
#清华镜像源
https://pypi.tuna.tsinghua.edu.cn/simple
豆瓣镜像源
http://pypi.douban.com/simple/
中国科学技术大学
http://pypi.mirrors.ustc.edu.cn/simple/
二、使用
1. 在pip install 安装包名称 -i 镜像源
代码如下(示例):
-i http://pypi.douban.com/simple/ --trusted-host=pypi.douban.com/simple
pip install mxnet-cu101 -i https://pypi.douban.com/simple
2. pip配置清华源
配置一次即可
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
3. 在conda中
#配置一次即可,下次使用不需再次配置:
# 使用清华 conda 镜像。
conda config --prepend channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
# 或者选用科大 conda 镜像。
conda config --prepend channels http://mirrors.ustc.edu.cn/anaconda/pkgs/free/
总结
提示:这里对文章进行总结: