ubuntu安装conda

在 Ubuntu 系统上安装 Anaconda 是一个直接的过程。Anaconda 是一个流行的 Python 和 R 数据科学及机器学习平台,它包括了许多科学计算和数据处理的库。以下是在 Ubuntu 上安装 Anaconda 的步骤:

1. 下载 Anaconda 安装脚本

首先,需要从 Anaconda 的官方网站下载安装脚本。

  1. 访问 Anaconda 官网。
  2. 滚动到 “Anaconda Installers” 部分,并下载适用于 Linux 的 Anaconda 安装程序。
  3. 或者,您可以使用 wget 在终端中直接下载。找到适用于 Linux 的安装脚本链接,并使用类似以下的命令:
    wget https://repo.anaconda.com/archive/Anaconda3-2023.09-0-Linux-x86_64.sh 
    
    确保链接指向最新版本。

2. 运行安装脚本

在下载完成后,运行安装脚本。

  1. 赋予脚本执行权限:
    chmod +x  Anaconda3-2023.09-0-Linux-x86_64.sh 
    
  2. 运行安装脚本:

sh Anaconda3-2023.09-0-Linux-x86_64.sh

跟随屏幕上的指示完成安装。### 3. 接受许可协议在安装过程中,您需要阅读并同意许可协议。### 4. 选择安装位置安装程序会提示您选择安装位置。您可以接受默认位置或指定新位置。### 5. 初始化 Anaconda在安装的最后阶段,安装程序会询问您是否将 Anaconda 添加到您的 PATH 环境变量。建议您同意这一操作,以便在终端中直接使用 Anaconda。### 6. 重新加载终端或重新登录安装完成后,您可能需要重新加载您的终端或注销并重新登录,以使更改生效。### 7. 验证安装打开一个新的终端窗口并输入以下命令,以验证 Anaconda 是否已正确安装:```bash
conda list

8. 更新 Anaconda

建议更新 Anaconda 到最新版本:

conda update --all

注意事项

  • 确保您的系统满足 Anaconda 的要求。
  • 在执行安装脚本时,请仔细阅读屏幕上的提示。
  • 如果您不希望 Anaconda 添加到您的 PATH 中,您可以手动激活 Anaconda 环境。

现在,您应该已经成功在 Ubuntu 上安装了 Anaconda,并可以开始使用它进行数据科学和机器学习项目了。

