转自 http://blog.csdn.net/u012436149/article/details/66974668

windows

在 c:\user\username\pip\pip.ini中加入

[global]
index-url=http://mirrors.aliyun.com/pypi/simple
[install]
trusted-host=mirrors.aliyun.com
disable-pip-version-check = true
timeout =

需要创建pip文件夹与pip.ini文件

linux(ubuntu)

cd $HOME
mkdir .pip
cd .pip
sudo vim pip.conf

在里面添加

[global]
index-url = https://pypi.doubanio.com/simple/
[install]
trusted-host=pypi.doubanio.com
disable-pip-version-check = true
timeout =

保存即可

更改anaconda源

conda config --add channels 'https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/'
conda config --set show_channel_urls yes

最新文章

  1. requirejs:模块加载(require)及定义(define)时的路径小结
  2. HTTP 错误500.19 -Internal Server Error 错误代码 0x80070021
  3. Fraction to Recurring Decimal
  4. 受限玻尔兹曼机(RBM)学习笔记(五)梯度计算公式
  5. winform学习之-----页面设计-20160523
  6. [示例]NSEnumerator-使用枚举类型实现数组的逆序输出
  7. C++例题练习(1)
  8. [cocos2d]调用sqlite3数据库
  9. [ActiveX]使用VS2010创建MFC ActiveX工程项目
  10. unisound_asr 云知声 语音识别 python版接口
  11. 初探Electron
  12. 记录python接口自动化测试--把操作excel文件的方法封装起来(第五目)
  13. html5中viewport与meta详解
  14. IDEA基于Maven Struts2搭建配置及示例
  15. 第三百六十四节,Python分布式爬虫打造搜索引擎Scrapy精讲—elasticsearch(搜索引擎)的mapping映射管理
  16. 剑指offer 08跳台阶
  17. oracle 表的创建与管理 约束
  18. CMMI管理体系
  19. Easy install ryu
  20. jsp页面都放在web-inf下面说是要防止用户直接访问jsp页面,为么不能直接访问jsp

热门文章

  1. Linux运维命令笔记一
  2. 每天一点点之 taro 框架开发 - taro静态资源引入
  3. 每天一点点之laravel框架开发 - API通过access_token获取用户id报 Unauthenticated. 错误(passport)
  4. 【Java Spring 进阶之路 】1.Spring 是什么?
  5. 后端使用aes 加密
  6. Eclipse反编译插件jad的安装
  7. GitHub 网站上不去/加载慢/加载不全 解决办法
  8. MAT工具在MacBook的安装
  9. Alpha版(内部测试版发布)
  10. 微服务基础——厉害了!API网关