linux 一键安装 conda
下载 Miniconda 安装脚本:
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh运行安装脚本:
bash Miniconda3-latest-Linux-x86_64.sh按照提示完成安装。
初始化 Conda:
source ~/miniconda3/etc/profile.d/conda.sh source ~/.bashrc创建一个新的环境并安装 Python 3.9:
conda create -n py39 python=3.9激活新环境:
conda activate py39验证 Python 版本:
python --version
Last updated