修改镜像源

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

  

使用 conda 命令工具

1> 搭建环境

(1) 基于python3.6版本创建一个名字为python36的环境
conda create --name python36 python=3.6 (2) 激活此环境
source activate python36 (3) 退出当前环境
deactivate python36 (4) 删除该环境
conda remove -n python36 --all

PS:可同时创建多个环境,查看所有激活的环境

conda info -e

2> 包管理

# 安装包
conda install requests # 查看已安装的包
conda list # 包更新
conda update requests # 删除包
conda remove requests

 

安装依赖

conda install --yes --file requirements.txt

  

233

最新文章

  1. html5+css+div随时笔记
  2. 教你如何塑造JavaScript牛逼形象
  3. ajax请求成功后新开窗口window.open()被拦截解决方法
  4. Python基础语法
  5. Oracle 数据库基础学习 (三) Oracle 四个表结构
  6. .net IL 指令速查
  7. UML精粹学习 - 订单类结构图
  8. c语言编程之队列(链表实现)
  9. 判断webpart类型 How can I tell what type a web part is?
  10. libc++abi.dylib: terminate_handler unexpectedly threw an exception错误小结
  11. 生活沉思录 via 哲理小故事(四)
  12. 提高Java代码质量的Eclipse插件之Checkstyle的使用详解
  13. CF 327E(Axis Walking-状态压缩Dp-lowbit的使用)
  14. leetcode342合理运用位操作判断4的幂
  15. FORM开发中Profiles的使用
  16. md5两次加密
  17. BBS论坛(十)
  18. .Net语言 APP开发平台——Smobiler学习日志:HoverBackColor属性的简单介绍
  19. 19.3.19 使用Flask框架搭建一个简易登录服务器
  20. springboot入门学习-helloworld实例

热门文章

  1. Django中cookie和session的操作
  2. jQuery (js 和 jQuery 的区别)
  3. 设置linux系统时间的方法
  4. Beginning Linux Programming 学习--chapter 17 Programming KDE using QT
  5. 通用mybatis单表操作接口
  6. Hystrix【入门】
  7. 《C++语言程序设计》初学者必备教材
  8. Spring的事件监听ApplicationListener
  9. linux之rename和mv的区别
  10. php 调用 webservice 中文乱码解决方案