飞腾 kylin-server v10 arm64 aarch64 anaconda3 conda 非法指令 Illegal instruction 笔记

原因:

chenghlee commented on Jun 15, 2021

|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| It's likely related to the compiler options used to build the linux-aarch64 packages on defaults; basically, Anaconda uses options that target the server-class Neoverse N1/N2 microarchitecture, rather than the application-class Cortex-A* CPUs. Some thought that needs to be put into the linux-aarch64 and how to handle/balance performance vs. portability in the packaged software, especially for an ecosystem as diverse as ARM. See ContinuumIO/anaconda-issues#12443 (comment) for a similar discussion. |

"Illegal instruction" for conda-command when running on aarch64 Architecture Rockpi4 · Issue #10723 · conda/conda · GitHub

|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| using miniforge aarch64 latest release instead on raspberry pi 4 worked perfectly for me, not sure what the implementation differences are though. https://github.com/conda-forge/miniforge/releases |

Update 1:

Miniconda3-py37_4.9.2-Linux-aarch64.sh

复制代码
MINICONDA3=Miniconda3-py37_4.9.2-Linux-aarch64.sh
wget -nc https://repo.continuum.io/miniconda/$MINICONDA3 -P ~/Downloads
chmod +x ~/Downloads/$MINICONDA3
~/Downloads/$MINICONDA3 -bf
source ~/miniconda3/bin/activate base
conda create -n py39 python=3.9
conda activate py39

Works fine. Thank you @xiaoxiaoyu93 !

libcrypto on ARMv8 (Rpi4) fails with Illegal Instruction · Issue #12443 · ContinuumIO/anaconda-issues · GitHub

安装Mambaforge(成功)

[root@ceph3 yeqiang]# sh Mambaforge-23.3.1-1-Linux-aarch64.sh 

Welcome to Mambaforge 23.3.1-1

In order to continue the installation process, please review the license
agreement.
Please, press ENTER to continue
>>> 
Miniforge installer code uses BSD-3-Clause license as stated below.

Binary packages that come with it have their own licensing terms
and by installing miniforge you agree to the licensing terms of individual
packages as well. They include different OSI-approved licenses including
the GNU General Public License and can be found in pkgs/<pkg-name>/info/licenses
folders.

Miniforge installer comes with a boostrapping executable that is used
when installing miniforge and is deleted after miniforge is installed.
The bootstrapping executable uses micromamba, cli11, cpp-filesystem,
curl, c-ares, krb5, libarchive, libev, lz4, nghttp2, openssl, libsolv,
nlohmann-json, reproc and zstd which are licensed under BSD-3-Clause,
MIT and OpenSSL licenses. Licenses and copyright notices of these
projects can be found at the following URL.
https://github.com/conda-forge/micromamba-feedstock/tree/master/recipe.

=============================================================================

Copyright (c) 2019-2022, conda-forge
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

2. 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 the distribution.

3. Neither the name of the copyright holder nor the names of its contributors
may be used to endorse or promote products derived from this software without
specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND 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 THE COPYRIGHT HOLDER OR CONTRIBUTORS 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,
OR 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.


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

Mambaforge will now be installed into this location:
/root/mambaforge

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

[/root/mambaforge] >>> 
PREFIX=/root/mambaforge
Unpacking payload ...
Extracting ca-certificates-2023.7.22-hcefe29a_0.conda
Extracting ld_impl_linux-aarch64-2.40-h2d8c526_0.conda
Extracting libgomp-13.1.0-h2b4548d_0.conda
Extracting libstdcxx-ng-13.1.0-h452befe_0.conda
Extracting pybind11-abi-4-hd8ed1ab_3.tar.bz2
Extracting python_abi-3.10-3_cp310.conda
Extracting tzdata-2023c-h71feb2d_0.conda
Extracting _openmp_mutex-4.5-2_gnu.tar.bz2
Extracting libgcc-ng-13.1.0-h2b4548d_0.conda
Extracting bzip2-1.0.8-hf897c2e_4.tar.bz2
Extracting c-ares-1.19.1-h31becfc_0.conda
Extracting fmt-9.1.0-hdd96247_0.tar.bz2
Extracting icu-73.2-h787c7f5_0.conda
Extracting keyutils-1.6.1-h4e544f5_0.tar.bz2
Extracting libev-4.33-h516909a_1.tar.bz2
Extracting libffi-3.4.2-h3557bc0_5.tar.bz2
Extracting libiconv-1.17-h9cdd2b7_0.tar.bz2
Extracting libnsl-2.0.0-hf897c2e_0.tar.bz2
Extracting libuuid-2.38.1-hb4cce97_0.conda
Extracting libzlib-1.2.13-h31becfc_5.conda
Extracting lz4-c-1.9.4-hd600fc2_0.conda
Extracting lzo-2.10-h516909a_1000.tar.bz2
Extracting ncurses-6.4-h2e1726e_0.conda
Extracting openssl-3.1.2-h31becfc_0.conda
Extracting reproc-14.2.4-hb4cce97_0.conda
Extracting xz-5.2.6-h9cdd2b7_0.tar.bz2
Extracting yaml-cpp-0.7.0-h4de3ea5_2.tar.bz2
Extracting libedit-3.1.20191231-he28a2e2_2.tar.bz2
Extracting libnghttp2-1.52.0-h250e5c5_0.conda
Extracting libsolv-0.7.24-hd84c7bf_3.conda
Extracting libsqlite-3.43.0-h194ca79_0.conda
Extracting libssh2-1.11.0-h492db2e_0.conda
Extracting libxml2-2.11.5-h3091e33_1.conda
Extracting readline-8.2-h8fc344f_1.conda
Extracting reproc-cpp-14.2.4-hd600fc2_0.conda
Extracting tk-8.6.12-hd8af866_0.tar.bz2
Extracting zstd-1.5.5-h4c53e97_0.conda
Extracting krb5-1.21.2-hc419048_0.conda
Extracting libarchive-3.6.2-h566b526_1.conda
Extracting python-3.10.12-hbbe8eec_0_cpython.conda
Extracting boltons-23.0.0-pyhd8ed1ab_0.conda
Extracting brotli-python-1.1.0-py310hbb3657e_0.conda
Extracting certifi-2023.7.22-pyhd8ed1ab_0.conda
Extracting charset-normalizer-3.2.0-pyhd8ed1ab_0.conda
Extracting colorama-0.4.6-pyhd8ed1ab_0.tar.bz2
Extracting idna-3.4-pyhd8ed1ab_0.tar.bz2
Extracting jsonpointer-2.0-py_0.tar.bz2
Extracting libcurl-8.2.1-h4e8248e_0.conda
Extracting packaging-23.1-pyhd8ed1ab_0.conda
Extracting pluggy-1.3.0-pyhd8ed1ab_0.conda
Extracting pycosat-0.6.4-py310h761cc84_1.tar.bz2
Extracting pycparser-2.21-pyhd8ed1ab_0.tar.bz2
Extracting pysocks-1.7.1-pyha2e5f31_6.tar.bz2
Extracting ruamel.yaml.clib-0.2.7-py310hb89b984_1.conda
Extracting setuptools-68.1.2-pyhd8ed1ab_0.conda
Extracting toolz-0.12.0-pyhd8ed1ab_0.tar.bz2
Extracting wheel-0.41.2-pyhd8ed1ab_0.conda
Extracting cffi-1.15.1-py310hf0c4615_3.conda
Extracting jsonpatch-1.32-pyhd8ed1ab_0.tar.bz2
Extracting libmamba-1.4.2-h4a4fd89_0.conda
Extracting pip-23.2.1-pyhd8ed1ab_0.conda
Extracting ruamel.yaml-0.17.32-py310hb299538_0.conda
Extracting tqdm-4.66.1-pyhd8ed1ab_0.conda
Extracting urllib3-2.0.4-pyhd8ed1ab_0.conda
Extracting cryptography-41.0.3-py310h34e2850_0.conda
Extracting libmambapy-1.4.2-py310hbc2a718_0.conda
Extracting requests-2.31.0-pyhd8ed1ab_0.conda
Extracting zstandard-0.19.0-py310h761cc84_0.tar.bz2
Extracting conda-package-streaming-0.9.0-pyhd8ed1ab_0.conda
Extracting pyopenssl-23.2.0-pyhd8ed1ab_1.conda
Extracting conda-package-handling-2.2.0-pyh38be061_0.conda
Extracting conda-23.3.1-py310h4c7bcd0_0.conda
Extracting conda-libmamba-solver-23.3.0-pyhd8ed1ab_0.conda
Extracting mamba-1.4.2-py310hcbdc16a_0.conda

