ToB企服应用市场:ToB评测及商务社交产业平台

标题: Linux上Anaconda安装教程 [打印本页]

作者: 愛在花開的季節    时间: 2024-7-14 04:39
标题: Linux上Anaconda安装教程

本文作者: slience_me

Anaconda安装

在选择anaconda版本的时间,需要查看 Linux 系统的架构,可以利用 uname 命令。以下是查看系统架构的方法:
  1. uname -m
复制代码
运行上述命令后,系统将返回一个字符串,表示系统的架构。常见的架构包括:

例如,如果返回的是 x86_64,则表示你的系统是64位的 x86 架构。
例如,我的是下图所示:

在anaconda的 点击 下载链接, 选择对应的版本

ubuntu操作步骤
实验下面指令后,回车即可:
  1. [slience_me@VM-24-2-centos ~]$ bash Anaconda3-2023.09-0-Linux-x86_64.sh
  2. Welcome to Anaconda3 2023.09-0
  3. In order to continue the installation process, please review the license
  4. agreement.
  5. Please, press ENTER to continue
  6. >>>
复制代码
输入yes即可,同意该利用协议
  1. ==================================================
  2. End User License Agreement - Anaconda Distribution
  3. ==================================================
  4. Copyright 2015-2023, Anaconda, Inc.
  5. All rights reserved under the 3-clause BSD License:
  6. This End User License Agreement (the "Agreement") is a legal agreement between you and Anaconda, Inc. ("Anaconda") and governs your use of Anaconda Distribution (which was formerly known as Anaconda Individual Edition).
  7. ......
  8. Do you accept the license terms? [yes|no]
  9. [no] >>> yes
复制代码
选择安装的路径,直接回车就利用默认路径/home/slience_me/anaconda3
  1. Anaconda3 will now be installed into this location:
  2. /home/slience_me/anaconda3
  3.   - Press ENTER to confirm the location
  4.   - Press CTRL-C to abort the installation
  5.   - Or specify a different location below
  6. [/home/slience_me/anaconda3] >>>
  7. PREFIX=/home/slience_me/anaconda3
  8. Unpacking payload ...                              
  9. Installing base environment...
  10. Downloading and Extracting Packages
  11. Downloading and Extracting Packages
  12. Preparing transaction: done
  13. Executing transaction: \
  14.     Installed package of scikit-learn can be accelerated using scikit-learn-intelex.
  15.     More details are available here: https://intel.github.io/scikit-learn-intelex
  16.     For example:
  17.         $ conda install scikit-learn-intelex
  18.         $ python -m sklearnex my_application.py                                                                               done
  19. installation finished.
  20. Do you wish to update your shell profile to automatically initialize conda?
  21. This will activate conda on startup and change the command prompt when activated.
  22. If you'd prefer that conda's base environment not be activated on startup,
  23.    run the following command when conda is activated:
  24. conda config --set auto_activate_base false
复制代码
是否初始化环境变量,选择yes即可
  1. You can undo this by running `conda init --reverse $SHELL`? [yes|no]
  2. [no] >>> yes
  3. no change     /home/slience_me/anaconda3/condabin/conda
  4. no change     /home/slience_me/anaconda3/bin/conda
  5. no change     /home/slience_me/anaconda3/bin/conda-env
  6. no change     /home/slience_me/anaconda3/bin/activate
  7. no change     /home/slience_me/anaconda3/bin/deactivate
  8. no change     /home/slience_me/anaconda3/etc/profile.d/conda.sh
  9. no change     /home/slience_me/anaconda3/etc/fish/conf.d/conda.fish
  10. no change     /home/slience_me/anaconda3/shell/condabin/Conda.psm1
  11. no change     /home/slience_me/anaconda3/shell/condabin/conda-hook.ps1
  12. no change     /home/slience_me/anaconda3/lib/python3.11/site-packages/xontrib/conda.xsh
  13. no change     /home/slience_me/anaconda3/etc/profile.d/conda.csh
  14. modified      /home/slience_me/.bashrc
  15. ==> For changes to take effect, close and re-open your current shell. <==
  16. Thank you for installing Anaconda3!
复制代码
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。




欢迎光临 ToB企服应用市场:ToB评测及商务社交产业平台 (https://dis.qidao123.com/) Powered by Discuz! X3.4