1.Anaconda3安装

  1. 查看有哪些版本
  2. https://www.anaconda.com/download/#linux
  3. 下载
  4. [root@test ~]# wget https://repo.continuum.io/archive/Anaconda3-5.2.0-Linux-x86_64.sh
  5. 安装
  6. [root@test ~]# chmod 777 Anaconda3-5.2.0-Linux-x86_64.sh
  7. [root@testwy-pythontraining data]# ./Anaconda3-5.2.0-Linux-x86_64.sh
  8. conda list查看安装了哪些包
  9. conda env list查看有哪些虚拟环境
  10. 查看版本
  11. [root@centos79-django-18250 ~]# conda -V
  12. 创建python3.7的环境
  13. [root@centos79-django-18250 ~]# conda create --name py37 python=3.7
  14. 进入python3.7环境
  15. [root@centos79-django-18250 ~]# source activate py37
  16. 退出python3.7环境
  17. (py37) [root@centos79-django-18250 ~]# conda deactivate
  18. 设置国内镜像命令
  19. > conda config --add channels https://mirrors.aliyun.com/anaconda/pkgs/free/