您的位置:首页 > 编程语言 > Python开发

Ubuntu16.04安装Anaconda3 Python3.6

2018-07-17 23:07 204 查看

1.百度搜索“Anaconda",进入官网,在首页选择”Linux“版本,然后下载Python3.6的.sh文件。

2.执行下面的命令

[code]bash Anaconda3-5.2.0-Linux-x86_64.sh

3.一路疯狂按”Enter“直到询问"yes/no“,输入yes

4.接下来出现,PREFIX=/home/your/path

[code]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文件。

[code]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。

阅读更多
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: