linux安装Anaconda

在linunx下安装Anaconda,做个记录

下载安装Anaconda
下载地址:https://repo.continuum.io/archive/index.html
打开下载地址后,以Anaconda2开头的就是python2版本,以Anaconda3开头的就是python3版本
Anaconda3-2020.07-Linux-x86_64.sh

1.在终端输入,跳转到你想下载到的文件目录下,下载Anaconda3

wget https://repo.continuum.io/archive/Anaconda3-2020.07-Linux-x86_64.sh

2.下载完成以后,在终端当前目录下,输入:

bash Anaconda3-2020.07-Linux-x86_64.sh

3.开始安装

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

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

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

[/home/xh/anaconda3] >>> ENTER

Do you wish the installer to initialize Anaconda3
by running conda init? [yes|no]
[no] >>> yes

4.安装完成,cd到你安装Anaconda3 的目录下/home/xh/anaconda3,在终端输入:

conda -V

显示conda 4.8.3

分别输入python python2 python3,如图
在这里插入图片描述可以看到python2.7和python3.8都装上了

如果安装过程中出错问题,或者想更新另一个版本,删除anaconda也很方便,执行下面命令删除安装目录就行了
rm -rf /home/xh/anaconda3

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值