添加package搜索路径
conda config --apend channels conda-forge
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 install -c conda-forge -c pytorch3d pytorch3d
conda install -c conda-forge xxxxxx
————————————————
conda版本降级
conda install conda=4.6
conda虚拟环境激活
source ./anaconda3/etc/profile.d/conda.sh
conda actiavte 虚拟环境名称
conda安装包
conda install pip
pip install packages
或者
conda install packages
=====================================================
conda create environment
问题
Collecting package metadata (current_repodata.json): failed
Solving environment: failed
解决方法:
conda undate --all
恢复默认源:
conda config --remove-key channels
========================================
查看conda安装列表
conda list | grep cuda