一、下载Anaconda3
下载的话可以使用官网下载也可以采用清华的源下载,我建议采用清华的源下载,因为速度比较快
wget https://repo.anaconda.com/archive/Anaconda3-2019.03-Linux-x86_64.sh
二、安装
执行 bash Anaconda3.5.2.0-Linux-x86_64.sh
如果出现这个错误则需要安装一下bunzip
yum install -y bzip2 然后重新 bash Anaconda3.5.2.0-Linux-x86_64.sh
最后需要写一个配置文件
vim /root/.bashrc
export PATH="/root/anaconda3/bin:$PATH"
(如何进入编辑模式/保存退出,请自行搜索)
然后 source ~/.bashrc 激活配置文件 输入 python python又2.7变为3.6则安装成功、如下
输入conda list 就可以把所有安装的库文件都列出来
至此我们的anaconda就安装成功了!
微信扫描下方的二维码阅读本文