Ubuntu16.04——Anaconda3安装

1.进入Anaconda官网,复制Anaconda3下载链接地址。
https://repo.continum.io/archive/Anaconda3-5.1.0-Linux-x86_64.sh
2.进入终端输入命令:
wget https://repo.continum.io/archive/Anaconda3-5.1.0-Linux-x86_64.sh
等待下载。
3.输入命令:
bash Anaconda3-5.1.0-Linux-x86_64.sh -b
其中-b指的是batch,即批次安装,会自动省略阅读License条款,自动安装到/home/【用户名】/Anaconda3路径
4.加入Anaconda路径
输入:sudo gedit ~/.bashrc 打开配置文件
加入如下路径:
export PATH=/home/用户名/anaconda3/bin:$PATH
export ANACONDA_PATH=/home/用户名/anaconda3
保存后关闭文件
输入命令:source ~/.bashrc让用户环境变量的设置生效(也可以重启)

猜你喜欢

转载自blog.csdn.net/qq_38628350/article/details/79960215
今日推荐