Python环境配置(1):为anaconda包管理器conda,添加清华大学库源
2017-05-19 01:51
330 查看
当使用python科学计算环境anaconda时,我们有升级第三方库的需求。但由于网络原因,在使用conda更新库时,你会发现经常报错。因此,我打算更换国内的第三方库源。
搜索,编辑
在命令行,搜索
最后,你的
搜索,编辑.condarc
文件
在命令行,搜索.condarc文件,它一般是在登录系统用户的home文件夹下。在文件的
- defaults前,加上频道地址 https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
# cd /path/to/user # vim .condarc
最后,你的
.condarc文件应该是这样的
channels: - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ - defaults show_channel_urls: yes
验证
# conda upgrade --all
相关文章推荐
- 【网络爬虫】-WP0001-Anaconda_Python2_Python3_conda_Pip_pycharm环境配置
- 配置 Python的wxWidgets可视开发环境
- 在 IIS6.0 中配置 Python3.0 Web 运行环境
- windows下Python,wxPython,py2exe开发环境安装与配置
- fedora 14下配置python开发环境
- eclipse配置python(django)开发环境
- 使用websphere开发J2EE项目时,在服务器配置文件->“环境”->“类路径”中添加的ORACLE的JDBC文件classes12.zip文件是否有效呢?
- python_nltk_gae环境配置
- VC6.0中Python环境配置
- eclipse + Pydev 配置Python开发环境
- 自定义配置python 环境
- 配置 Python 可视开发环境
- eclipse中配置python开发环境
- Spring环境中支持多数据库源连接的配置及使用方法
- ubuntu下配置python开发环境(Eclipese+Pydev)
- EditPlus中配置python,lua环境
- windows环境下python web开发环境安装配置
- EditPlus开发python 编辑器环境的配置
- 配置Android开发环境常见错误解决办法(陆续添加)“your project contains error(s),please fix them before running your application”.
- vim python开发环境配置