Miniconda配置——conda虚拟环境的日常使用

安装

wget -c https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
chmod +x Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh  # 记住更新PATH到~/.bashrc时选no

Conda、CUDA等软件一般装在 home//local 中。

使用尖括号<>圈起来的部分需要自行替换(包括尖括号本身)。

防止conda污染原本的环境,一定一定一定要记住,不要把conda加到环境变量里。

如果之后我们要启动conda,我们可以用如下命令:

source <path_to_your_conda_installation>/bin/activate  # 默认进入base
source <

你可能感兴趣的:(Ubuntu环境配置,软件配置)