Ubuntu 16.04 安装 Anaconda

前端之家收集整理的这篇文章主要介绍了Ubuntu 16.04 安装 Anaconda前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

1.下载(建议用迅雷下载比较快,然后复制到虚拟机上)

到官网http://continuum.io/downloads下载anaconda。

根据系统也python版本选择对应的安装包。

2.进入下载目录,打开终端,根据版本输入安装命令:

Python 3.6 version

bash Anaconda3-4.3.1-Linux-x86_64.sh

Python 2.7 version

bash Anaconda2-4.3.1-Linux-x86_64.sh
3.安装过程,一直回车即可,当遇到下面的选择,注意输入yes:
 Do you wish the installer to prepend the Anaconda2 install location
to PATH in your /home/gjq/.bashrc ? [yes|no]
[no] >>> yes
4.安装成功

For this change to become active,you have to open a new terminal.

Thank you for installing Anaconda2!

Share your notebooks and packages on Anaconda Cloud!
Sign up for free: https://anaconda.org

5.让.bashrc中添加的路径生效:
source ~/.bashrc
6.测试:

gjq@gjq-virtual-machine:~/Downloads$ python
Python 2.7.13 |Anaconda 4.3.1 (64-bit)| (default,Dec 20 2016,23:09:15)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux2
Type "help","copyright","credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://anaconda.org
>>>

出现Anaconda 表示安装成功了!
原文链接:https://www.f2er.com/ubuntu/353256.html

猜你在找的Ubuntu相关文章