安装Anaconda3-201812详解

Anaconda指的是一个开源的Python发行版本,其包含了conda、Python等180多个科学包及其依赖项。  因为包含了大量的科学包,Anaconda 的下载文件比较大(约 531 MB),如果只需要某些包,或者需要节省带宽或存储空间,也可以使用Miniconda这个较小的发行版(仅包含conda和 Python)。

下载可以去官方下载不过有点慢,网址:https://www.anaconda.com/download/

也可以去这个网址:https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/ 下载比较快

把下载好的文件上传到目录/home/python/Anaconda3 下:

[python@master Anaconda3]$ sh Anaconda3-2018.12-Linux-x86_64.sh

Welcome to Anaconda3 2018.12

In order to continue the installation process, please review the license
agreement.
Please, press ENTER to continue
>>>

然后按Enter键

Do you accept the license terms? [yes|no]
[no] >>>

然后输入:yes再按Enter键就开始安装:

>>> yes

Anaconda3 will now be installed into this location:
/home/python/anaconda3

  - Press ENTER to confirm the location
  - Press CTRL-C to abort the installation
  - Or specify a different location below

[/home/python/anaconda3] >>>
PREFIX=/home/python/anaconda3
.......
installing: conda-build-3.17.6-py37_0 ...
installation finished.
Do you wish the installer to initialize Anaconda3
in your /home/python/.bashrc ? [yes|no]
[no] >>> yes

Initializing Anaconda3 in /home/python/.bashrc
A backup will be made to: /home/python/.bashrc-anaconda3.bak


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

Thank you for installing Anaconda3!
验证:

[python@master2 ~]$ anaconda -V
anaconda Command line client (version 1.7.2)
[python@master2 ~]$ conda -V
conda 4.5.12

完成

 

posted @ 2019-01-07 14:46  醉城、  阅读(4177)  评论(0编辑  收藏  举报