1.百度搜索“Anaconda",进入官网,在首页选择”Linux“版本,然后下载Python3.6的.sh文件。
2.执行下面的命令
bash Anaconda3-5.2.0-Linux-x86_64.sh
3.一路疯狂按”Enter“直到询问"yes/no“,输入yes
4.接下来出现,PREFIX=/home/your/path
Anaconda3 will now be installed into this location:
/home/yrl/anaconda3
- Press ENTER to confirm the location
- Press CTRL-C to abort the installation
- Or specify a different location below
[/home/yrl/anaconda3] >>>
PREFIX=/home/yrl/anaconda3
5.安装成功后,添加路径到.bashrc,选择”yes“。记得如果不小心选了”no“(如下),要把后面”export...“添加到.bashrc文件。
installation finished.
Do you wish the installer to prepend the Anaconda3 install location
to PATH in your /home/yrl/.bashrc ? [yes|no]
[no] >>>
You may wish to edit your .bashrc to prepend the Anaconda3 install location to PATH:
export PATH=/home/yrl/anaconda3/bin:$PATH
Thank you for installing Anaconda3!
到此完成安装Anaconda3 --python=3.6。