source ~/.bashrc
conda create -h
conda --version
conda update conda
conda info -e` `conda env list
conda create --name py27 python=2.7
通过克隆来复制一个环境。这儿将通过克隆snowfllakes来创建一个称为flowers的副本。 conda create -n flowers --clone snowflakes
conda create --name busind
conda env export > environment.yaml
conda env create -f environment.yaml
conda remove -n py274 --all
conda activate newname
conda deactivate
conda list
conda install --name newName beautifulsoup4
conda install--channel https://conda .anaconda.ort/pandas bottleneck
conda activate bunnies
pip install see
复制
conda config --add channels https://pypi.tuna.tsinghua.edu.cn/simple
conda config --show-sources
conda config --remove channels https://pypi.tuna.tsinghua.edu.cn/simple
conda config --set show_channel_urls yes
conda config --show
conda deactivate
conda config --set auto_activate_base false
conda config --set auto_activate_base true
清华镜像源地址
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/
# 下载时显示下载通道
conda config --set show_channel_urls yes
阿里云镜像源地址
conda config --add channels http://mirrors.aliyun.com/anaconda/pkgs/main
conda config --add channels http://mirrors.aliyun.com/anaconda/pkgs/r
conda config --add channels http://mirrors.aliyun.com/anaconda/pkgs/msys2
# 下载时显示下载通道
conda config --set show_channel_urls yes