Anaconda配置多个python环境及常用命令

anaconda配置多个python环境

原文:Anaconda的基本操作​​​​​​​

(1)查看安装的包:conda list

(2)查看安装的环境:conda info -e

(3)创建新的环境:conda create -n env_name python=python_version

(4)激活某个环境:activate env_name (source activate env_name)

(5)退出某个环境:deactivate (source deactivate)

(6)复制某个环境:conda create -n env_name –clone clone_env_name

(7)删除某个环境:conda remove -n env_name –all

(8)安装包: 
conda install package_name or conda install -n env_name package_name

(9)移除包: 
conda remove package_name or conda remove -n env_name package_name

 

你可能感兴趣的:(Anaconda配置多个python环境及常用命令)