Installing base environment...


                                           __
          __  ______ ___  ____ _____ ___  / /_  ____ _
         / / / / __ `__ \/ __ `/ __ `__ \/ __ \/ __ `/
        / /_/ / / / / / / /_/ / / / / / / /_/ / /_/ /
       / .___/_/ /_/ /_/\__,_/_/ /_/ /_/_.___/\__,_/
      /_/

Transaction

  Prefix: /root/mambaforge

  Updating specs:

   - conda-forge/linux-aarch64::ca-certificates==2023.7.22=hcefe29a_0[md5=95d7f998087114466fa91e7c2887fa2f]
   - conda-forge/linux-aarch64::ld_impl_linux-aarch64==2.40=h2d8c526_0[md5=16246d69e945d0b1969a6099e7c5d457]
   - conda-forge/linux-aarch64::libgomp==13.1.0=h2b4548d_0[md5=eb95b60cbf85783b0fdd3fab2d8c320f]
   - conda-forge/linux-aarch64::libstdcxx-ng==13.1.0=h452befe_0[md5=572f5798bb3d4cc79650f0ca3149aeaa]
   - conda-forge/noarch::pybind11-abi==4=hd8ed1ab_3[md5=878f923dd6acc8aeb47a75da6c4098be]
   - conda-forge/linux-aarch64::python_abi==3.10=3_cp310[md5=7f4f00b03d3a7c4d4b8b987e5da461a9]
   - conda-forge/noarch::tzdata==2023c=h71feb2d_0[md5=939e3e74d8be4dac89ce83b20de2492a]
   - conda-forge/linux-aarch64::_openmp_mutex==4.5=2_gnu[md5=6168d71addc746e8f2b8d57dfd2edcea]
   - conda-forge/linux-aarch64::libgcc-ng==13.1.0=h2b4548d_0[md5=02619409d02932e28d694144b509597d]
   - conda-forge/linux-aarch64::bzip2==1.0.8=hf897c2e_4[md5=2d787570a729e273a4e75775ddf3348a]
   - conda-forge/linux-aarch64::c-ares==1.19.1=h31becfc_0[md5=92eb241dd6b9d9b782a299fdb95bc699]
   - conda-forge/linux-aarch64::fmt==9.1.0=hdd96247_0[md5=9250db7b71768a227b5fb9e075b5e53b]
   - conda-forge/linux-aarch64::icu==73.2=h787c7f5_0[md5=9d3c29d71f28452a2e843aff8cbe09d2]
   - conda-forge/linux-aarch64::keyutils==1.6.1=h4e544f5_0[md5=1f24853e59c68892452ef94ddd8afd4b]
   - conda-forge/linux-aarch64::libev==4.33=h516909a_1[md5=9eac5901791494108c9b9ab85ca8aa93]
   - conda-forge/linux-aarch64::libffi==3.4.2=h3557bc0_5[md5=dddd85f4d52121fab0a8b099c5e06501]
   - conda-forge/linux-aarch64::libiconv==1.17=h9cdd2b7_0[md5=efc27cfbc82a027f65c02c661832ecfc]
   - conda-forge/linux-aarch64::libnsl==2.0.0=hf897c2e_0[md5=36fdbc05c9d9145ece86f5a63c3f352e]
   - conda-forge/linux-aarch64::libuuid==2.38.1=hb4cce97_0[md5=000e30b09db0b7c775b21695dff30969]
   - conda-forge/linux-aarch64::libzlib==1.2.13=h31becfc_5[md5=b213aa87eea9491ef7b129179322e955]
   - conda-forge/linux-aarch64::lz4-c==1.9.4=hd600fc2_0[md5=500145a83ed07ce79c8cef24252f366b]
   - conda-forge/linux-aarch64::lzo==2.10=h516909a_1000[md5=ef5661339990c399c68c71cfb341e6d7]
   - conda-forge/linux-aarch64::ncurses==6.4=h2e1726e_0[md5=40beaf447150c2760affc591c7509595]
   - conda-forge/linux-aarch64::openssl==3.1.2=h31becfc_0[md5=fde5a105b2bc9d6eced8a23005492c7e]
   - conda-forge/linux-aarch64::reproc==14.2.4=hb4cce97_0[md5=ce483bf1d751947c68ea525f55f00573]
   - conda-forge/linux-aarch64::xz==5.2.6=h9cdd2b7_0[md5=83baad393a31d59c20b63ba4da6592df]
   - conda-forge/linux-aarch64::yaml-cpp==0.7.0=h4de3ea5_2[md5=87d60487be313187187affcf70d32b29]
   - conda-forge/linux-aarch64::libedit==3.1.20191231=he28a2e2_2[md5=29371161d77933a54fccf1bb66b96529]
   - conda-forge/linux-aarch64::libnghttp2==1.52.0=h250e5c5_0[md5=bfacd7a58ed56ff30d9454d32513d8d3]
   - conda-forge/linux-aarch64::libsolv==0.7.24=hd84c7bf_3[md5=05dd2c60fcb727455ee33bfd89676990]
   - conda-forge/linux-aarch64::libsqlite==3.43.0=h194ca79_0[md5=9df5c3004549dc17b49843e0ce88c0fe]
   - conda-forge/linux-aarch64::libssh2==1.11.0=h492db2e_0[md5=45532845e121677ad328c9af9953f161]
   - conda-forge/linux-aarch64::libxml2==2.11.5=h3091e33_1[md5=32df81aac32e3196589e176572d9c720]
   - conda-forge/linux-aarch64::readline==8.2=h8fc344f_1[md5=105eb1e16bf83bfb2eb380a48032b655]
   - conda-forge/linux-aarch64::reproc-cpp==14.2.4=hd600fc2_0[md5=f2ba4e3adf041e375c41fee047408952]
   - conda-forge/linux-aarch64::tk==8.6.12=hd8af866_0[md5=7894e82ff743bd96c76585ddebe28e2a]
   - conda-forge/linux-aarch64::zstd==1.5.5=h4c53e97_0[md5=b74eb9dbb5c3c15cb3cee7cbdf198c75]
   - conda-forge/linux-aarch64::krb5==1.21.2=hc419048_0[md5=55b51af37bf6fdcfe06f140e62e8c8db]
   - conda-forge/linux-aarch64::libarchive==3.6.2=h566b526_1[md5=cfffef8050fbc22190c85b3f9a45a27f]
   - conda-forge/linux-aarch64::python==3.10.12=hbbe8eec_0_cpython[md5=020fe1f640c2566b6b6606698b0aeebd]
   - conda-forge/noarch::boltons==23.0.0=pyhd8ed1ab_0[md5=033eb25fffd222aceeca6d58cd953680]
   - conda-forge/linux-aarch64::brotli-python==1.1.0=py310hbb3657e_0[md5=b40cf13cb25892e364036cdec78fac40]
   - conda-forge/noarch::certifi==2023.7.22=pyhd8ed1ab_0[md5=7f3dbc9179b4dde7da98dfb151d0ad22]
   - conda-forge/noarch::charset-normalizer==3.2.0=pyhd8ed1ab_0[md5=313516e9a4b08b12dfb1e1cd390a96e3]
   - conda-forge/noarch::colorama==0.4.6=pyhd8ed1ab_0[md5=3faab06a954c2a04039983f2c4a50d99]
   - conda-forge/noarch::idna==3.4=pyhd8ed1ab_0[md5=34272b248891bddccc64479f9a7fffed]
   - conda-forge/noarch::jsonpointer==2.0=py_0[md5=07d85c22a3beb102a48cd123df84c2a6]
   - conda-forge/linux-aarch64::libcurl==8.2.1=h4e8248e_0[md5=8f4ee59f04f68c339e02947d8ae56ee2]
   - conda-forge/noarch::packaging==23.1=pyhd8ed1ab_0[md5=91cda59e66e1e4afe9476f8ef98f5c30]
   - conda-forge/noarch::pluggy==1.3.0=pyhd8ed1ab_0[md5=2390bd10bed1f3fdc7a537fb5a447d8d]
   - conda-forge/linux-aarch64::pycosat==0.6.4=py310h761cc84_1[md5=c701cff6d6e7907c93ab603e58082a7c]
   - conda-forge/noarch::pycparser==2.21=pyhd8ed1ab_0[md5=076becd9e05608f8dc72757d5f3a91ff]
   - conda-forge/noarch::pysocks==1.7.1=pyha2e5f31_6[md5=2a7de29fb590ca14b5243c4c812c8025]
   - conda-forge/linux-aarch64::ruamel.yaml.clib==0.2.7=py310hb89b984_1[md5=89972c78c36ed3261c22bde7c012be03]
   - conda-forge/noarch::setuptools==68.1.2=pyhd8ed1ab_0[md5=4fe12573bf499ff85a0a364e00cc5c53]
   - conda-forge/noarch::toolz==0.12.0=pyhd8ed1ab_0[md5=92facfec94bc02d6ccf42e7173831a36]
   - conda-forge/noarch::wheel==0.41.2=pyhd8ed1ab_0[md5=1ccd092478b3e0ee10d7a891adbf8a4f]
   - conda-forge/linux-aarch64::cffi==1.15.1=py310hf0c4615_3[md5=a2bedcb1d205485ea32fe5d2bd6fd970]
   - conda-forge/noarch::jsonpatch==1.32=pyhd8ed1ab_0[md5=09150b51b0528a31a0f6500b96fdde82]
   - conda-forge/linux-aarch64::libmamba==1.4.2=h4a4fd89_0[md5=75d654bb24804a39788ed8c1dc863d71]
   - conda-forge/noarch::pip==23.2.1=pyhd8ed1ab_0[md5=e2783aa3f9235225eec92f9081c5b801]
   - conda-forge/linux-aarch64::ruamel.yaml==0.17.32=py310hb299538_0[md5=2e7d1ec9009118bd944f229bfbb64a02]
   - conda-forge/noarch::tqdm==4.66.1=pyhd8ed1ab_0[md5=03c97908b976498dcae97eb4e4f3149c]
   - conda-forge/noarch::urllib3==2.0.4=pyhd8ed1ab_0[md5=18badd8fa3648d1beb1fcc7f2e0f756e]
   - conda-forge/linux-aarch64::cryptography==41.0.3=py310h34e2850_0[md5=b53edcf21d3af146927b62eff4aa4bf0]
   - conda-forge/linux-aarch64::libmambapy==1.4.2=py310hbc2a718_0[md5=cca4d3753a0142cf5c3d9103c49c650c]
   - conda-forge/noarch::requests==2.31.0=pyhd8ed1ab_0[md5=a30144e4156cdbb236f99ebb49828f8b]
   - conda-forge/linux-aarch64::zstandard==0.19.0=py310h761cc84_0[md5=328e619cfbc149b7713689ecf10cde2c]
   - conda-forge/noarch::conda-package-streaming==0.9.0=pyhd8ed1ab_0[md5=38253361efb303deead3eab39ae9269b]
   - conda-forge/noarch::pyopenssl==23.2.0=pyhd8ed1ab_1[md5=34f7d568bf59d18e3fef8c405cbece21]
   - conda-forge/noarch::conda-package-handling==2.2.0=pyh38be061_0[md5=8a3ae7f6318376aa08ea753367bb7dd6]
   - conda-forge/linux-aarch64::conda==23.3.1=py310h4c7bcd0_0[md5=6224c97a062a56a490d6a13394938c76]
   - conda-forge/noarch::conda-libmamba-solver==23.3.0=pyhd8ed1ab_0[md5=2edd368915b8a1c3e294c9ac944390d9]
   - conda-forge/linux-aarch64::mamba==1.4.2=py310hcbdc16a_0[md5=81560df7af1e326bac7998b2ebd9f17e]


  Package                         Version  Build               Channel           Size
