conda嘿嘿嘿

列举当前所有环境:

conda info --envs

创建环境:

conda create --name your_env_name python=3.5

进入某个环境:

source activate your_env_name

退出环境:

source deactivate

删除某个环境:

conda remove --name your_env_name --all

# 向当前环境安装包 

scipyconda install scipy

# 向当前环境安装包 scipy 并指定版本

conda install scipy=0.15.0

# 删除当前环境中的scipy包

conda remove scipy

ref:Conda常用命令整理 - Working. Playing. - CSDN博客

ref2:Anaconda - conda 常用命令 - tuzixini的博客 - CSDN博客

添加源:

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/

conda config --set show_channel_urls yes

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/menpo/

conda config --add channels

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。