下载 | |
# uname -a Linux pc1-node1 4.4.0-186-generic #216-Ubuntu SMP Wed Jul 1 05:34:05 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux 我的系统是X86的,所以选择 Miniconda3-py38_4.11.0-Linux-x86_64.sh | |
上传文件到linux | |
复制到其他机器 | 因为我需要多台机器同时安装,所以需要复制。 这里按个人需要 我采用scp命令进行复制 scp -rq ./conda/ pc1-node2:$PWD/conda |
开始安装 | cd /usr/data2/program/conda chmod 777 ./* ./Miniconda3-py38_4.11.0-Linux-x86_64.sh 一直回车,然后看到 Do you accept the license terms? [yes|no] [no] >>> Please answer 'yes' or 'no':' yes 我这里需要更改安装路径,我输入指定路径/usr/data2/program/conda/miniconda3 初始化? installation finished. Do you wish the installer to initialize Miniconda3 by running conda init? [yes|no] [no] >>> 选yes ==> For changes to take effect, close and re-open your current shell. <== 安装完毕后,提示重新打开终端才生效 重新进入终端,看到默认启用了base了 conda已经接管系统的默认python环境了 |
检查conda安装 | 执行conda -V 看到版本,说明安装OK |
配置系统默认python环境 | 如果不需要conda默认接管系统python环境,则执行 conda config --set auto_activate_base false |
设置清华源 | |
miniconda安装-Linux
于 2022-05-26 01:34:02 首次发布