pwd
Print Working Directory 打印当前目录。cd [path]
Change Dir 改变当前目录。转移到正确安装目录,下载镜像源。
wget <https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda3-2023.03-Linux-x86_64.sh>
bash
(Shell)命令进行安装。
bash Anaconda3-2023.03-Linux-x86_64.sh
检查 conda
命令能不能用。记得初始化。
conda init
给 Anaconda 访问目录权限的命令。需要在 .conda 和 anaconda3 的父文件夹进行。
sudo chmod a+w .conda
sudo chmod a+w anaconda3
给 conda 安装 jupyter 和 jupyterlab。
conda install jupyterl
conda install jupyterlab
创建环境。
conda create -n ip102 python=3.9
重启 shell,进入环境。
conda activate ip102