1、查看安装的包
(base) C:\Users\Administrator> conda list
2、查看安装的环境
(base) C:\Users\Administrator> conda info -e
3、创建新的环境
(base) C:\Users\Administrator> conda create -n env_name python=python_version
4、同时安装必要的包
(base) C:\Users\Administrator> conda create -n env_name numpy matplotlib python=2.7
5、激活某个环境
(base) C:\Users\Administrator> activate env_name
6、退出某个环境
(base) C:\Users\Administrator> deactivate
7、复制某个环境
(base) C:\Users\Administrator> conda create -n env_name --clone clone_env_name
8、删除某个环境
(base) C:\Users\Administrator> conda remove -n env_name --all
9、安装包
(base) C:\Users\Administrator> conda install package_name
or
(base) C:\Users\Administrator> conda install -n env_name package_name
10、移除包
(base) C:\Users\Administrator> conda remove package_name
or
(base) C:\Users\Administrator> conda remove -n env_name package_name
网友评论