───────────────────────────────────────────────────────────────────────────────────────
  Install:
───────────────────────────────────────────────────────────────────────────────────────

  + _openmp_mutex                     4.5  2_gnu               conda-forge     Cached
  + boltons                        23.0.0  pyhd8ed1ab_0        conda-forge     Cached
  + brotli-python                   1.1.0  py310hbb3657e_0     conda-forge     Cached
  + bzip2                           1.0.8  hf897c2e_4          conda-forge     Cached
  + c-ares                         1.19.1  h31becfc_0          conda-forge     Cached
  + ca-certificates             2023.7.22  hcefe29a_0          conda-forge     Cached
  + certifi                     2023.7.22  pyhd8ed1ab_0        conda-forge     Cached
  + cffi                           1.15.1  py310hf0c4615_3     conda-forge     Cached
  + charset-normalizer              3.2.0  pyhd8ed1ab_0        conda-forge     Cached
  + colorama                        0.4.6  pyhd8ed1ab_0        conda-forge     Cached
  + conda                          23.3.1  py310h4c7bcd0_0     conda-forge     Cached
  + conda-libmamba-solver          23.3.0  pyhd8ed1ab_0        conda-forge     Cached
  + conda-package-handling          2.2.0  pyh38be061_0        conda-forge     Cached
  + conda-package-streaming         0.9.0  pyhd8ed1ab_0        conda-forge     Cached
  + cryptography                   41.0.3  py310h34e2850_0     conda-forge     Cached
  + fmt                             9.1.0  hdd96247_0          conda-forge     Cached
  + icu                              73.2  h787c7f5_0          conda-forge     Cached
  + idna                              3.4  pyhd8ed1ab_0        conda-forge     Cached
  + jsonpatch                        1.32  pyhd8ed1ab_0        conda-forge     Cached
  + jsonpointer                       2.0  py_0                conda-forge     Cached
  + keyutils                        1.6.1  h4e544f5_0          conda-forge     Cached
  + krb5                           1.21.2  hc419048_0          conda-forge     Cached
  + ld_impl_linux-aarch64            2.40  h2d8c526_0          conda-forge     Cached
  + libarchive                      3.6.2  h566b526_1          conda-forge     Cached
  + libcurl                         8.2.1  h4e8248e_0          conda-forge     Cached
  + libedit                  3.1.20191231  he28a2e2_2          conda-forge     Cached
  + libev                            4.33  h516909a_1          conda-forge     Cached
  + libffi                          3.4.2  h3557bc0_5          conda-forge     Cached
  + libgcc-ng                      13.1.0  h2b4548d_0          conda-forge     Cached
  + libgomp                        13.1.0  h2b4548d_0          conda-forge     Cached
  + libiconv                         1.17  h9cdd2b7_0          conda-forge     Cached
  + libmamba                        1.4.2  h4a4fd89_0          conda-forge     Cached
  + libmambapy                      1.4.2  py310hbc2a718_0     conda-forge     Cached
  + libnghttp2                     1.52.0  h250e5c5_0          conda-forge     Cached
  + libnsl                          2.0.0  hf897c2e_0          conda-forge     Cached
  + libsolv                        0.7.24  hd84c7bf_3          conda-forge     Cached
  + libsqlite                      3.43.0  h194ca79_0          conda-forge     Cached
  + libssh2                        1.11.0  h492db2e_0          conda-forge     Cached
  + libstdcxx-ng                   13.1.0  h452befe_0          conda-forge     Cached
  + libuuid                        2.38.1  hb4cce97_0          conda-forge     Cached
  + libxml2                        2.11.5  h3091e33_1          conda-forge     Cached
  + libzlib                        1.2.13  h31becfc_5          conda-forge     Cached
  + lz4-c                           1.9.4  hd600fc2_0          conda-forge     Cached
  + lzo                              2.10  h516909a_1000       conda-forge     Cached
  + mamba                           1.4.2  py310hcbdc16a_0     conda-forge     Cached
  + ncurses                           6.4  h2e1726e_0          conda-forge     Cached
  + openssl                         3.1.2  h31becfc_0          conda-forge     Cached
  + packaging                        23.1  pyhd8ed1ab_0        conda-forge     Cached
  + pip                            23.2.1  pyhd8ed1ab_0        conda-forge     Cached
  + pluggy                          1.3.0  pyhd8ed1ab_0        conda-forge     Cached
  + pybind11-abi                        4  hd8ed1ab_3          conda-forge     Cached
  + pycosat                         0.6.4  py310h761cc84_1     conda-forge     Cached
  + pycparser                        2.21  pyhd8ed1ab_0        conda-forge     Cached
  + pyopenssl                      23.2.0  pyhd8ed1ab_1        conda-forge     Cached
  + pysocks                         1.7.1  pyha2e5f31_6        conda-forge     Cached
  + python                        3.10.12  hbbe8eec_0_cpython  conda-forge     Cached
  + python_abi                       3.10  3_cp310             conda-forge     Cached
  + readline                          8.2  h8fc344f_1          conda-forge     Cached
  + reproc                         14.2.4  hb4cce97_0          conda-forge     Cached
  + reproc-cpp                     14.2.4  hd600fc2_0          conda-forge     Cached
  + requests                       2.31.0  pyhd8ed1ab_0        conda-forge     Cached
  + ruamel.yaml                   0.17.32  py310hb299538_0     conda-forge     Cached
  + ruamel.yaml.clib                0.2.7  py310hb89b984_1     conda-forge     Cached
  + setuptools                     68.1.2  pyhd8ed1ab_0        conda-forge     Cached
  + tk                             8.6.12  hd8af866_0          conda-forge     Cached
  + toolz                          0.12.0  pyhd8ed1ab_0        conda-forge     Cached
  + tqdm                           4.66.1  pyhd8ed1ab_0        conda-forge     Cached
  + tzdata                          2023c  h71feb2d_0          conda-forge     Cached
  + urllib3                         2.0.4  pyhd8ed1ab_0        conda-forge     Cached
  + wheel                          0.41.2  pyhd8ed1ab_0        conda-forge     Cached
  + xz                              5.2.6  h9cdd2b7_0          conda-forge     Cached
  + yaml-cpp                        0.7.0  h4de3ea5_2          conda-forge     Cached
  + zstandard                      0.19.0  py310h761cc84_0     conda-forge     Cached
  + zstd                            1.5.5  h4c53e97_0          conda-forge     Cached

  Summary:

  Install: 74 packages

  Total download: 0 B

