• 飞腾 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(成功)

    1. [root@ceph3 yeqiang]# sh Mambaforge-23.3.1-1-Linux-aarch64.sh
    2. Welcome to Mambaforge 23.3.1-1
    3. In order to continue the installation process, please review the license
    4. agreement.
    5. Please, press ENTER to continue
    6. >>>
    7. Miniforge installer code uses BSD-3-Clause license as stated below.
    8. Binary packages that come with it have their own licensing terms
    9. and by installing miniforge you agree to the licensing terms of individual
    10. packages as well. They include different OSI-approved licenses including
    11. the GNU General Public License and can be found in pkgs/<pkg-name>/info/licenses
    12. folders.
    13. Miniforge installer comes with a boostrapping executable that is used
    14. when installing miniforge and is deleted after miniforge is installed.
    15. The bootstrapping executable uses micromamba, cli11, cpp-filesystem,
    16. curl, c-ares, krb5, libarchive, libev, lz4, nghttp2, openssl, libsolv,
    17. nlohmann-json, reproc and zstd which are licensed under BSD-3-Clause,
    18. MIT and OpenSSL licenses. Licenses and copyright notices of these
    19. projects can be found at the following URL.
    20. https://github.com/conda-forge/micromamba-feedstock/tree/master/recipe.
    21. =============================================================================
    22. Copyright (c) 2019-2022, conda-forge
    23. All rights reserved.
    24. Redistribution and use in source and binary forms, with or without
    25. modification, are permitted provided that the following conditions are met:
    26. 1. Redistributions of source code must retain the above copyright notice, this
    27. list of conditions and the following disclaimer.
    28. 2. Redistributions in binary form must reproduce the above copyright notice,
    29. this list of conditions and the following disclaimer in the documentation
    30. and/or other materials provided with the distribution.
    31. 3. Neither the name of the copyright holder nor the names of its contributors
    32. may be used to endorse or promote products derived from this software without
    33. specific prior written permission.
    34. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
    35. ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
    36. WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
    37. DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
    38. FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    39. DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
    40. SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
    41. CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
    42. OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    43. OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    44. Do you accept the license terms? [yes|no]
    45. [no] >>> yes
    46. Mambaforge will now be installed into this location:
    47. /root/mambaforge
    48. - Press ENTER to confirm the location
    49. - Press CTRL-C to abort the installation
    50. - Or specify a different location below
    51. [/root/mambaforge] >>>
    52. PREFIX=/root/mambaforge
    53. Unpacking payload ...
    54. Extracting ca-certificates-2023.7.22-hcefe29a_0.conda
    55. Extracting ld_impl_linux-aarch64-2.40-h2d8c526_0.conda
    56. Extracting libgomp-13.1.0-h2b4548d_0.conda
    57. Extracting libstdcxx-ng-13.1.0-h452befe_0.conda
    58. Extracting pybind11-abi-4-hd8ed1ab_3.tar.bz2
    59. Extracting python_abi-3.10-3_cp310.conda
    60. Extracting tzdata-2023c-h71feb2d_0.conda
    61. Extracting _openmp_mutex-4.5-2_gnu.tar.bz2
    62. Extracting libgcc-ng-13.1.0-h2b4548d_0.conda
    63. Extracting bzip2-1.0.8-hf897c2e_4.tar.bz2
    64. Extracting c-ares-1.19.1-h31becfc_0.conda
    65. Extracting fmt-9.1.0-hdd96247_0.tar.bz2
    66. Extracting icu-73.2-h787c7f5_0.conda
    67. Extracting keyutils-1.6.1-h4e544f5_0.tar.bz2
    68. Extracting libev-4.33-h516909a_1.tar.bz2
    69. Extracting libffi-3.4.2-h3557bc0_5.tar.bz2
    70. Extracting libiconv-1.17-h9cdd2b7_0.tar.bz2
    71. Extracting libnsl-2.0.0-hf897c2e_0.tar.bz2
    72. Extracting libuuid-2.38.1-hb4cce97_0.conda
    73. Extracting libzlib-1.2.13-h31becfc_5.conda
    74. Extracting lz4-c-1.9.4-hd600fc2_0.conda
    75. Extracting lzo-2.10-h516909a_1000.tar.bz2
    76. Extracting ncurses-6.4-h2e1726e_0.conda
    77. Extracting openssl-3.1.2-h31becfc_0.conda
    78. Extracting reproc-14.2.4-hb4cce97_0.conda
    79. Extracting xz-5.2.6-h9cdd2b7_0.tar.bz2
    80. Extracting yaml-cpp-0.7.0-h4de3ea5_2.tar.bz2
    81. Extracting libedit-3.1.20191231-he28a2e2_2.tar.bz2
    82. Extracting libnghttp2-1.52.0-h250e5c5_0.conda
    83. Extracting libsolv-0.7.24-hd84c7bf_3.conda
    84. Extracting libsqlite-3.43.0-h194ca79_0.conda
    85. Extracting libssh2-1.11.0-h492db2e_0.conda
    86. Extracting libxml2-2.11.5-h3091e33_1.conda
    87. Extracting readline-8.2-h8fc344f_1.conda
    88. Extracting reproc-cpp-14.2.4-hd600fc2_0.conda
    89. Extracting tk-8.6.12-hd8af866_0.tar.bz2
    90. Extracting zstd-1.5.5-h4c53e97_0.conda
    91. Extracting krb5-1.21.2-hc419048_0.conda
    92. Extracting libarchive-3.6.2-h566b526_1.conda
    93. Extracting python-3.10.12-hbbe8eec_0_cpython.conda
    94. Extracting boltons-23.0.0-pyhd8ed1ab_0.conda
    95. Extracting brotli-python-1.1.0-py310hbb3657e_0.conda
    96. Extracting certifi-2023.7.22-pyhd8ed1ab_0.conda
    97. Extracting charset-normalizer-3.2.0-pyhd8ed1ab_0.conda
    98. Extracting colorama-0.4.6-pyhd8ed1ab_0.tar.bz2
    99. Extracting idna-3.4-pyhd8ed1ab_0.tar.bz2
    100. Extracting jsonpointer-2.0-py_0.tar.bz2
    101. Extracting libcurl-8.2.1-h4e8248e_0.conda
    102. Extracting packaging-23.1-pyhd8ed1ab_0.conda
    103. Extracting pluggy-1.3.0-pyhd8ed1ab_0.conda
    104. Extracting pycosat-0.6.4-py310h761cc84_1.tar.bz2
    105. Extracting pycparser-2.21-pyhd8ed1ab_0.tar.bz2
    106. Extracting pysocks-1.7.1-pyha2e5f31_6.tar.bz2
    107. Extracting ruamel.yaml.clib-0.2.7-py310hb89b984_1.conda
    108. Extracting setuptools-68.1.2-pyhd8ed1ab_0.conda
    109. Extracting toolz-0.12.0-pyhd8ed1ab_0.tar.bz2
    110. Extracting wheel-0.41.2-pyhd8ed1ab_0.conda
    111. Extracting cffi-1.15.1-py310hf0c4615_3.conda
    112. Extracting jsonpatch-1.32-pyhd8ed1ab_0.tar.bz2
    113. Extracting libmamba-1.4.2-h4a4fd89_0.conda
    114. Extracting pip-23.2.1-pyhd8ed1ab_0.conda
    115. Extracting ruamel.yaml-0.17.32-py310hb299538_0.conda
    116. Extracting tqdm-4.66.1-pyhd8ed1ab_0.conda
    117. Extracting urllib3-2.0.4-pyhd8ed1ab_0.conda
    118. Extracting cryptography-41.0.3-py310h34e2850_0.conda
    119. Extracting libmambapy-1.4.2-py310hbc2a718_0.conda
    120. Extracting requests-2.31.0-pyhd8ed1ab_0.conda
    121. Extracting zstandard-0.19.0-py310h761cc84_0.tar.bz2
    122. Extracting conda-package-streaming-0.9.0-pyhd8ed1ab_0.conda
    123. Extracting pyopenssl-23.2.0-pyhd8ed1ab_1.conda
    124. Extracting conda-package-handling-2.2.0-pyh38be061_0.conda
    125. Extracting conda-23.3.1-py310h4c7bcd0_0.conda
    126. Extracting conda-libmamba-solver-23.3.0-pyhd8ed1ab_0.conda
    127. Extracting mamba-1.4.2-py310hcbdc16a_0.conda
    128. Installing base environment...
    129. __
    130. __ ______ ___ ____ _____ ___ / /_ ____ _
    131. / / / / __ `__ \/ __ `/ __ `__ \/ __ \/ __ `/
    132. / /_/ / / / / / / /_/ / / / / / / /_/ / /_/ /
    133. / .___/_/ /_/ /_/\__,_/_/ /_/ /_/_.___/\__,_/
    134. /_/
    135. Transaction
    136. Prefix: /root/mambaforge
    137. Updating specs:
    138. - conda-forge/linux-aarch64::ca-certificates==2023.7.22=hcefe29a_0[md5=95d7f998087114466fa91e7c2887fa2f]
    139. - conda-forge/linux-aarch64::ld_impl_linux-aarch64==2.40=h2d8c526_0[md5=16246d69e945d0b1969a6099e7c5d457]
    140. - conda-forge/linux-aarch64::libgomp==13.1.0=h2b4548d_0[md5=eb95b60cbf85783b0fdd3fab2d8c320f]
    141. - conda-forge/linux-aarch64::libstdcxx-ng==13.1.0=h452befe_0[md5=572f5798bb3d4cc79650f0ca3149aeaa]
    142. - conda-forge/noarch::pybind11-abi==4=hd8ed1ab_3[md5=878f923dd6acc8aeb47a75da6c4098be]
    143. - conda-forge/linux-aarch64::python_abi==3.10=3_cp310[md5=7f4f00b03d3a7c4d4b8b987e5da461a9]
    144. - conda-forge/noarch::tzdata==2023c=h71feb2d_0[md5=939e3e74d8be4dac89ce83b20de2492a]
    145. - conda-forge/linux-aarch64::_openmp_mutex==4.5=2_gnu[md5=6168d71addc746e8f2b8d57dfd2edcea]
    146. - conda-forge/linux-aarch64::libgcc-ng==13.1.0=h2b4548d_0[md5=02619409d02932e28d694144b509597d]
    147. - conda-forge/linux-aarch64::bzip2==1.0.8=hf897c2e_4[md5=2d787570a729e273a4e75775ddf3348a]
    148. - conda-forge/linux-aarch64::c-ares==1.19.1=h31becfc_0[md5=92eb241dd6b9d9b782a299fdb95bc699]
    149. - conda-forge/linux-aarch64::fmt==9.1.0=hdd96247_0[md5=9250db7b71768a227b5fb9e075b5e53b]
    150. - conda-forge/linux-aarch64::icu==73.2=h787c7f5_0[md5=9d3c29d71f28452a2e843aff8cbe09d2]
    151. - conda-forge/linux-aarch64::keyutils==1.6.1=h4e544f5_0[md5=1f24853e59c68892452ef94ddd8afd4b]
    152. - conda-forge/linux-aarch64::libev==4.33=h516909a_1[md5=9eac5901791494108c9b9ab85ca8aa93]
    153. - conda-forge/linux-aarch64::libffi==3.4.2=h3557bc0_5[md5=dddd85f4d52121fab0a8b099c5e06501]
    154. - conda-forge/linux-aarch64::libiconv==1.17=h9cdd2b7_0[md5=efc27cfbc82a027f65c02c661832ecfc]
    155. - conda-forge/linux-aarch64::libnsl==2.0.0=hf897c2e_0[md5=36fdbc05c9d9145ece86f5a63c3f352e]
    156. - conda-forge/linux-aarch64::libuuid==2.38.1=hb4cce97_0[md5=000e30b09db0b7c775b21695dff30969]
    157. - conda-forge/linux-aarch64::libzlib==1.2.13=h31becfc_5[md5=b213aa87eea9491ef7b129179322e955]
    158. - conda-forge/linux-aarch64::lz4-c==1.9.4=hd600fc2_0[md5=500145a83ed07ce79c8cef24252f366b]
    159. - conda-forge/linux-aarch64::lzo==2.10=h516909a_1000[md5=ef5661339990c399c68c71cfb341e6d7]
    160. - conda-forge/linux-aarch64::ncurses==6.4=h2e1726e_0[md5=40beaf447150c2760affc591c7509595]
    161. - conda-forge/linux-aarch64::openssl==3.1.2=h31becfc_0[md5=fde5a105b2bc9d6eced8a23005492c7e]
    162. - conda-forge/linux-aarch64::reproc==14.2.4=hb4cce97_0[md5=ce483bf1d751947c68ea525f55f00573]
    163. - conda-forge/linux-aarch64::xz==5.2.6=h9cdd2b7_0[md5=83baad393a31d59c20b63ba4da6592df]
    164. - conda-forge/linux-aarch64::yaml-cpp==0.7.0=h4de3ea5_2[md5=87d60487be313187187affcf70d32b29]
    165. - conda-forge/linux-aarch64::libedit==3.1.20191231=he28a2e2_2[md5=29371161d77933a54fccf1bb66b96529]
    166. - conda-forge/linux-aarch64::libnghttp2==1.52.0=h250e5c5_0[md5=bfacd7a58ed56ff30d9454d32513d8d3]
    167. - conda-forge/linux-aarch64::libsolv==0.7.24=hd84c7bf_3[md5=05dd2c60fcb727455ee33bfd89676990]
    168. - conda-forge/linux-aarch64::libsqlite==3.43.0=h194ca79_0[md5=9df5c3004549dc17b49843e0ce88c0fe]
    169. - conda-forge/linux-aarch64::libssh2==1.11.0=h492db2e_0[md5=45532845e121677ad328c9af9953f161]
    170. - conda-forge/linux-aarch64::libxml2==2.11.5=h3091e33_1[md5=32df81aac32e3196589e176572d9c720]
    171. - conda-forge/linux-aarch64::readline==8.2=h8fc344f_1[md5=105eb1e16bf83bfb2eb380a48032b655]
    172. - conda-forge/linux-aarch64::reproc-cpp==14.2.4=hd600fc2_0[md5=f2ba4e3adf041e375c41fee047408952]
    173. - conda-forge/linux-aarch64::tk==8.6.12=hd8af866_0[md5=7894e82ff743bd96c76585ddebe28e2a]
    174. - conda-forge/linux-aarch64::zstd==1.5.5=h4c53e97_0[md5=b74eb9dbb5c3c15cb3cee7cbdf198c75]
    175. - conda-forge/linux-aarch64::krb5==1.21.2=hc419048_0[md5=55b51af37bf6fdcfe06f140e62e8c8db]
    176. - conda-forge/linux-aarch64::libarchive==3.6.2=h566b526_1[md5=cfffef8050fbc22190c85b3f9a45a27f]
    177. - conda-forge/linux-aarch64::python==3.10.12=hbbe8eec_0_cpython[md5=020fe1f640c2566b6b6606698b0aeebd]
    178. - conda-forge/noarch::boltons==23.0.0=pyhd8ed1ab_0[md5=033eb25fffd222aceeca6d58cd953680]
    179. - conda-forge/linux-aarch64::brotli-python==1.1.0=py310hbb3657e_0[md5=b40cf13cb25892e364036cdec78fac40]
    180. - conda-forge/noarch::certifi==2023.7.22=pyhd8ed1ab_0[md5=7f3dbc9179b4dde7da98dfb151d0ad22]
    181. - conda-forge/noarch::charset-normalizer==3.2.0=pyhd8ed1ab_0[md5=313516e9a4b08b12dfb1e1cd390a96e3]
    182. - conda-forge/noarch::colorama==0.4.6=pyhd8ed1ab_0[md5=3faab06a954c2a04039983f2c4a50d99]
    183. - conda-forge/noarch::idna==3.4=pyhd8ed1ab_0[md5=34272b248891bddccc64479f9a7fffed]
    184. - conda-forge/noarch::jsonpointer==2.0=py_0[md5=07d85c22a3beb102a48cd123df84c2a6]
    185. - conda-forge/linux-aarch64::libcurl==8.2.1=h4e8248e_0[md5=8f4ee59f04f68c339e02947d8ae56ee2]
    186. - conda-forge/noarch::packaging==23.1=pyhd8ed1ab_0[md5=91cda59e66e1e4afe9476f8ef98f5c30]
    187. - conda-forge/noarch::pluggy==1.3.0=pyhd8ed1ab_0[md5=2390bd10bed1f3fdc7a537fb5a447d8d]
    188. - conda-forge/linux-aarch64::pycosat==0.6.4=py310h761cc84_1[md5=c701cff6d6e7907c93ab603e58082a7c]
    189. - conda-forge/noarch::pycparser==2.21=pyhd8ed1ab_0[md5=076becd9e05608f8dc72757d5f3a91ff]
    190. - conda-forge/noarch::pysocks==1.7.1=pyha2e5f31_6[md5=2a7de29fb590ca14b5243c4c812c8025]
    191. - conda-forge/linux-aarch64::ruamel.yaml.clib==0.2.7=py310hb89b984_1[md5=89972c78c36ed3261c22bde7c012be03]
    192. - conda-forge/noarch::setuptools==68.1.2=pyhd8ed1ab_0[md5=4fe12573bf499ff85a0a364e00cc5c53]
    193. - conda-forge/noarch::toolz==0.12.0=pyhd8ed1ab_0[md5=92facfec94bc02d6ccf42e7173831a36]
    194. - conda-forge/noarch::wheel==0.41.2=pyhd8ed1ab_0[md5=1ccd092478b3e0ee10d7a891adbf8a4f]
    195. - conda-forge/linux-aarch64::cffi==1.15.1=py310hf0c4615_3[md5=a2bedcb1d205485ea32fe5d2bd6fd970]
    196. - conda-forge/noarch::jsonpatch==1.32=pyhd8ed1ab_0[md5=09150b51b0528a31a0f6500b96fdde82]
    197. - conda-forge/linux-aarch64::libmamba==1.4.2=h4a4fd89_0[md5=75d654bb24804a39788ed8c1dc863d71]
    198. - conda-forge/noarch::pip==23.2.1=pyhd8ed1ab_0[md5=e2783aa3f9235225eec92f9081c5b801]
    199. - conda-forge/linux-aarch64::ruamel.yaml==0.17.32=py310hb299538_0[md5=2e7d1ec9009118bd944f229bfbb64a02]
    200. - conda-forge/noarch::tqdm==4.66.1=pyhd8ed1ab_0[md5=03c97908b976498dcae97eb4e4f3149c]
    201. - conda-forge/noarch::urllib3==2.0.4=pyhd8ed1ab_0[md5=18badd8fa3648d1beb1fcc7f2e0f756e]
    202. - conda-forge/linux-aarch64::cryptography==41.0.3=py310h34e2850_0[md5=b53edcf21d3af146927b62eff4aa4bf0]
    203. - conda-forge/linux-aarch64::libmambapy==1.4.2=py310hbc2a718_0[md5=cca4d3753a0142cf5c3d9103c49c650c]
    204. - conda-forge/noarch::requests==2.31.0=pyhd8ed1ab_0[md5=a30144e4156cdbb236f99ebb49828f8b]
    205. - conda-forge/linux-aarch64::zstandard==0.19.0=py310h761cc84_0[md5=328e619cfbc149b7713689ecf10cde2c]
    206. - conda-forge/noarch::conda-package-streaming==0.9.0=pyhd8ed1ab_0[md5=38253361efb303deead3eab39ae9269b]
    207. - conda-forge/noarch::pyopenssl==23.2.0=pyhd8ed1ab_1[md5=34f7d568bf59d18e3fef8c405cbece21]
    208. - conda-forge/noarch::conda-package-handling==2.2.0=pyh38be061_0[md5=8a3ae7f6318376aa08ea753367bb7dd6]
    209. - conda-forge/linux-aarch64::conda==23.3.1=py310h4c7bcd0_0[md5=6224c97a062a56a490d6a13394938c76]
    210. - conda-forge/noarch::conda-libmamba-solver==23.3.0=pyhd8ed1ab_0[md5=2edd368915b8a1c3e294c9ac944390d9]
    211. - conda-forge/linux-aarch64::mamba==1.4.2=py310hcbdc16a_0[md5=81560df7af1e326bac7998b2ebd9f17e]
    212. Package Version Build Channel Size
    213. ───────────────────────────────────────────────────────────────────────────────────────
    214. Install:
    215. ───────────────────────────────────────────────────────────────────────────────────────
    216. + _openmp_mutex 4.5 2_gnu conda-forge Cached
    217. + boltons 23.0.0 pyhd8ed1ab_0 conda-forge Cached
    218. + brotli-python 1.1.0 py310hbb3657e_0 conda-forge Cached
    219. + bzip2 1.0.8 hf897c2e_4 conda-forge Cached
    220. + c-ares 1.19.1 h31becfc_0 conda-forge Cached
    221. + ca-certificates 2023.7.22 hcefe29a_0 conda-forge Cached
    222. + certifi 2023.7.22 pyhd8ed1ab_0 conda-forge Cached
    223. + cffi 1.15.1 py310hf0c4615_3 conda-forge Cached
    224. + charset-normalizer 3.2.0 pyhd8ed1ab_0 conda-forge Cached
    225. + colorama 0.4.6 pyhd8ed1ab_0 conda-forge Cached
    226. + conda 23.3.1 py310h4c7bcd0_0 conda-forge Cached
    227. + conda-libmamba-solver 23.3.0 pyhd8ed1ab_0 conda-forge Cached
    228. + conda-package-handling 2.2.0 pyh38be061_0 conda-forge Cached
    229. + conda-package-streaming 0.9.0 pyhd8ed1ab_0 conda-forge Cached
    230. + cryptography 41.0.3 py310h34e2850_0 conda-forge Cached
    231. + fmt 9.1.0 hdd96247_0 conda-forge Cached
    232. + icu 73.2 h787c7f5_0 conda-forge Cached
    233. + idna 3.4 pyhd8ed1ab_0 conda-forge Cached
    234. + jsonpatch 1.32 pyhd8ed1ab_0 conda-forge Cached
    235. + jsonpointer 2.0 py_0 conda-forge Cached
    236. + keyutils 1.6.1 h4e544f5_0 conda-forge Cached
    237. + krb5 1.21.2 hc419048_0 conda-forge Cached
    238. + ld_impl_linux-aarch64 2.40 h2d8c526_0 conda-forge Cached
    239. + libarchive 3.6.2 h566b526_1 conda-forge Cached
    240. + libcurl 8.2.1 h4e8248e_0 conda-forge Cached
    241. + libedit 3.1.20191231 he28a2e2_2 conda-forge Cached
    242. + libev 4.33 h516909a_1 conda-forge Cached
    243. + libffi 3.4.2 h3557bc0_5 conda-forge Cached
    244. + libgcc-ng 13.1.0 h2b4548d_0 conda-forge Cached
    245. + libgomp 13.1.0 h2b4548d_0 conda-forge Cached
    246. + libiconv 1.17 h9cdd2b7_0 conda-forge Cached
    247. + libmamba 1.4.2 h4a4fd89_0 conda-forge Cached
    248. + libmambapy 1.4.2 py310hbc2a718_0 conda-forge Cached
    249. + libnghttp2 1.52.0 h250e5c5_0 conda-forge Cached
    250. + libnsl 2.0.0 hf897c2e_0 conda-forge Cached
    251. + libsolv 0.7.24 hd84c7bf_3 conda-forge Cached
    252. + libsqlite 3.43.0 h194ca79_0 conda-forge Cached
    253. + libssh2 1.11.0 h492db2e_0 conda-forge Cached
    254. + libstdcxx-ng 13.1.0 h452befe_0 conda-forge Cached
    255. + libuuid 2.38.1 hb4cce97_0 conda-forge Cached
    256. + libxml2 2.11.5 h3091e33_1 conda-forge Cached
    257. + libzlib 1.2.13 h31becfc_5 conda-forge Cached
    258. + lz4-c 1.9.4 hd600fc2_0 conda-forge Cached
    259. + lzo 2.10 h516909a_1000 conda-forge Cached
    260. + mamba 1.4.2 py310hcbdc16a_0 conda-forge Cached
    261. + ncurses 6.4 h2e1726e_0 conda-forge Cached
    262. + openssl 3.1.2 h31becfc_0 conda-forge Cached
    263. + packaging 23.1 pyhd8ed1ab_0 conda-forge Cached
    264. + pip 23.2.1 pyhd8ed1ab_0 conda-forge Cached
    265. + pluggy 1.3.0 pyhd8ed1ab_0 conda-forge Cached
    266. + pybind11-abi 4 hd8ed1ab_3 conda-forge Cached
    267. + pycosat 0.6.4 py310h761cc84_1 conda-forge Cached
    268. + pycparser 2.21 pyhd8ed1ab_0 conda-forge Cached
    269. + pyopenssl 23.2.0 pyhd8ed1ab_1 conda-forge Cached
    270. + pysocks 1.7.1 pyha2e5f31_6 conda-forge Cached
    271. + python 3.10.12 hbbe8eec_0_cpython conda-forge Cached
    272. + python_abi 3.10 3_cp310 conda-forge Cached
    273. + readline 8.2 h8fc344f_1 conda-forge Cached
    274. + reproc 14.2.4 hb4cce97_0 conda-forge Cached
    275. + reproc-cpp 14.2.4 hd600fc2_0 conda-forge Cached
    276. + requests 2.31.0 pyhd8ed1ab_0 conda-forge Cached
    277. + ruamel.yaml 0.17.32 py310hb299538_0 conda-forge Cached
    278. + ruamel.yaml.clib 0.2.7 py310hb89b984_1 conda-forge Cached
    279. + setuptools 68.1.2 pyhd8ed1ab_0 conda-forge Cached
    280. + tk 8.6.12 hd8af866_0 conda-forge Cached
    281. + toolz 0.12.0 pyhd8ed1ab_0 conda-forge Cached
    282. + tqdm 4.66.1 pyhd8ed1ab_0 conda-forge Cached
    283. + tzdata 2023c h71feb2d_0 conda-forge Cached
    284. + urllib3 2.0.4 pyhd8ed1ab_0 conda-forge Cached
    285. + wheel 0.41.2 pyhd8ed1ab_0 conda-forge Cached
    286. + xz 5.2.6 h9cdd2b7_0 conda-forge Cached
    287. + yaml-cpp 0.7.0 h4de3ea5_2 conda-forge Cached
    288. + zstandard 0.19.0 py310h761cc84_0 conda-forge Cached
    289. + zstd 1.5.5 h4c53e97_0 conda-forge Cached
    290. Summary:
    291. Install: 74 packages
    292. Total download: 0 B
    293. ───────────────────────────────────────────────────────────────────────────────────────
    294. Transaction starting
    295. Linking ca-certificates-2023.7.22-hcefe29a_0
    296. Linking ld_impl_linux-aarch64-2.40-h2d8c526_0
    297. Linking libgomp-13.1.0-h2b4548d_0
    298. Linking libstdcxx-ng-13.1.0-h452befe_0
    299. Linking pybind11-abi-4-hd8ed1ab_3
    300. Linking python_abi-3.10-3_cp310
    301. Linking tzdata-2023c-h71feb2d_0
    302. Linking _openmp_mutex-4.5-2_gnu
    303. Linking libgcc-ng-13.1.0-h2b4548d_0
    304. Linking bzip2-1.0.8-hf897c2e_4
    305. Linking c-ares-1.19.1-h31becfc_0
    306. Linking fmt-9.1.0-hdd96247_0
    307. Linking icu-73.2-h787c7f5_0
    308. Linking keyutils-1.6.1-h4e544f5_0
    309. Linking libev-4.33-h516909a_1
    310. Linking libffi-3.4.2-h3557bc0_5
    311. Linking libiconv-1.17-h9cdd2b7_0
    312. Linking libnsl-2.0.0-hf897c2e_0
    313. Linking libuuid-2.38.1-hb4cce97_0
    314. Linking libzlib-1.2.13-h31becfc_5
    315. Linking lz4-c-1.9.4-hd600fc2_0
    316. Linking lzo-2.10-h516909a_1000
    317. Linking ncurses-6.4-h2e1726e_0
    318. Linking openssl-3.1.2-h31becfc_0
    319. Linking reproc-14.2.4-hb4cce97_0
    320. Linking xz-5.2.6-h9cdd2b7_0
    321. Linking yaml-cpp-0.7.0-h4de3ea5_2
    322. Linking libedit-3.1.20191231-he28a2e2_2
    323. Linking libnghttp2-1.52.0-h250e5c5_0
    324. Linking libsolv-0.7.24-hd84c7bf_3
    325. Linking libsqlite-3.43.0-h194ca79_0
    326. Linking libssh2-1.11.0-h492db2e_0
    327. Linking libxml2-2.11.5-h3091e33_1
    328. Linking readline-8.2-h8fc344f_1
    329. Linking reproc-cpp-14.2.4-hd600fc2_0
    330. Linking tk-8.6.12-hd8af866_0
    331. Linking zstd-1.5.5-h4c53e97_0
    332. Linking krb5-1.21.2-hc419048_0
    333. Linking libarchive-3.6.2-h566b526_1
    334. Linking python-3.10.12-hbbe8eec_0_cpython
    335. Linking boltons-23.0.0-pyhd8ed1ab_0
    336. Linking brotli-python-1.1.0-py310hbb3657e_0
    337. Linking certifi-2023.7.22-pyhd8ed1ab_0
    338. Linking charset-normalizer-3.2.0-pyhd8ed1ab_0
    339. Linking colorama-0.4.6-pyhd8ed1ab_0
    340. Linking idna-3.4-pyhd8ed1ab_0
    341. Linking jsonpointer-2.0-py_0
    342. Linking libcurl-8.2.1-h4e8248e_0
    343. Linking packaging-23.1-pyhd8ed1ab_0
    344. Linking pluggy-1.3.0-pyhd8ed1ab_0
    345. Linking pycosat-0.6.4-py310h761cc84_1
    346. Linking pycparser-2.21-pyhd8ed1ab_0
    347. Linking pysocks-1.7.1-pyha2e5f31_6
    348. Linking ruamel.yaml.clib-0.2.7-py310hb89b984_1
    349. Linking setuptools-68.1.2-pyhd8ed1ab_0
    350. Linking toolz-0.12.0-pyhd8ed1ab_0
    351. Linking wheel-0.41.2-pyhd8ed1ab_0
    352. Linking cffi-1.15.1-py310hf0c4615_3
    353. Linking jsonpatch-1.32-pyhd8ed1ab_0
    354. Linking libmamba-1.4.2-h4a4fd89_0
    355. Linking pip-23.2.1-pyhd8ed1ab_0
    356. Linking ruamel.yaml-0.17.32-py310hb299538_0
    357. Linking tqdm-4.66.1-pyhd8ed1ab_0
    358. Linking urllib3-2.0.4-pyhd8ed1ab_0
    359. Linking cryptography-41.0.3-py310h34e2850_0
    360. Linking libmambapy-1.4.2-py310hbc2a718_0
    361. Linking requests-2.31.0-pyhd8ed1ab_0
    362. Linking zstandard-0.19.0-py310h761cc84_0
    363. Linking conda-package-streaming-0.9.0-pyhd8ed1ab_0
    364. Linking pyopenssl-23.2.0-pyhd8ed1ab_1
    365. Linking conda-package-handling-2.2.0-pyh38be061_0
    366. Linking conda-23.3.1-py310h4c7bcd0_0
    367. Linking conda-libmamba-solver-23.3.0-pyhd8ed1ab_0
    368. Linking mamba-1.4.2-py310hcbdc16a_0
    369. Transaction finished
    370. installation finished.
    371. Do you wish the installer to initialize Mambaforge
    372. by running conda init? [yes|no]
    373. [no] >>> yes
    374. no change /root/mambaforge/condabin/conda
    375. no change /root/mambaforge/bin/conda
    376. no change /root/mambaforge/bin/conda-env
    377. no change /root/mambaforge/bin/activate
    378. no change /root/mambaforge/bin/deactivate
    379. no change /root/mambaforge/etc/profile.d/conda.sh
    380. no change /root/mambaforge/etc/fish/conf.d/conda.fish
    381. no change /root/mambaforge/shell/condabin/Conda.psm1
    382. no change /root/mambaforge/shell/condabin/conda-hook.ps1
    383. no change /root/mambaforge/lib/python3.10/site-packages/xontrib/conda.xsh
    384. no change /root/mambaforge/etc/profile.d/conda.csh
    385. modified /root/.bashrc
    386. ==> For changes to take effect, close and re-open your current shell. <==
    387. __ __ __ __
    388. / \ / \ / \ / \
    389. / \/ \/ \/ \
    390. ███████████████/ /██/ /██/ /██/ /████████████████████████
    391. / / \ / \ / \ / \ \____
    392. / / \_/ \_/ \_/ \ o \__,
    393. / _/ \_____/ `
    394. |/
    395. ███╗ ███╗ █████╗ ███╗ ███╗██████╗ █████╗
    396. ████╗ ████║██╔══██╗████╗ ████║██╔══██╗██╔══██╗
    397. ██╔████╔██║███████║██╔████╔██║██████╔╝███████║
    398. ██║╚██╔╝██║██╔══██║██║╚██╔╝██║██╔══██╗██╔══██║
    399. ██║ ╚═╝ ██║██║ ██║██║ ╚═╝ ██║██████╔╝██║ ██║
    400. ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝
    401. mamba (1.4.2) supported by @QuantStack
    402. GitHub: https://github.com/mamba-org/mamba
    403. Twitter: https://twitter.com/QuantStack
    404. █████████████████████████████████████████████████████████████
    405. no change /root/mambaforge/condabin/conda
    406. no change /root/mambaforge/bin/conda
    407. no change /root/mambaforge/bin/conda-env
    408. no change /root/mambaforge/bin/activate
    409. no change /root/mambaforge/bin/deactivate
    410. no change /root/mambaforge/etc/profile.d/conda.sh
    411. no change /root/mambaforge/etc/fish/conf.d/conda.fish
    412. no change /root/mambaforge/shell/condabin/Conda.psm1
    413. no change /root/mambaforge/shell/condabin/conda-hook.ps1
    414. no change /root/mambaforge/lib/python3.10/site-packages/xontrib/conda.xsh
    415. no change /root/mambaforge/etc/profile.d/conda.csh
    416. no change /root/.bashrc
    417. No action taken.
    418. Added mamba to /root/.bashrc
    419. ==> For changes to take effect, close and re-open your current shell. <==
    420. If you'd prefer that conda's base environment not be activated on startup,
    421. set the auto_activate_base parameter to false:
    422. conda config --set auto_activate_base false
    423. Thank you for installing Mambaforge!

    重新登录,激活.bashrc

    1. [root@ceph3 ~]# whereis conda
    2. conda: /root/mambaforge/condabin/conda
    3. [root@ceph3 ~]# conda list
    4. # packages in environment at /root/mambaforge:
    5. #
    6. # Name Version Build Channel
    7. _openmp_mutex 4.5 2_gnu conda-forge
    8. boltons 23.0.0 pyhd8ed1ab_0 conda-forge
    9. brotli-python 1.1.0 py310hbb3657e_0 conda-forge
    10. bzip2 1.0.8 hf897c2e_4 conda-forge
    11. c-ares 1.19.1 h31becfc_0 conda-forge
    12. ca-certificates 2023.7.22 hcefe29a_0 conda-forge
    13. certifi 2023.7.22 pyhd8ed1ab_0 conda-forge
    14. cffi 1.15.1 py310hf0c4615_3 conda-forge
    15. charset-normalizer 3.2.0 pyhd8ed1ab_0 conda-forge
    16. colorama 0.4.6 pyhd8ed1ab_0 conda-forge
    17. conda 23.3.1 py310h4c7bcd0_0 conda-forge
    18. conda-libmamba-solver 23.3.0 pyhd8ed1ab_0 conda-forge
    19. conda-package-handling 2.2.0 pyh38be061_0 conda-forge
    20. conda-package-streaming 0.9.0 pyhd8ed1ab_0 conda-forge
    21. cryptography 41.0.3 py310h34e2850_0 conda-forge
    22. fmt 9.1.0 hdd96247_0 conda-forge
    23. icu 73.2 h787c7f5_0 conda-forge
    24. idna 3.4 pyhd8ed1ab_0 conda-forge
    25. jsonpatch 1.32 pyhd8ed1ab_0 conda-forge
    26. jsonpointer 2.0 py_0 conda-forge
    27. keyutils 1.6.1 h4e544f5_0 conda-forge
    28. krb5 1.21.2 hc419048_0 conda-forge
    29. ld_impl_linux-aarch64 2.40 h2d8c526_0 conda-forge
    30. libarchive 3.6.2 h566b526_1 conda-forge
    31. libcurl 8.2.1 h4e8248e_0 conda-forge
    32. libedit 3.1.20191231 he28a2e2_2 conda-forge
    33. libev 4.33 h516909a_1 conda-forge
    34. libffi 3.4.2 h3557bc0_5 conda-forge
    35. libgcc-ng 13.1.0 h2b4548d_0 conda-forge
    36. libgomp 13.1.0 h2b4548d_0 conda-forge
    37. libiconv 1.17 h9cdd2b7_0 conda-forge
    38. libmamba 1.4.2 h4a4fd89_0 conda-forge
    39. libmambapy 1.4.2 py310hbc2a718_0 conda-forge
    40. libnghttp2 1.52.0 h250e5c5_0 conda-forge
    41. libnsl 2.0.0 hf897c2e_0 conda-forge
    42. libsolv 0.7.24 hd84c7bf_3 conda-forge
    43. libsqlite 3.43.0 h194ca79_0 conda-forge
    44. libssh2 1.11.0 h492db2e_0 conda-forge
    45. libstdcxx-ng 13.1.0 h452befe_0 conda-forge
    46. libuuid 2.38.1 hb4cce97_0 conda-forge
    47. libxml2 2.11.5 h3091e33_1 conda-forge
    48. libzlib 1.2.13 h31becfc_5 conda-forge
    49. lz4-c 1.9.4 hd600fc2_0 conda-forge
    50. lzo 2.10 h516909a_1000 conda-forge
    51. mamba 1.4.2 py310hcbdc16a_0 conda-forge
    52. ncurses 6.4 h2e1726e_0 conda-forge
    53. openssl 3.1.2 h31becfc_0 conda-forge
    54. packaging 23.1 pyhd8ed1ab_0 conda-forge
    55. pip 23.2.1 pyhd8ed1ab_0 conda-forge
    56. pluggy 1.3.0 pyhd8ed1ab_0 conda-forge
    57. pybind11-abi 4 hd8ed1ab_3 conda-forge
    58. pycosat 0.6.4 py310h761cc84_1 conda-forge
    59. pycparser 2.21 pyhd8ed1ab_0 conda-forge
    60. pyopenssl 23.2.0 pyhd8ed1ab_1 conda-forge
    61. pysocks 1.7.1 pyha2e5f31_6 conda-forge
    62. python 3.10.12 hbbe8eec_0_cpython conda-forge
    63. python_abi 3.10 3_cp310 conda-forge
    64. readline 8.2 h8fc344f_1 conda-forge
    65. reproc 14.2.4 hb4cce97_0 conda-forge
    66. reproc-cpp 14.2.4 hd600fc2_0 conda-forge
    67. requests 2.31.0 pyhd8ed1ab_0 conda-forge
    68. ruamel.yaml 0.17.32 py310hb299538_0 conda-forge
    69. ruamel.yaml.clib 0.2.7 py310hb89b984_1 conda-forge
    70. setuptools 68.1.2 pyhd8ed1ab_0 conda-forge
    71. tk 8.6.12 hd8af866_0 conda-forge
    72. toolz 0.12.0 pyhd8ed1ab_0 conda-forge
    73. tqdm 4.66.1 pyhd8ed1ab_0 conda-forge
    74. tzdata 2023c h71feb2d_0 conda-forge
    75. urllib3 2.0.4 pyhd8ed1ab_0 conda-forge
    76. wheel 0.41.2 pyhd8ed1ab_0 conda-forge
    77. xz 5.2.6 h9cdd2b7_0 conda-forge
    78. yaml-cpp 0.7.0 h4de3ea5_2 conda-forge
    79. zstandard 0.19.0 py310h761cc84_0 conda-forge
    80. zstd 1.5.5 h4c53e97_0 conda-forge

    配置国内源,参考:

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

    效果

    1. [root@ceph3 ~]# conda config --show
    2. add_anaconda_token: True
    3. add_pip_as_python_dependency: True
    4. aggressive_update_packages:
    5. - ca-certificates
    6. - certifi
    7. - openssl
    8. allow_conda_downgrades: False
    9. allow_cycles: True
    10. allow_non_channel_urls: False
    11. allow_softlinks: False
    12. allowlist_channels: []
    13. always_copy: False
    14. always_softlink: False
    15. always_yes: None
    16. anaconda_upload: None
    17. auto_activate_base: False
    18. auto_stack: 0
    19. auto_update_conda: True
    20. bld_path:
    21. changeps1: True
    22. channel_alias: https://conda.anaconda.org
    23. channel_priority: flexible
    24. channel_settings: []
    25. channels:
    26. - defaults
    27. - conda-forge
    28. client_ssl_cert: None
    29. client_ssl_cert_key: None
    30. clobber: False
    31. conda_build: {}
    32. create_default_packages: []
    33. croot: /root/mambaforge/conda-bld
    34. custom_channels:
    35. anaconda/pkgs/main: https://mirrors.tuna.tsinghua.edu.cn
    36. anaconda/pkgs/free: https://mirrors.tuna.tsinghua.edu.cn
    37. anaconda/pkgs/r: https://mirrors.tuna.tsinghua.edu.cn
    38. conda-forge: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
    39. msys2: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
    40. bioconda: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
    41. menpo: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
    42. pytorch: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
    43. simpleitk: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
    44. custom_multichannels:
    45. defaults:
    46. - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
    47. - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
    48. - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r
    49. local:
    50. debug: False
    51. default_channels:
    52. - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
    53. - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
    54. - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r
    55. default_python: 3.10
    56. default_threads: None
    57. deps_modifier: not_set
    58. dev: False
    59. disallowed_packages: []
    60. download_only: False
    61. dry_run: False
    62. enable_private_envs: False
    63. env_prompt: ({default_env})
    64. envs_dirs:
    65. - /root/mambaforge/envs
    66. - /root/.conda/envs
    67. error_upload_url: https://conda.io/conda-post/unexpected-error
    68. execute_threads: 1
    69. experimental: []
    70. extra_safety_checks: False
    71. fetch_threads: 5
    72. force: False
    73. force_32bit: False
    74. force_reinstall: False
    75. force_remove: False
    76. ignore_pinned: False
    77. json: False
    78. local_repodata_ttl: 1
    79. migrated_channel_aliases: []
    80. migrated_custom_channels: {}
    81. non_admin_enabled: True
    82. notify_outdated_conda: True
    83. number_channel_notices: 5
    84. offline: False
    85. override_channels_enabled: True
    86. path_conflict: clobber
    87. pinned_packages: []
    88. pip_interop_enabled: False
    89. pkgs_dirs:
    90. - /root/mambaforge/pkgs
    91. - /root/.conda/pkgs
    92. proxy_servers: {}
    93. quiet: False
    94. remote_backoff_factor: 1
    95. remote_connect_timeout_secs: 9.15
    96. remote_max_retries: 3
    97. remote_read_timeout_secs: 60.0
    98. repodata_fns:
    99. - current_repodata.json
    100. - repodata.json
    101. repodata_threads: None
    102. report_errors: None
    103. restore_free_channel: False
    104. rollback_enabled: True
    105. root_prefix: /root/mambaforge
    106. safety_checks: warn
    107. sat_solver: pycosat
    108. separate_format_cache: False
    109. shortcuts: True
    110. show_channel_urls: True
    111. signing_metadata_url_base: None
    112. solver: classic
    113. solver_ignore_timestamps: False
    114. ssl_verify: True
    115. subdir: linux-aarch64
    116. subdirs:
    117. - linux-aarch64
    118. - noarch
    119. target_prefix_override:
    120. track_features: []
    121. unsatisfiable_hints: True
    122. unsatisfiable_hints_check_depth: 2
    123. update_modifier: update_specs
    124. use_index_cache: False
    125. use_local: False
    126. use_only_tar_bz2: False
    127. verbosity: 0
    128. verify_threads: 1

    创建python3环境

    1. [root@ceph3 ~]# conda create -n python3env python==3.10.12
    2. Collecting package metadata (current_repodata.json): done
    3. Solving environment: done
    4. ==> WARNING: A newer version of conda exists. <==
    5. current version: 23.3.1
    6. latest version: 23.7.3
    7. Please update conda by running
    8. $ conda update -n base -c conda-forge conda
    9. Or to minimize the number of packages updated during conda update use
    10. conda install conda=23.7.3
    11. ## Package Plan ##
    12. environment location: /root/mambaforge/envs/python3env
    13. added / updated specs:
    14. - python==3.10.12
    15. The following packages will be downloaded:
    16. package | build
    17. ---------------------------|-----------------
    18. _libgcc_mutex-0.1 | main 2 KB defaults
    19. _openmp_mutex-5.1 | 51_gnu 1.4 MB defaults
    20. bzip2-1.0.8 | hfd63f10_2 85 KB defaults
    21. ca-certificates-2023.08.22 | hd43f75c_0 123 KB defaults
    22. ld_impl_linux-aarch64-2.38 | h8131f2d_1 778 KB defaults
    23. libffi-3.4.4 | h419075a_0 139 KB defaults
    24. libgcc-ng-11.2.0 | h1234567_1 1.3 MB defaults
    25. libgomp-11.2.0 | h1234567_1 466 KB defaults
    26. libstdcxx-ng-11.2.0 | h1234567_1 779 KB defaults
    27. libuuid-1.41.5 | h998d150_0 29 KB defaults
    28. ncurses-6.4 | h419075a_0 1.1 MB defaults
    29. openssl-3.0.10 | h2f4d8fa_2 5.3 MB defaults
    30. pip-23.2.1 | py310hd43f75c_0 2.7 MB defaults
    31. python-3.10.12 | h4bb2201_0 13.0 MB defaults
    32. readline-8.2 | h998d150_0 381 KB defaults
    33. setuptools-68.0.0 | py310hd43f75c_0 952 KB defaults
    34. sqlite-3.41.2 | h998d150_0 1.4 MB defaults
    35. tk-8.6.12 | h241ca14_0 3.2 MB defaults
    36. tzdata-2023c | h04d1e81_0 116 KB defaults
    37. wheel-0.38.4 | py310hd43f75c_0 64 KB defaults
    38. xz-5.4.2 | h998d150_0 661 KB defaults
    39. zlib-1.2.13 | h998d150_0 103 KB defaults
    40. ------------------------------------------------------------
    41. Total: 33.9 MB
    42. The following NEW packages will be INSTALLED:
    43. _libgcc_mutex anaconda/pkgs/main/linux-aarch64::_libgcc_mutex-0.1-main
    44. _openmp_mutex anaconda/pkgs/main/linux-aarch64::_openmp_mutex-5.1-51_gnu
    45. bzip2 anaconda/pkgs/main/linux-aarch64::bzip2-1.0.8-hfd63f10_2
    46. ca-certificates anaconda/pkgs/main/linux-aarch64::ca-certificates-2023.08.22-hd43f75c_0
    47. ld_impl_linux-aar~ anaconda/pkgs/main/linux-aarch64::ld_impl_linux-aarch64-2.38-h8131f2d_1
    48. libffi anaconda/pkgs/main/linux-aarch64::libffi-3.4.4-h419075a_0
    49. libgcc-ng anaconda/pkgs/main/linux-aarch64::libgcc-ng-11.2.0-h1234567_1
    50. libgomp anaconda/pkgs/main/linux-aarch64::libgomp-11.2.0-h1234567_1
    51. libstdcxx-ng anaconda/pkgs/main/linux-aarch64::libstdcxx-ng-11.2.0-h1234567_1
    52. libuuid anaconda/pkgs/main/linux-aarch64::libuuid-1.41.5-h998d150_0
    53. ncurses anaconda/pkgs/main/linux-aarch64::ncurses-6.4-h419075a_0
    54. openssl anaconda/pkgs/main/linux-aarch64::openssl-3.0.10-h2f4d8fa_2
    55. pip anaconda/pkgs/main/linux-aarch64::pip-23.2.1-py310hd43f75c_0
    56. python anaconda/pkgs/main/linux-aarch64::python-3.10.12-h4bb2201_0
    57. readline anaconda/pkgs/main/linux-aarch64::readline-8.2-h998d150_0
    58. setuptools anaconda/pkgs/main/linux-aarch64::setuptools-68.0.0-py310hd43f75c_0
    59. sqlite anaconda/pkgs/main/linux-aarch64::sqlite-3.41.2-h998d150_0
    60. tk anaconda/pkgs/main/linux-aarch64::tk-8.6.12-h241ca14_0
    61. tzdata anaconda/pkgs/main/noarch::tzdata-2023c-h04d1e81_0
    62. wheel anaconda/pkgs/main/linux-aarch64::wheel-0.38.4-py310hd43f75c_0
    63. xz anaconda/pkgs/main/linux-aarch64::xz-5.4.2-h998d150_0
    64. zlib anaconda/pkgs/main/linux-aarch64::zlib-1.2.13-h998d150_0
    65. Proceed ([y]/n)? y
    66. Downloading and Extracting Packages
    67. Preparing transaction: done
    68. Verifying transaction: done
    69. Executing transaction: done
    70. #
    71. # To activate this environment, use
    72. #
    73. # $ conda activate python3env
    74. #
    75. # To deactivate an active environment, use
    76. #
    77. # $ conda deactivate
    78. [root@ceph3 ~]#

    激活python3

    1. [root@ceph3 ~]# conda activate python3env
    2. (python3env) [root@ceph3 ~]# python3 -V
    3. Python 3.10.12
    4. (python3env) [root@ceph3 ~]# whereis python3
    5. 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

  • 相关阅读:
    单体架构与微服务架构区别
    15 OpenCV Sobel算子
    分享98个节日庆典PPT,总有一款适合您
    什么是专线网络?互联网专线为什么贵
    11-security认证.md
    AcWing 第57 场周赛
    七夕送礼,让《新程序员》伴你一“杯”子!
    电影《万里归途》
    设计模式学习笔记 - 面向对象 - 7.为什么要多用组合少用继承?如何决定该用组合还是继承?
    java-php-python-springboot校园新闻趣事计算机毕业设计
  • 原文地址:https://blog.csdn.net/hknaruto/article/details/132729944