码迷,mamicode.com
首页 > 其他好文 > 详细

ANACONDA 安装

时间:2020-01-02 22:46:13      阅读:122      评论:0      收藏:0      [点我收藏+]

标签:mina   bak   welcome   获得   cee   not   for   stat   tar   

一、 下载个anaconda。地址:https://www.continuum.io/downloads。下载Anaconda3-5.1.0-Linux-x86_64.sh,注:本机为64位系统。

二、上传Anaconda3-5.1.0-Linux-x86_64.sh至虚拟机centOS7的home目录下。

三、输入命令:bash Anaconda3-5.1.0-Linux-x86_64.sh

```

[root@vultr home]# bash Anaconda3-5.1.0-Linux-x86_64.sh

WARNING: bzip2 does not appear to be installed this may cause problems below

Welcome to Anaconda3 5.1.0

In order to continue the installation process, please review the license

agreement.

Please, press ENTER to continue

>>>

```

“回车”继续,然后窗口会出现一堆文字介绍License的,按“空格”往下翻。

```

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

[no] >>>

```

输入yes回车

```

Anaconda3 will now be installed into this location:

/root/anaconda3

  - Press ENTER to confirm the location

  - Press CTRL-C to abort the installation

  - Or specify a different location below

[/root/anaconda3] >>>

```

回车,默认路径。结果出错bunzip2: command not found

```

[/root/anaconda3] >>>

PREFIX=/root/anaconda3

Anaconda3-5.1.0-Linux-x86_64.sh: line 350: bunzip2: command not found

tar: This does not look like a tar archive

tar: Exiting with failure status due to previous errors

```

安装bunzip2解决```yum install -y bzip2```,按照前面的步骤重新安装anaconda3。

```

installation finished.

Do you wish the installer to prepend the Anaconda3 install location

to PATH in your /root/.bashrc ? [yes|no]

[no] >>>

```

输入yes

```

Appending source /root/anaconda3/bin/activate to /root/.bashrc

A backup will be made to: /root/.bashrc-anaconda3.bak

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

Thank you for installing Anaconda3!

```

Anaconda3安装成功

但仍会询问是否安装VSCode,输入no即可。

```

Do you wish to proceed with the installation of Microsoft VSCode? [yes|no]

>>>

```

输入no

最后,记得生效.bashrc文件

```source ~/.bashrc```

安装结束



作者:young0898
链接:https://www.jianshu.com/p/8cc1aa1d6bc6
来源:简书
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。  

ANACONDA 安装

标签:mina   bak   welcome   获得   cee   not   for   stat   tar   

原文地址:https://www.cnblogs.com/qj696/p/12141926.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!