───────────────────────────────────────────────────────────────────────────────────────



Transaction starting
Linking ca-certificates-2023.7.22-hcefe29a_0
Linking ld_impl_linux-aarch64-2.40-h2d8c526_0
Linking libgomp-13.1.0-h2b4548d_0
Linking libstdcxx-ng-13.1.0-h452befe_0
Linking pybind11-abi-4-hd8ed1ab_3
Linking python_abi-3.10-3_cp310
Linking tzdata-2023c-h71feb2d_0
Linking _openmp_mutex-4.5-2_gnu
Linking libgcc-ng-13.1.0-h2b4548d_0
Linking bzip2-1.0.8-hf897c2e_4
Linking c-ares-1.19.1-h31becfc_0
Linking fmt-9.1.0-hdd96247_0
Linking icu-73.2-h787c7f5_0
Linking keyutils-1.6.1-h4e544f5_0
Linking libev-4.33-h516909a_1
Linking libffi-3.4.2-h3557bc0_5
Linking libiconv-1.17-h9cdd2b7_0
Linking libnsl-2.0.0-hf897c2e_0
Linking libuuid-2.38.1-hb4cce97_0
Linking libzlib-1.2.13-h31becfc_5
Linking lz4-c-1.9.4-hd600fc2_0
Linking lzo-2.10-h516909a_1000
Linking ncurses-6.4-h2e1726e_0
Linking openssl-3.1.2-h31becfc_0
Linking reproc-14.2.4-hb4cce97_0
Linking xz-5.2.6-h9cdd2b7_0
Linking yaml-cpp-0.7.0-h4de3ea5_2
Linking libedit-3.1.20191231-he28a2e2_2
Linking libnghttp2-1.52.0-h250e5c5_0
Linking libsolv-0.7.24-hd84c7bf_3
Linking libsqlite-3.43.0-h194ca79_0
Linking libssh2-1.11.0-h492db2e_0
Linking libxml2-2.11.5-h3091e33_1
Linking readline-8.2-h8fc344f_1
Linking reproc-cpp-14.2.4-hd600fc2_0
Linking tk-8.6.12-hd8af866_0
Linking zstd-1.5.5-h4c53e97_0
Linking krb5-1.21.2-hc419048_0
Linking libarchive-3.6.2-h566b526_1
Linking python-3.10.12-hbbe8eec_0_cpython
Linking boltons-23.0.0-pyhd8ed1ab_0
Linking brotli-python-1.1.0-py310hbb3657e_0
Linking certifi-2023.7.22-pyhd8ed1ab_0
Linking charset-normalizer-3.2.0-pyhd8ed1ab_0
Linking colorama-0.4.6-pyhd8ed1ab_0
Linking idna-3.4-pyhd8ed1ab_0
Linking jsonpointer-2.0-py_0
Linking libcurl-8.2.1-h4e8248e_0
Linking packaging-23.1-pyhd8ed1ab_0
Linking pluggy-1.3.0-pyhd8ed1ab_0
Linking pycosat-0.6.4-py310h761cc84_1
Linking pycparser-2.21-pyhd8ed1ab_0
Linking pysocks-1.7.1-pyha2e5f31_6
Linking ruamel.yaml.clib-0.2.7-py310hb89b984_1
Linking setuptools-68.1.2-pyhd8ed1ab_0
Linking toolz-0.12.0-pyhd8ed1ab_0
Linking wheel-0.41.2-pyhd8ed1ab_0
Linking cffi-1.15.1-py310hf0c4615_3
Linking jsonpatch-1.32-pyhd8ed1ab_0
Linking libmamba-1.4.2-h4a4fd89_0
Linking pip-23.2.1-pyhd8ed1ab_0
Linking ruamel.yaml-0.17.32-py310hb299538_0
Linking tqdm-4.66.1-pyhd8ed1ab_0
Linking urllib3-2.0.4-pyhd8ed1ab_0
Linking cryptography-41.0.3-py310h34e2850_0
Linking libmambapy-1.4.2-py310hbc2a718_0
Linking requests-2.31.0-pyhd8ed1ab_0
Linking zstandard-0.19.0-py310h761cc84_0
Linking conda-package-streaming-0.9.0-pyhd8ed1ab_0
Linking pyopenssl-23.2.0-pyhd8ed1ab_1
Linking conda-package-handling-2.2.0-pyh38be061_0
Linking conda-23.3.1-py310h4c7bcd0_0
Linking conda-libmamba-solver-23.3.0-pyhd8ed1ab_0
Linking mamba-1.4.2-py310hcbdc16a_0
Transaction finished
installation finished.
Do you wish the installer to initialize Mambaforge
by running conda init? [yes|no]
[no] >>> yes
no change     /root/mambaforge/condabin/conda
no change     /root/mambaforge/bin/conda
no change     /root/mambaforge/bin/conda-env
no change     /root/mambaforge/bin/activate
no change     /root/mambaforge/bin/deactivate
no change     /root/mambaforge/etc/profile.d/conda.sh
no change     /root/mambaforge/etc/fish/conf.d/conda.fish
no change     /root/mambaforge/shell/condabin/Conda.psm1
no change     /root/mambaforge/shell/condabin/conda-hook.ps1
no change     /root/mambaforge/lib/python3.10/site-packages/xontrib/conda.xsh
no change     /root/mambaforge/etc/profile.d/conda.csh
modified      /root/.bashrc

