ubuntu16.04安装anaocnda3

首先下载anaconda3的包,去这里下载:wget https://repo.continuum.io/archive/Anaconda3-2019.03-Linux-x86_64.sh

然后执行sh文件:bash Anaconda3-2019.03-Linux-x86_64.sh

接下来就根据提示按回车,属于yes

最后安装完成以后,如果输入python发现不是anaconda里的话,执行 vim ~/.bashrc

在最后一行加入:export PATH="/root/anaconda3/bin:$PATH"

(如果没有修改anaocnda的安装路径的话,就这样就行)

然后执行:source ~/.bashrc 使其生效

你可能感兴趣的:(python基础,ubuntu,anaconda3)