服务器Ubuntu18.04 Anaconda安装

1.选择Anaconda版本下载

         Anaconda3-2021.05-Linux-x86_64.sh

         https://repo.anaconda.com/archive/

2.安装

./Anaconda3-2021.05-Linux-x86_64.sh

Welcome to Anaconda3 2021.05

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

agreement.

Please, press ENTER to continue

>>>

        Enter

You acknowledge that, as between you and Anaconda, Anaconda owns all right, title, and interest, including all intellectual property rights,

 in and to Anaconda Individual Edition and, with respect to third-party products distributed with or through Anaconda Individual Edition, th

e applicable third-party licensors own all right, title and interest, including all intellectual property rights, in and to such products. I

f you send or transmit any communications or materials to Anaconda suggesting or recommending changes to the software or documentation, incl

uding without limitation, new features or functionality relating thereto, or any comments, questions, suggestions or the like ("Feedback"),

Anaconda is free to use such Feedback. You hereby assign to Anaconda all right, title, and interest in, and Anaconda is free to use, without

 any attribution or compensation to any party, any ideas, know-how, concepts, techniques or other intellectual property rights contained in

the Feedback, for any purpose whatsoever, although Anaconda is not required to use any Feedback.

--More--

        Enter到结束

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

[no] >>> yes

        yes

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

  - Press ENTER to confirm the location

  - Press CTRL-C to abort the installation

  - Or specify a different location below

[/home/xxxxx/anaconda3] >>>

        Enter

installation finished.

Do you wish the installer to initialize Anaconda3

by running conda init? [yes|no]

[no] >>> yes

        初始化出错了(啊啊啊)

./Anaconda3-2021.05-Linux-x86_64.sh: 463: ./Anaconda3-2021.05-Linux-x86_64.sh: [[: not found

手动配置环境

vim .bashrc

最后一行加入

export PATH=/home/xxxxxx/anaconda3/bin:$PATH

保存退出

环境变量生效

source ~/.bashrc

3.检查安装成功

conda -V

conda 4.10.1

conda list

         安装成功

4.建立anaconda环境

conda create -n xxx python=3.6   #建立名字为xxx的python 3.6环境
conda activate xxx               #激活xxx环境
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值