服务器的系统是Centos7,上面的python是自带的python2.7,我需要用的是python3,所以安装anaconda。
1.下载安装包
命令:
wget https://repo.continuum.io/archive/Anaconda3-5.2.0-Linux-x86_64.sh
提示 -bash:wget command not found,表示系统中没有安装wget软件包。
继而通过命令:yum -y install wget 安装wget
Wget安装成功后,重新运行命令下载安装包:
wget https://repo.continuum.io/archive/Anaconda3-5.2.0-Linux-x86_64.sh
2.安装
命令:sh Anaconda3-5.2.0-Linux-x86_64.sh
一路enter 和 yes
报错:
Anaconda3-5.2.0-Linux-x86_64.sh: line 350: bunzip2: command not found
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors