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

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:~$

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

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

友情链接更多精彩内容