@songying
2020-04-30T15:37:26.000000Z
字数 795
阅读 1475
python
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/free/
conda config --set show_channel_urls yes
# 添加Anaconda的TUNA镜像
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
# 设置搜索时显示通道地址
conda config --set show_channel_urls yes
conda install package_name1,package_name2
指定版本安装:
conda install numpy=1.10
conda update package_name
conda upgrade --all # 升级所有的包
conda remove package_name
conda list
conda list -n python34 # 查看某个指定环境的已安装包
conda search search_term
conda create -n env_name list of packages
conda activate env_name
conda deactivate
conda env remove -n env_name
conda env list
conda env export > environment.yaml
conda env create -f environment.yaml