美文网首页
深度学习环境搭建(五)—— Anaconda安装

深度学习环境搭建(五)—— Anaconda安装

作者: YNWA_Liverpool | 来源:发表于2020-10-31 15:41 被阅读0次

Anaconda是一个开源的Python发行版本,里面包含了conda、Python、numpy、pandas等180多个科学包极其依赖项。

1. 确定Anaconda版本

Anaconda与Python对应版本
  • 这里推荐使用Python 3.7版本,对应的Anaconda版本为Anaconda3-5.3.0-Linux-x86_64.sh

2. 下载Anaconda

3. 安装Anaconda

  • 打开终端,执行以下命令:
sudo sh Anaconda3-5.3.0-Linux-x86_64.sh
  • 根据提示,按Enter继续向下安装:
dong@ynwa:~/Downloads$ sudo sh Anaconda3-5.3.0-Linux-x86_64.sh 

Welcome to Anaconda3 5.3.0

In order to continue the installation process, please review the license
agreement.
Please, press ENTER to continue
>>>
  • 阅读完注册信息,输入yes:
Do you accept the license terms? [yes|no]
[no] >>> Please answer 'yes' or 'no':'  
  • Enter进行安装:
Anaconda3 will now be installed into this location:
/home/dong/anaconda3

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

[/home/dong/anaconda3] >>>
  • 等待安装完成,出现是否加入环境变量时,输入yes:
Do you wish the installer to prepend the Anaconda3 install location to PATH 
in your /home/dong/.bashrc ? [yes|no]
>>>

4. 验证

  • 输入以下命令验证是否安装成功:
dong@ynwa:~$ conda -V
conda 4.5.11
dong@ynwa:~$

若出现以上信息,则说明安装成功。

相关文章

网友评论

      本文标题:深度学习环境搭建(五)—— Anaconda安装

      本文链接:https://www.haomeiwen.com/subject/dmpsvktx.html