Conda 命令

创建环境

conda create --name test    创建默认python版本环境

conda create --name test python=3.5  创建默认python3.5版本环境

conda create --name your_env_name python=3.5 numpy scipy 创建带软件包

显示当前环境列表

conda info --envs
conda env list

进入环境

source activate test     LINUX
activate test            WINDOWS

复制环境

conda create --name test --clone test2

删除环境

conda remove --name test --all

显示所有环境的包

conda list

显示某个环境的包

conda list -n test

为某个环境安装包

conda install -n test numpy

使用 pip 安装包

activate test

pip install numpy

评论已关闭。