- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ conda config —add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/ conda config —set show_channel_urls yes # 设置SSL验证 conda config —set ssl_verify yes # 查看镜像源 conda config —show-sources
">设置清华大学镜像源 conda config —add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ conda config —add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/ conda config —set show_channel_urls yes # 设置SSL验证 conda config —set ssl_verify yes # 查看镜像源 conda config —show-sources
设置清华大学镜像源 conda config —add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ conda config —add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/ conda config —set show_channel_urls yes # 设置SSL验证 conda config —set ssl_verify yes # 查看镜像源 conda config —show-sources
ip国内镜像源设置
国内热门镜像源
新版ubuntu要求使用https源,要注意。
清华: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/
Linux 环境
修改 ~/.pip/pip.conf
如果没有该文件,则新建一个对应的配置文件,添加如下配置
[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
[install]
trusted-host=mirrors.aliyun.com
Windows 环境
windows下,直接在user目录中创建一个pip目录,如:C:\Users\xx\pip
,新建文件pip.ini
[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
[install]
trusted-host=mirrors.aliyun.com
https://blog.csdn.net/weixin_36279318/article/details/79278403
https://github.com/amueller/word_cloud
https://blog.csdn.net/zhchs2012/article/details/79062632