0%
  
    
  
  
  
  
    
    
      
      
    
    
      
      
    
    
      
      
    
      
    
    
    
    
        本文使用的conda版本是4.11.0
安装
去这个页面下载最新的miniconda
1 2 3 4 5 6
   | ./Miniconda3-latest-Linux-x86_64.sh
 
 
 
  conda config --set auto_activate_base false
   | 
 
配置源
1 2 3 4 5
   | conda config --add channels https://mirrors.aliyun.com/anaconda/pkgs/free/ conda config --add channels https://mirrors.aliyun.com/anaconda/pkgs/main/ conda config --add channels https://mirrors.aliyun.com/anaconda/pkgs/msys2/ conda config --add channels https://mirrors.aliyun.com/anaconda/pkgs/r/ conda config --set show_channel_urls yes
   | 
 
创建虚拟环境
1
   | conda create -n python2.7 python=2.7
   | 
 
启用虚拟环境
1
   | conda activate python2.7
   | 
 
退出虚拟环境
列出虚拟环境