base) sh@sh:~$ 
(base) sh@sh:~$ sh Anaconda3-2023.09-0-Linux-x86_64.sh Welcome to Anaconda3 2023.09-0In order to continue the installation process, please review the license
agreement.
Please, press ENTER to continue
>>> 
==================================================
End User License Agreement - Anaconda Distribution
==================================================Copyright 2015-2023, Anaconda, Inc.All rights reserved under the 3-clause BSD License: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 A
naconda Individual Edition).Subject to the terms of this Agreement, Anaconda hereby grants you a non-exclusive, non-transferable license to:* Install and use the Anaconda Distribution (which was formerly known as Anaconda Individual Edition),* Modify and create derivative works of sample source code delivered in Anaconda Distribution from Anaconda's repository, and;* Redistribute code files in source (if provided to you by Anaconda as source) and binary forms, with or without modification subject to the requirements set forth below, and;Anaconda may, at its option, make available patches, workarounds or other updates to Anaconda Distribution. Unless the updates are provided with their separate governing terms, they are deeme
d part of Anaconda Distribution licensed to you as provided in this Agreement.  This Agreement does not entitle you to any support for Anaconda Distribution.Anaconda reserves all rights not expressly granted to you in this Agreement.Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with th
e distribution.* Neither the name of Anaconda nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.* The purpose of the redistribution is not part of a commercial product for resale. Please contact the Anaconda team for a third party redistribution commercial license* Commercial usage of the repository is non-compliant with our Terms of Service . Please contact us to learn more about our commercial offerings.You acknowledge that, as between you and Anaconda, Anaconda owns all right, title, and interest, including all intellectual property rights, in and to Anaconda Distribution and, with respect 
to third-party products distributed with or through Anaconda Distribution, the applicable third-party licensors own all right, title and interest, including all intellectual property rights, 
in and to such products.  If you send or transmit any communications or materials to Anaconda suggesting or recommending changes to the software or documentation, including 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 ri
ght, 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 rightscontained in the Feedback, for any purpose whatsoever, although Anaconda is not required to use any Feedback.THIS SOFTWARE IS PROVIDED BY ANACONDA AND ITS CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANACONDA BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO
, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, O
R TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.TO THE MAXIMUM EXTENT PERMITTED BY LAW, ANACONDA AND ITS AFFILIATES SHALL NOT BE LIABLE FOR ANY SPECIAL, INCIDENTAL, PUNITIVE OR CONSEQUENTIAL DAMAGES, OR ANY LOST PROFITS, LOSS OF USE, LOSS 
OF DATA OR LOSS OF GOODWILL, OR THE COSTS OF PROCURING SUBSTITUTE PRODUCTS, ARISING OUT OF OR IN CONNECTION WITH THIS AGREEMENT OR THE USE OR PERFORMANCE OF ANACONDA DISTRIBUTION, WHETHER SUC
H LIABILITY ARISES FROM ANY CLAIM BASED UPON BREACH OF CONTRACT, BREACH OF WARRANTY, TORT (INCLUDING NEGLIGENCE), PRODUCT LIABILITY OR ANY OTHER CAUSE OF ACTION OR THEORY OF LIABILITY. IN NO 
EVENT WILL THE TOTAL CUMULATIVE LIABILITY OF ANACONDA AND ITS AFFILIATES UNDER OR ARISING OUT OF THIS AGREEMENT EXCEED 10.00 U.S. DOLLARS.If you want to terminate this Agreement, you may do so by discontinuing use of Anaconda Distribution.  Anaconda may, at any time, terminate this Agreement and the license granted hereunder ifyou fail to comply with any term of this Agreement.   Upon any termination of this Agreement, you agree to promptly discontinue use of the Anaconda Distribution and destroy all copies in you
r possession or control. Upon any termination of this Agreement all provisions survive except for the licenses granted to you.This Agreement is governed by and construed in accordance with the internal laws of the State of Texas without giving effect to any choice or conflict of law provision or rule that would requ
ire or permit the application of the laws of any jurisdiction other than those of the State of Texas. Any legal suit, action, or proceeding arising out of or related to this Agreement or the 
licenses granted hereunder by you must be instituted exclusively in the federal courts of the United States or the courts of the State of Texas in each case located in Travis County, Texas, a
nd you irrevocably submit to the jurisdiction of such courts in any such suit, action, or proceeding.Notice of Third Party Software Licenses
=======================================Anaconda Distribution provides access to a repository which contains software packages or tools licensed on an open source basis from third parties and binary packages of these third party to
ols. These third party software packages or tools are provided on an "as is" basis and are subject to their respective license agreements as well as this Agreement and the Terms of Service fo
r the Repository located at https://know.anaconda.com/TOS.html; provided, however, no restriction contained in the Terms of Service shall be construed so as to limit Your ability to download 
the packages contained in Anaconda Distribution provided you comply with the license for each such package.  These licenses may be accessed from within the Anaconda Distribution software or h
ttps://www.anaconda.com/legal. Information regarding which license is applicable is available from within many of the third party software packages and tools and at https://repo.anaconda.com/
pkgs/main/ and https://repo.anaconda.com/pkgs/r/. Anaconda reserves the right, in its sole discretion, to change which third party tools are included in the repository accessible through Anac
onda Distribution.Intel Math Kernel Library
-------------------------Anaconda Distribution provides access to re-distributable, run-time, shared-library files from the Intel Math Kernel Library ("MKL binaries").Copyright 2018 Intel Corporation.  License available at https://software.intel.com/en-us/license/intel-simplified-software-license (the "MKL License").You may use and redistribute the MKL binaries, without modification, provided the following conditions are met:* Redistributions must reproduce the above copyright notice and the following terms of use in the MKL binaries and in the documentation and/or other materials provided with the distribution
.* Neither the name of Intel nor the names of its suppliers may be used to endorse or promote products derived from the MKL binaries without specific prior written permission.* No reverse engineering, decompilation, or disassembly of the MKL binaries is permitted.You are specifically authorized to use and redistribute the MKL binaries with your installation of Anaconda Distribution subject to the terms set forth in the MKL License. You are also author
ized to redistribute the MKL binaries with Anaconda Distribution or in the Anaconda package that contains the MKL binaries. If needed, instructions for removing the MKL binaries after install
ation of Anaconda Distribution are available at https://docs.anaconda.com.cuDNN Software
--------------Anaconda Distribution also provides access to cuDNN software binaries ("cuDNN binaries") from NVIDIA Corporation. You are specifically authorized to use the cuDNN binaries with your installat
ion of Anaconda Distribution subject to your compliance with the license agreement located at https://docs.nvidia.com/deeplearning/sdk/cudnn-sla/index.html. You are also authorized to redistr
ibute the cuDNN binaries with an Anaconda Distribution package that contains the cuDNN binaries. You can add or remove the cuDNN binaries utilizing the install and uninstall features in Anaco
nda Distribution.cuDNN binaries contain source code provided by NVIDIA Corporation.Arm Performance Libraries
-------------------------Arm Performance Libraries (Free Version): Anaconda provides access to software and related documentation from the Arm Performance Libraries ("Arm PL") provided by Arm Limited. By installing o
r otherwise accessing the Arm PL, you acknowledge and agree that use and distribution of the Arm PL is subject to your compliance with the Arm PL end user license agreement located at: https:
//developer.arm.com/tools-and-software/server-and-hpc/downloads/arm-performance-libraries/eula.Export; Cryptography Notice
===========================You must comply with all domestic and international export laws and regulations that apply to the software, which include restrictions on destinations, end users, and end use.  Anaconda Distr
ibution includes cryptographic software. The country in which you currently reside may have restrictions on the import, possession, use, and/or re-export to another country, of encryption sof
tware. BEFORE using any encryption software, please check your country's laws, regulations and policies concerning the import, possession, or use, and re-export of encryption software, to seeif this is permitted. See the Wassenaar Arrangement http://www.wassenaar.org/ for more information.Anaconda has self-classified this software as Export Commodity Control Number (ECCN) EAR99 which includes mass market information security software using or performing cryptographic functionswith asymmetric algorithms. No license is required for export of this software to non-embargoed countries.The Intel Math Kernel Library contained in Anaconda Distribution is classified by Intel as ECCN 5D992.c with no license required for export to non-embargoed countries.The following packages listed on https://www.anaconda.com/cryptography are included in the repository accessible through Anaconda Distribution that relate to cryptography.Last updated February 25, 2022Do you accept the license terms? [yes|no]
[no] >>> 
The license agreement wasn't approved, aborting installation.
(base) sh@sh:~$ sh Anaconda3-2023.09-0-Linux-x86_64.sh Welcome to Anaconda3 2023.09-0In order to continue the installation process, please review the license
agreement.
Please, press ENTER to continue
>>> 
==================================================
End User License Agreement - Anaconda Distribution
==================================================Copyright 2015-2023, Anaconda, Inc.All rights reserved under the 3-clause BSD License: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 A
naconda Individual Edition).Subject to the terms of this Agreement, Anaconda hereby grants you a non-exclusive, non-transferable license to:* Install and use the Anaconda Distribution (which was formerly known as Anaconda Individual Edition),* Modify and create derivative works of sample source code delivered in Anaconda Distribution from Anaconda's repository, and;* Redistribute code files in source (if provided to you by Anaconda as source) and binary forms, with or without modification subject to the requirements set forth below, and;Anaconda may, at its option, make available patches, workarounds or other updates to Anaconda Distribution. Unless the updates are provided with their separate governing terms, they are deeme
d part of Anaconda Distribution licensed to you as provided in this Agreement.  This Agreement does not entitle you to any support for Anaconda Distribution.Anaconda reserves all rights not expressly granted to you in this Agreement.Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with th
e distribution.* Neither the name of Anaconda nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.* The purpose of the redistribution is not part of a commercial product for resale. Please contact the Anaconda team for a third party redistribution commercial license* Commercial usage of the repository is non-compliant with our Terms of Service . Please contact us to learn more about our commercial offerings.You acknowledge that, as between you and Anaconda, Anaconda owns all right, title, and interest, including all intellectual property rights, in and to Anaconda Distribution and, with respect 
to third-party products distributed with or through Anaconda Distribution, the applicable third-party licensors own all right, title and interest, including all intellectual property rights, 
in and to such products.  If you send or transmit any communications or materials to Anaconda suggesting or recommending changes to the software or documentation, including 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 ri
ght, 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 rightscontained in the Feedback, for any purpose whatsoever, although Anaconda is not required to use any Feedback.THIS SOFTWARE IS PROVIDED BY ANACONDA AND ITS CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANACONDA BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO
, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, O
R TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.TO THE MAXIMUM EXTENT PERMITTED BY LAW, ANACONDA AND ITS AFFILIATES SHALL NOT BE LIABLE FOR ANY SPECIAL, INCIDENTAL, PUNITIVE OR CONSEQUENTIAL DAMAGES, OR ANY LOST PROFITS, LOSS OF USE, LOSS 
OF DATA OR LOSS OF GOODWILL, OR THE COSTS OF PROCURING SUBSTITUTE PRODUCTS, ARISING OUT OF OR IN CONNECTION WITH THIS AGREEMENT OR THE USE OR PERFORMANCE OF ANACONDA DISTRIBUTION, WHETHER SUC
H LIABILITY ARISES FROM ANY CLAIM BASED UPON BREACH OF CONTRACT, BREACH OF WARRANTY, TORT (INCLUDING NEGLIGENCE), PRODUCT LIABILITY OR ANY OTHER CAUSE OF ACTION OR THEORY OF LIABILITY. IN NO 
EVENT WILL THE TOTAL CUMULATIVE LIABILITY OF ANACONDA AND ITS AFFILIATES UNDER OR ARISING OUT OF THIS AGREEMENT EXCEED 10.00 U.S. DOLLARS.If you want to terminate this Agreement, you may do so by discontinuing use of Anaconda Distribution.  Anaconda may, at any time, terminate this Agreement and the license granted hereunder ifyou fail to comply with any term of this Agreement.   Upon any termination of this Agreement, you agree to promptly discontinue use of the Anaconda Distribution and destroy all copies in you
r possession or control. Upon any termination of this Agreement all provisions survive except for the licenses granted to you.This Agreement is governed by and construed in accordance with the internal laws of the State of Texas without giving effect to any choice or conflict of law provision or rule that would requ
ire or permit the application of the laws of any jurisdiction other than those of the State of Texas. Any legal suit, action, or proceeding arising out of or related to this Agreement or the 
licenses granted hereunder by you must be instituted exclusively in the federal courts of the United States or the courts of the State of Texas in each case located in Travis County, Texas, a
nd you irrevocably submit to the jurisdiction of such courts in any such suit, action, or proceeding.Notice of Third Party Software Licenses
=======================================Anaconda Distribution provides access to a repository which contains software packages or tools licensed on an open source basis from third parties and binary packages of these third party to
ols. These third party software packages or tools are provided on an "as is" basis and are subject to their respective license agreements as well as this Agreement and the Terms of Service fo
r the Repository located at https://know.anaconda.com/TOS.html; provided, however, no restriction contained in the Terms of Service shall be construed so as to limit Your ability to download 
the packages contained in Anaconda Distribution provided you comply with the license for each such package.  These licenses may be accessed from within the Anaconda Distribution software or h
ttps://www.anaconda.com/legal. Information regarding which license is applicable is available from within many of the third party software packages and tools and at https://repo.anaconda.com/
pkgs/main/ and https://repo.anaconda.com/pkgs/r/. Anaconda reserves the right, in its sole discretion, to change which third party tools are included in the repository accessible through Anac
onda Distribution.Intel Math Kernel Library
-------------------------Anaconda Distribution provides access to re-distributable, run-time, shared-library files from the Intel Math Kernel Library ("MKL binaries").Copyright 2018 Intel Corporation.  License available at https://software.intel.com/en-us/license/intel-simplified-software-license (the "MKL License").You may use and redistribute the MKL binaries, without modification, provided the following conditions are met:* Redistributions must reproduce the above copyright notice and the following terms of use in the MKL binaries and in the documentation and/or other materials provided with the distribution
.* Neither the name of Intel nor the names of its suppliers may be used to endorse or promote products derived from the MKL binaries without specific prior written permission.* No reverse engineering, decompilation, or disassembly of the MKL binaries is permitted.You are specifically authorized to use and redistribute the MKL binaries with your installation of Anaconda Distribution subject to the terms set forth in the MKL License. You are also author
ized to redistribute the MKL binaries with Anaconda Distribution or in the Anaconda package that contains the MKL binaries. If needed, instructions for removing the MKL binaries after install
ation of Anaconda Distribution are available at https://docs.anaconda.com.cuDNN Software
--------------Anaconda Distribution also provides access to cuDNN software binaries ("cuDNN binaries") from NVIDIA Corporation. You are specifically authorized to use the cuDNN binaries with your installat
ion of Anaconda Distribution subject to your compliance with the license agreement located at https://docs.nvidia.com/deeplearning/sdk/cudnn-sla/index.html. You are also authorized to redistr
ibute the cuDNN binaries with an Anaconda Distribution package that contains the cuDNN binaries. You can add or remove the cuDNN binaries utilizing the install and uninstall features in Anaco
nda Distribution.cuDNN binaries contain source code provided by NVIDIA Corporation.Arm Performance Libraries
-------------------------Arm Performance Libraries (Free Version): Anaconda provides access to software and related documentation from the Arm Performance Libraries ("Arm PL") provided by Arm Limited. By installing o
r otherwise accessing the Arm PL, you acknowledge and agree that use and distribution of the Arm PL is subject to your compliance with the Arm PL end user license agreement located at: https:
//developer.arm.com/tools-and-software/server-and-hpc/downloads/arm-performance-libraries/eula.Export; Cryptography Notice
===========================You must comply with all domestic and international export laws and regulations that apply to the software, which include restrictions on destinations, end users, and end use.  Anaconda Distr
ibution includes cryptographic software. The country in which you currently reside may have restrictions on the import, possession, use, and/or re-export to another country, of encryption sof
tware. BEFORE using any encryption software, please check your country's laws, regulations and policies concerning the import, possession, or use, and re-export of encryption software, to seeif this is permitted. See the Wassenaar Arrangement http://www.wassenaar.org/ for more information.Anaconda has self-classified this software as Export Commodity Control Number (ECCN) EAR99 which includes mass market information security software using or performing cryptographic functionswith asymmetric algorithms. No license is required for export of this software to non-embargoed countries.The Intel Math Kernel Library contained in Anaconda Distribution is classified by Intel as ECCN 5D992.c with no license required for export to non-embargoed countries.The following packages listed on https://www.anaconda.com/cryptography are included in the repository accessible through Anaconda Distribution that relate to cryptography.Last updated February 25, 2022Do you accept the license terms? [yes|no]
[no] >>> yesAnaconda3 will now be installed into this location:
/home/sh/anaconda3- Press ENTER to confirm the location- Press CTRL-C to abort the installation- Or specify a different location below[/home/sh/anaconda3] >>> 
PREFIX=/home/sh/anaconda3
Unpacking payload ...Installing base environment...Downloading and Extracting PackagesDownloading and Extracting PackagesPreparing transaction: done
Executing transaction: \ Installed package of scikit-learn can be accelerated using scikit-learn-intelex.More details are available here: https://intel.github.io/scikit-learn-intelexFor example:$ conda install scikit-learn-intelex$ python -m sklearnex my_application.pydone
installation finished.
Do you wish to update your shell profile to automatically initialize conda?
This will activate conda on startup and change the command prompt when activated.
If you'd prefer that conda's base environment not be activated on startup,run the following command when conda is activated:conda config --set auto_activate_base falseYou can undo this by running `conda init --reverse $SHELL`? [yes|no]
[no] >>> yes
no change     /home/sh/anaconda3/condabin/conda
no change     /home/sh/anaconda3/bin/conda
no change     /home/sh/anaconda3/bin/conda-env
no change     /home/sh/anaconda3/bin/activate
no change     /home/sh/anaconda3/bin/deactivate
no change     /home/sh/anaconda3/etc/profile.d/conda.sh
no change     /home/sh/anaconda3/etc/fish/conf.d/conda.fish
no change     /home/sh/anaconda3/shell/condabin/Conda.psm1
no change     /home/sh/anaconda3/shell/condabin/conda-hook.ps1
no change     /home/sh/anaconda3/lib/python3.11/site-packages/xontrib/conda.xsh
no change     /home/sh/anaconda3/etc/profile.d/conda.csh
modified      /home/sh/.bashrc==> For changes to take effect, close and re-open your current shell. <==Thank you for installing Anaconda3!
(base) sh@sh:~$ python -version
Unknown option: -e
usage: python [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information.
(base) sh@sh:~$ conda
usage: conda [-h] [-V] command ...conda is a tool for managing and deploying applications, environments and packages.Options:positional arguments:commandclean        Remove unused packages and caches.compare      Compare packages between conda environments.config       Modify configuration values in .condarc. This is modeled after the git config command. Writes to the user .condarc file (/home/sh/.condarc) by default.create       Create a new conda environment from a list of specified packages.help         Displays a list of available conda commands and their help strings.info         Display information about current conda install.init         Initialize conda for shell interaction. [Experimental]install      Installs a list of packages into a specified conda environment.list         List linked packages in a conda environment.package      Low-level conda package utility. (EXPERIMENTAL)remove       Remove a list of packages from a specified conda environment.uninstall    Alias for conda remove.run          Run an executable in a conda environment. [Experimental]search       Search for packages and display associated information. The input is a MatchSpec, a query language for conda packages. See examples below.update       Updates conda packages to the latest compatible version.upgrade      Alias for conda update.optional arguments:-h, --help     Show this help message and exit.-V, --version  Show the conda version number and exit.conda commands available from other packages:env
(base) sh@sh:~$ 
(base) sh@sh:~$ 
(base) sh@sh:~$ conda -V
conda 4.9.2
(base) sh@sh:~$ 
(base) sh@sh:~$ conda list
# packages in environment at /home/sh/miniconda3:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                        main  
brotlipy                  0.7.0           py38h27cfd23_1003  
ca-certificates           2020.10.14                    0  
certifi                   2020.6.20          pyhd3eb1b0_3  
cffi                      1.14.3           py38h261ae71_2  
chardet                   3.0.4           py38h06a4308_1003  
conda                     4.9.2            py38h06a4308_0  
conda-package-handling    1.7.2            py38h03888b9_0  
cryptography              3.2.1            py38h3c74f83_1  
idna                      2.10                       py_0  
ld_impl_linux-64          2.33.1               h53a641e_7  
libedit                   3.1.20191231         h14c3975_1  
libffi                    3.3                  he6710b0_2  
libgcc-ng                 9.1.0                hdf63c60_0  
libstdcxx-ng              9.1.0                hdf63c60_0  
ncurses                   6.2                  he6710b0_1  
openssl                   1.1.1h               h7b6447c_0  
pip                       20.2.4           py38h06a4308_0  
pycosat                   0.6.3            py38h7b6447c_1  
pycparser                 2.20                       py_2  

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/594239.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

2024年年初Java5年实战面试题(北京)

高阶篇&#xff1a; 一、在面对千万条并发请求的情况下&#xff0c;如果数据库频繁查询导致崩溃&#xff0c;可以采取以下措施来解决问题: 1.缓存数据:可以使用缓存技术来减少对数据库的查询次数。将经常查询的数据存储在缓存中&#xff0c;例如使用Redis等内存数据库&#xff…

如何做好档案数字化前的鉴定工作

要做好档案数字化前的鉴定工作&#xff0c;可以按照以下步骤进行&#xff1a; 1. 确定鉴定目标&#xff1a;明确要鉴定的档案的内容、数量和性质&#xff0c;确定鉴定的范围和目标。 2. 进行档案清点&#xff1a;对档案进行全面清点和登记&#xff0c;包括数量、种类、状况等信…

立体匹配算法(Stereo correspondence)

SGM(Semi-Global Matching)原理&#xff1a; SGM的原理在wiki百科和matlab官网上有比较详细的解释&#xff1a; wiki matlab 如果想完全了解原理还是建议看原论文 paper&#xff08;我就不看了&#xff0c;懒癌犯了。&#xff09; 优质论文解读和代码实现 一位大神自己用c实现…

分析Java中的StringHelper类

目录 前言1. 概念2. 功能示例3. Demo示例 前言 在项目中实战学习并记录可用的工具类 1. 概念 Java标准库&#xff08;java.lang包&#xff09;并没有提供名为StringHelper的类。通常&#xff0c;类似的字符串处理工具类并不是Java标准库的一部分&#xff0c;而是由程序员自行…

python使用隐马尔可夫模型识别波形数据MFCC特征

python使用隐马尔可夫模型识别振动波形数据MFCC特征 1、简介 ​ 隐马尔可夫模型非常擅长对时间序列数据进行建模。 ​ 由于振动波形数据是时间序列信号,HMM能够满足波形分类需求。 ​ 隐马尔可夫模型是表示观察序列的概率分布的模型。假设输出是由隐藏状态生成的。 2、数…

如何在Windows安装Wnmp服务并实现固定地址远程访问

文章目录 前言1.Wnmp下载安装2.Wnmp设置3.安装cpolar内网穿透3.1 注册账号3.2 下载cpolar客户端3.3 登录cpolar web ui管理界面3.4 创建公网地址 4.固定公网地址访问 前言 WNMP是Windows系统下的绿色NginxMysqlPHP环境集成套件包&#xff0c;安装完成后即可得到一个Nginx MyS…

58.0/PhotoShop 图层的应用(详细版)

目录 58.1 图层的概念 58.2 图层的控制面板 58.3 图层的基本操作 58.3.1 新建图层 58.3.2 选择图层 58.3.3 复制图层 58.3.4 调整图层的叠加顺序 58.3.5 合并图层 58.4 图层样式 58.4.1 投影 58.4.2 内阴影 58.4.3 外发光样式 58.4.4 内发光样式 58.4.5 斜面和浮雕…

JSONyaml和Properties

注&#xff1a;取自GPT&#xff0c;总是忘记了&#xff0c;那我干脆就写一篇blog YAML&#xff08;YAML Ain’t Markup Language 或 YAML Ain’t a Markup Language&#xff09;和 JSON&#xff08;JavaScript Object Notation&#xff09;是两种不同的数据序列化格式&#xf…

程序员提问的艺术:28.4K Star指南,告别成为办公室讨厌鬼!

Github: https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way 原文&#xff1a;http://www.catb.org/~esr/faqs/smart-questions.html ✅为什么讨厌某些提问者 未自行尝试解决问题&#xff1a; ❌“怎么用Java写一个排序算法&#xff1f;” &#x1f44d;&#…

计算机毕业设计 基于SpringBoot的工作量统计系统的设计与实现 Java实战项目 附源码+文档+视频讲解

博主介绍&#xff1a;✌从事软件开发10年之余&#xff0c;专注于Java技术领域、Python人工智能及数据挖掘、小程序项目开发和Android项目开发等。CSDN、掘金、华为云、InfoQ、阿里云等平台优质作者✌ &#x1f345;文末获取源码联系&#x1f345; &#x1f447;&#x1f3fb; 精…

IDEA断点调试

IDEA断点调试 断点调试是一种在程序执行过程中暂停执行并逐步检查代码状态的方法。它允许开发者在程序运行到特定位置时暂停执行&#xff0c;查看变量的值、执行过程和调用栈等信息&#xff0c;从而更好地理解代码的运行情况和解决问题。可以帮助我们查看java底层源代码的执行…

day 57 算法训练|动态规划part17

参考&#xff1a;代码随想录 647. 回文子串 1. dp数组&#xff08;dp table&#xff09;以及下标的含义 是不是能找到一种递归关系&#xff0c;也就是判断一个子字符串&#xff08;字符串的下表范围[i,j]&#xff09;是否回文&#xff0c;依赖于&#xff0c;子字符串&#x…

Amos各版本安装指南

Amos下载链接 https://pan.baidu.com/s/1uyblN8Q-knNKkqQVlNnXTw?pwd0531 1.鼠标右击【Amos28】压缩包&#xff08;win11及以上系统需先点击“显示更多选项”&#xff09;选择【解压到 Amos28】。 2.打开解压后的文件夹&#xff0c;鼠标右击【Amos28】选择【以管理员身份运行…

基于SpringBoot的社区物资交易互助平台

文章目录 项目介绍主要功能截图:部分代码展示设计总结项目获取方式🍅 作者主页:超级无敌暴龙战士塔塔开 🍅 简介:Java领域优质创作者🏆、 简历模板、学习资料、面试题库【关注我,都给你】 🍅文末获取源码联系🍅 项目介绍 基于SpringBoot的社区物资交易互助平台,…

AUTOSAR软件架构描述文档,AUTOSAR_EXP_LayeredSoftwareArchitecture

AUTOSAR软件架构描述文档&#xff0c;我们常见的经典的CP架构及OS双核等架构描述 下载链接&#xff1a;https://www.autosar.org/fileadmin/standards/R21-11/CP/AUTOSAR_EXP_LayeredSoftwareArchitecture.pdf

macos下php 5.6 7.0 7.4 8.0 8.3 8.4全版本PHP开发环境安装方法

在macos中如果使用brew 官方默认的core tap 只可以安装官方最新的稳定版PHP, 如果想要安装 php 5.6 或者 php 8.4版本的PHP就需要使用第三方的tap , 这里分享一个比较全面的brew tap shivammathur/php 这个tap里面包含了从php5.6到最新版php8.4的所有可用最新版本PHP, 而且是同…

IDEA设置新建类注释、手动注释详解

文章目录 一、背景二、模板三、设置方法1、新建类注释设置2、手动注释设置 一、背景 每次在一台新电脑安装idea&#xff0c;都需要重新设置idea注释配置&#xff0c;说常用吧&#xff0c;也就新安装时才用&#xff0c;时间久步骤容易忘记&#xff0c;所以用此文章记录一下。 二…

阿里云服务器系统盘高效云盘、ESSD Entry云盘、SSD云盘、ESSD云盘测评

阿里云服务器系统盘或数据盘支持多种云盘类型&#xff0c;如高效云盘、ESSD Entry云盘、SSD云盘、ESSD云盘、ESSD PL-X云盘及ESSD AutoPL云盘等&#xff0c;阿里云百科aliyunbaike.com详细介绍不同云盘说明及单盘容量、最大/最小IOPS、最大/最小吞吐量、单路随机写平均时延等性…

算法训练营Day28

#Java #贪心 开源学习资料 Feeling and experiences&#xff1a; 这周来到了贪心算法&#xff0c;简要概述&#xff1a; 贪心算法是一种在每个步骤中都采取最优解&#xff08;即&#xff0c;在当前看来最好的解&#xff09;的算法设计策略。它通常用于求解优化问题。这种方…

动态静态网页

目录 动态静态网页设计中使用的核心技术&#xff1a; 动态静态网页本质区别&#xff1a; 动态静态网页设计中使用的核心技术&#xff1a; 在动态和静态网页设计中&#xff0c;有一些核心技术是常见的。下面是其中的一些&#xff1a; 动态网页设计中使用的核心技术&#xff1a…