服务器安装python3环境(Miniconda3)

Miniconda3自带pip 、conda 、python3

1如果不嫌慢直接

wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
sh Miniconda3-latest-Linux-x86_64.sh

如果嫌慢:
安装mwget

安装mwget 之后测试一下没问题就运行下载Miniconda3

mwget
出现此图安装成功
mwget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
sh Miniconda3-latest-Linux-x86_64.sh

2如果安装完输入 python3没用 请配置环境变量

一般情况目录为

/root/miniconda3/bin

修改环境变量方法

3测试 输入condapython3pip

测试成功

鸣谢 xxx,xxx

你可能感兴趣的:(服务器安装python3环境(Miniconda3))