==> For changes to take effect, close and re-open your current shell. <==


                  __    __    __    __
                 /  \  /  \  /  \  /  \
                /    \/    \/    \/    \
███████████████/  /██/  /██/  /██/  /████████████████████████
              /  / \   / \   / \   / \  \____
             /  /   \_/   \_/   \_/   \    o \__,
            / _/                       \_____/  `
            |/
        ███╗   ███╗ █████╗ ███╗   ███╗██████╗  █████╗
        ████╗ ████║██╔══██╗████╗ ████║██╔══██╗██╔══██╗
        ██╔████╔██║███████║██╔████╔██║██████╔╝███████║
        ██║╚██╔╝██║██╔══██║██║╚██╔╝██║██╔══██╗██╔══██║
        ██║ ╚═╝ ██║██║  ██║██║ ╚═╝ ██║██████╔╝██║  ██║
        ╚═╝     ╚═╝╚═╝  ╚═╝╚═╝     ╚═╝╚═════╝ ╚═╝  ╚═╝

        mamba (1.4.2) supported by @QuantStack

        GitHub:  https://github.com/mamba-org/mamba
        Twitter: https://twitter.com/QuantStack

█████████████████████████████████████████████████████████████

no change     /root/mambaforge/condabin/conda
no change     /root/mambaforge/bin/conda
no change     /root/mambaforge/bin/conda-env
no change     /root/mambaforge/bin/activate
no change     /root/mambaforge/bin/deactivate
no change     /root/mambaforge/etc/profile.d/conda.sh
no change     /root/mambaforge/etc/fish/conf.d/conda.fish
no change     /root/mambaforge/shell/condabin/Conda.psm1
no change     /root/mambaforge/shell/condabin/conda-hook.ps1
no change     /root/mambaforge/lib/python3.10/site-packages/xontrib/conda.xsh
no change     /root/mambaforge/etc/profile.d/conda.csh
no change     /root/.bashrc
No action taken.
Added mamba to /root/.bashrc

==> For changes to take effect, close and re-open your current shell. <==

If you'd prefer that conda's base environment not be activated on startup, 
   set the auto_activate_base parameter to false: 

conda config --set auto_activate_base false

Thank you for installing Mambaforge!

重新登录,激活.bashrc

[root@ceph3 ~]# whereis conda
conda: /root/mambaforge/condabin/conda
[root@ceph3 ~]# conda list
# packages in environment at /root/mambaforge:
#
# Name                    Version                   Build  Channel
_openmp_mutex             4.5                       2_gnu    conda-forge
boltons                   23.0.0             pyhd8ed1ab_0    conda-forge
brotli-python             1.1.0           py310hbb3657e_0    conda-forge
bzip2                     1.0.8                hf897c2e_4    conda-forge
c-ares                    1.19.1               h31becfc_0    conda-forge
ca-certificates           2023.7.22            hcefe29a_0    conda-forge
certifi                   2023.7.22          pyhd8ed1ab_0    conda-forge
cffi                      1.15.1          py310hf0c4615_3    conda-forge
charset-normalizer        3.2.0              pyhd8ed1ab_0    conda-forge
colorama                  0.4.6              pyhd8ed1ab_0    conda-forge
conda                     23.3.1          py310h4c7bcd0_0    conda-forge
conda-libmamba-solver     23.3.0             pyhd8ed1ab_0    conda-forge
conda-package-handling    2.2.0              pyh38be061_0    conda-forge
conda-package-streaming   0.9.0              pyhd8ed1ab_0    conda-forge
cryptography              41.0.3          py310h34e2850_0    conda-forge
fmt                       9.1.0                hdd96247_0    conda-forge
icu                       73.2                 h787c7f5_0    conda-forge
idna                      3.4                pyhd8ed1ab_0    conda-forge
jsonpatch                 1.32               pyhd8ed1ab_0    conda-forge
jsonpointer               2.0                        py_0    conda-forge
keyutils                  1.6.1                h4e544f5_0    conda-forge
krb5                      1.21.2               hc419048_0    conda-forge
ld_impl_linux-aarch64     2.40                 h2d8c526_0    conda-forge
libarchive                3.6.2                h566b526_1    conda-forge
libcurl                   8.2.1                h4e8248e_0    conda-forge
libedit                   3.1.20191231         he28a2e2_2    conda-forge
libev                     4.33                 h516909a_1    conda-forge
libffi                    3.4.2                h3557bc0_5    conda-forge
libgcc-ng                 13.1.0               h2b4548d_0    conda-forge
libgomp                   13.1.0               h2b4548d_0    conda-forge
libiconv                  1.17                 h9cdd2b7_0    conda-forge
libmamba                  1.4.2                h4a4fd89_0    conda-forge
libmambapy                1.4.2           py310hbc2a718_0    conda-forge
libnghttp2                1.52.0               h250e5c5_0    conda-forge
libnsl                    2.0.0                hf897c2e_0    conda-forge
libsolv                   0.7.24               hd84c7bf_3    conda-forge
libsqlite                 3.43.0               h194ca79_0    conda-forge
libssh2                   1.11.0               h492db2e_0    conda-forge
libstdcxx-ng              13.1.0               h452befe_0    conda-forge
libuuid                   2.38.1               hb4cce97_0    conda-forge
libxml2                   2.11.5               h3091e33_1    conda-forge
libzlib                   1.2.13               h31becfc_5    conda-forge
lz4-c                     1.9.4                hd600fc2_0    conda-forge
lzo                       2.10              h516909a_1000    conda-forge
mamba                     1.4.2           py310hcbdc16a_0    conda-forge
ncurses                   6.4                  h2e1726e_0    conda-forge
openssl                   3.1.2                h31becfc_0    conda-forge
packaging                 23.1               pyhd8ed1ab_0    conda-forge
pip                       23.2.1             pyhd8ed1ab_0    conda-forge
pluggy                    1.3.0              pyhd8ed1ab_0    conda-forge
pybind11-abi              4                    hd8ed1ab_3    conda-forge
pycosat                   0.6.4           py310h761cc84_1    conda-forge
pycparser                 2.21               pyhd8ed1ab_0    conda-forge
pyopenssl                 23.2.0             pyhd8ed1ab_1    conda-forge
pysocks                   1.7.1              pyha2e5f31_6    conda-forge
python                    3.10.12         hbbe8eec_0_cpython    conda-forge
python_abi                3.10                    3_cp310    conda-forge
readline                  8.2                  h8fc344f_1    conda-forge
reproc                    14.2.4               hb4cce97_0    conda-forge
reproc-cpp                14.2.4               hd600fc2_0    conda-forge
requests                  2.31.0             pyhd8ed1ab_0    conda-forge
ruamel.yaml               0.17.32         py310hb299538_0    conda-forge
ruamel.yaml.clib          0.2.7           py310hb89b984_1    conda-forge
setuptools                68.1.2             pyhd8ed1ab_0    conda-forge
tk                        8.6.12               hd8af866_0    conda-forge
toolz                     0.12.0             pyhd8ed1ab_0    conda-forge
tqdm                      4.66.1             pyhd8ed1ab_0    conda-forge
tzdata                    2023c                h71feb2d_0    conda-forge
urllib3                   2.0.4              pyhd8ed1ab_0    conda-forge
wheel                     0.41.2             pyhd8ed1ab_0    conda-forge
xz                        5.2.6                h9cdd2b7_0    conda-forge
yaml-cpp                  0.7.0                h4de3ea5_2    conda-forge
zstandard                 0.19.0          py310h761cc84_0    conda-forge
zstd                      1.5.5                h4c53e97_0    conda-forge

配置国内源,参考:

Conda配置国内镜像源_一键配置conda 所有国内源_Ada叶小雨的博客-CSDN博客

效果

[root@ceph3 ~]# conda config --show
add_anaconda_token: True
add_pip_as_python_dependency: True
aggressive_update_packages:
  - ca-certificates
  - certifi
  - openssl
allow_conda_downgrades: False
allow_cycles: True
allow_non_channel_urls: False
allow_softlinks: False
allowlist_channels: []
always_copy: False
always_softlink: False
always_yes: None
anaconda_upload: None
auto_activate_base: False
auto_stack: 0
auto_update_conda: True
bld_path: 
changeps1: True
channel_alias: https://conda.anaconda.org
channel_priority: flexible
channel_settings: []
channels:
  - defaults
  - conda-forge
client_ssl_cert: None
client_ssl_cert_key: None
clobber: False
conda_build: {}
create_default_packages: []
croot: /root/mambaforge/conda-bld
custom_channels:
  anaconda/pkgs/main: https://mirrors.tuna.tsinghua.edu.cn
  anaconda/pkgs/free: https://mirrors.tuna.tsinghua.edu.cn
  anaconda/pkgs/r: https://mirrors.tuna.tsinghua.edu.cn
  conda-forge: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
  msys2: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
  bioconda: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
  menpo: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
  pytorch: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
  simpleitk: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
custom_multichannels:
  defaults: 
    - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
    - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
    - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r
  local: 
debug: False
default_channels:
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r
default_python: 3.10
default_threads: None
deps_modifier: not_set
dev: False
disallowed_packages: []
download_only: False
dry_run: False
enable_private_envs: False
env_prompt: ({default_env}) 
envs_dirs:
  - /root/mambaforge/envs
  - /root/.conda/envs
error_upload_url: https://conda.io/conda-post/unexpected-error
execute_threads: 1
experimental: []
extra_safety_checks: False
fetch_threads: 5
force: False
force_32bit: False
force_reinstall: False
force_remove: False
ignore_pinned: False
json: False
local_repodata_ttl: 1
migrated_channel_aliases: []
migrated_custom_channels: {}
non_admin_enabled: True
notify_outdated_conda: True
number_channel_notices: 5
offline: False
override_channels_enabled: True
path_conflict: clobber
pinned_packages: []
pip_interop_enabled: False
pkgs_dirs:
  - /root/mambaforge/pkgs
  - /root/.conda/pkgs
proxy_servers: {}
quiet: False
remote_backoff_factor: 1
remote_connect_timeout_secs: 9.15
remote_max_retries: 3
remote_read_timeout_secs: 60.0
repodata_fns:
  - current_repodata.json
  - repodata.json
repodata_threads: None
report_errors: None
restore_free_channel: False
rollback_enabled: True
root_prefix: /root/mambaforge
safety_checks: warn
sat_solver: pycosat
separate_format_cache: False
shortcuts: True
show_channel_urls: True
signing_metadata_url_base: None
solver: classic
solver_ignore_timestamps: False
ssl_verify: True
subdir: linux-aarch64
subdirs:
  - linux-aarch64
  - noarch
target_prefix_override: 
track_features: []
unsatisfiable_hints: True
unsatisfiable_hints_check_depth: 2
update_modifier: update_specs
use_index_cache: False
use_local: False
use_only_tar_bz2: False
verbosity: 0
verify_threads: 1

创建python3环境

[root@ceph3 ~]# conda create -n python3env python==3.10.12
Collecting package metadata (current_repodata.json): done
Solving environment: done


==> WARNING: A newer version of conda exists. <==
  current version: 23.3.1
  latest version: 23.7.3

Please update conda by running

    $ conda update -n base -c conda-forge conda

Or to minimize the number of packages updated during conda update use

     conda install conda=23.7.3



## Package Plan ##

  environment location: /root/mambaforge/envs/python3env

  added / updated specs:
    - python==3.10.12


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    _libgcc_mutex-0.1          |             main           2 KB  defaults
    _openmp_mutex-5.1          |           51_gnu         1.4 MB  defaults
    bzip2-1.0.8                |       hfd63f10_2          85 KB  defaults
    ca-certificates-2023.08.22 |       hd43f75c_0         123 KB  defaults
    ld_impl_linux-aarch64-2.38 |       h8131f2d_1         778 KB  defaults
    libffi-3.4.4               |       h419075a_0         139 KB  defaults
    libgcc-ng-11.2.0           |       h1234567_1         1.3 MB  defaults
    libgomp-11.2.0             |       h1234567_1         466 KB  defaults
    libstdcxx-ng-11.2.0        |       h1234567_1         779 KB  defaults
    libuuid-1.41.5             |       h998d150_0          29 KB  defaults
    ncurses-6.4                |       h419075a_0         1.1 MB  defaults
    openssl-3.0.10             |       h2f4d8fa_2         5.3 MB  defaults
    pip-23.2.1                 |  py310hd43f75c_0         2.7 MB  defaults
    python-3.10.12             |       h4bb2201_0        13.0 MB  defaults
    readline-8.2               |       h998d150_0         381 KB  defaults
    setuptools-68.0.0          |  py310hd43f75c_0         952 KB  defaults
    sqlite-3.41.2              |       h998d150_0         1.4 MB  defaults
    tk-8.6.12                  |       h241ca14_0         3.2 MB  defaults
    tzdata-2023c               |       h04d1e81_0         116 KB  defaults
    wheel-0.38.4               |  py310hd43f75c_0          64 KB  defaults
    xz-5.4.2                   |       h998d150_0         661 KB  defaults
    zlib-1.2.13                |       h998d150_0         103 KB  defaults
    ------------------------------------------------------------
                                           Total:        33.9 MB

The following NEW packages will be INSTALLED:

  _libgcc_mutex      anaconda/pkgs/main/linux-aarch64::_libgcc_mutex-0.1-main 
  _openmp_mutex      anaconda/pkgs/main/linux-aarch64::_openmp_mutex-5.1-51_gnu 
  bzip2              anaconda/pkgs/main/linux-aarch64::bzip2-1.0.8-hfd63f10_2 
  ca-certificates    anaconda/pkgs/main/linux-aarch64::ca-certificates-2023.08.22-hd43f75c_0 
  ld_impl_linux-aar~ anaconda/pkgs/main/linux-aarch64::ld_impl_linux-aarch64-2.38-h8131f2d_1 
  libffi             anaconda/pkgs/main/linux-aarch64::libffi-3.4.4-h419075a_0 
  libgcc-ng          anaconda/pkgs/main/linux-aarch64::libgcc-ng-11.2.0-h1234567_1 
  libgomp            anaconda/pkgs/main/linux-aarch64::libgomp-11.2.0-h1234567_1 
  libstdcxx-ng       anaconda/pkgs/main/linux-aarch64::libstdcxx-ng-11.2.0-h1234567_1 
  libuuid            anaconda/pkgs/main/linux-aarch64::libuuid-1.41.5-h998d150_0 
  ncurses            anaconda/pkgs/main/linux-aarch64::ncurses-6.4-h419075a_0 
  openssl            anaconda/pkgs/main/linux-aarch64::openssl-3.0.10-h2f4d8fa_2 
  pip                anaconda/pkgs/main/linux-aarch64::pip-23.2.1-py310hd43f75c_0 
  python             anaconda/pkgs/main/linux-aarch64::python-3.10.12-h4bb2201_0 
  readline           anaconda/pkgs/main/linux-aarch64::readline-8.2-h998d150_0 
  setuptools         anaconda/pkgs/main/linux-aarch64::setuptools-68.0.0-py310hd43f75c_0 
  sqlite             anaconda/pkgs/main/linux-aarch64::sqlite-3.41.2-h998d150_0 
  tk                 anaconda/pkgs/main/linux-aarch64::tk-8.6.12-h241ca14_0 
  tzdata             anaconda/pkgs/main/noarch::tzdata-2023c-h04d1e81_0 
  wheel              anaconda/pkgs/main/linux-aarch64::wheel-0.38.4-py310hd43f75c_0 
  xz                 anaconda/pkgs/main/linux-aarch64::xz-5.4.2-h998d150_0 
  zlib               anaconda/pkgs/main/linux-aarch64::zlib-1.2.13-h998d150_0 


Proceed ([y]/n)? y


Downloading and Extracting Packages
                                                                                                                                                                             
Preparing transaction: done                                                                                                                                                  
Verifying transaction: done                                                                                                                                                  
Executing transaction: done                                                                                                                                                  
#                                                                                                                                                                            
# To activate this environment, use                                                                                                                                          
#                                                                                                                                                                            
#     $ conda activate python3env                                                                                                                                            
#                                                                                                                                                                            
# To deactivate an active environment, use                                                                                                                                   
#                                                                                                                                                                            
#     $ conda deactivate                                                                                                                                                     
                                                                                                                                                                             
[root@ceph3 ~]# 

激活python3

[root@ceph3 ~]# conda activate python3env                                                                                                                                    
(python3env) [root@ceph3 ~]# python3 -V                                                                                                                                      
Python 3.10.12                                                                                                                                                               
(python3env) [root@ceph3 ~]# whereis python3
python3: /usr/bin/python3.7 /usr/bin/python3.7m /usr/bin/python3 /usr/bin/python3.7-config /usr/bin/python3.7m-aarch64-config /usr/bin/python3.7m-config /usr/bin/python3.7-cherryd /usr/lib/python3.7 /usr/lib64/python3.7 /usr/local/bin/python3.11 /usr/local/bin/python3.11-config /usr/local/bin/python3 /usr/local/lib/python3.11 /usr/include/python3.7m /root/mambaforge/envs/python3env/bin/python3 /root/mambaforge/envs/python3env/bin/python3.1 /root/mambaforge/envs/python3env/bin/python3.10 /root/mambaforge/envs/python3env/bin/python3.10-config 
相关推荐
爱编程的小金毛球球1 天前
-bash: /home/xxx/anaconda3/bin/conda: No such file or directory
linux·conda·bash
ChangYan.2 天前
CondaError: Run ‘conda init‘ before ‘conda activate‘解决办法
android·conda
不是伍壹2 天前
【Conda】Windows下conda的安装并在终端运行
windows·conda
!学习使我快乐!3 天前
在服务器里安装2个conda
conda
ChangYan.3 天前
‘conda‘ 不是内部或外部命令,也不是可运行的程序或批处理文件,Miniconda
conda
AI视觉网奇4 天前
conda 设置代理
conda
fly-974 天前
linux 安装anaconda3
linux·服务器·conda
毕竟是shy哥4 天前
conda虚拟环境迁移
python·机器学习·conda
神洛华4 天前
Python虚拟环境入门:虚拟环境如何工作、如何自定义创建和管理&管理工具venv、Virtualenv、conda
python·conda·virtualenv
开出南方的花5 天前
深度学习-pytorch安装与基本使用
人工智能·pytorch·深度学习·conda·张量