Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 24.11.0-1 bug: Error while finding module specification for 'mamba.mamba' (ModuleNotFoundError: No module named 'mamba') #697

Open
1 task done
khanhi2r opened this issue Dec 16, 2024 · 6 comments · May be fixed by conda/constructor#914
Labels
bug Something isn't working

Comments

@khanhi2r
Copy link

khanhi2r commented Dec 16, 2024

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

The error is as below.
OS: Ubuntu 20.04.5 LTS (GNU/Linux 5.15.0-48-generic x86_64)
Miniforge3 version: Miniforge3-24.11.0-1-Linux-x86_64.sh

Installing a previous version (Miniforge3-24.9.2-0-Linux-x86_64.sh) was ok.

PYTHONPATH=/home/khanh/workspace/lib/wenet:/home/khanh/workspace/lib/wenet:/home/khanh/workspace/lib/wenet:/home/khanh/workspace/lib/wenet::.:.:.:.

(test) khanh@iop1:~$ bash Miniforge3-24.11.0-1-Linux-x86_64.sh 

Welcome to Miniforge3 24.11.0-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 individua
l
packages as well. They include different OSI-approved licenses including
the GNU General Public License and can be found in pkgs/<pkg-name>/info/l
icenses
folders.

Miniforge installer comes with a bootstrapping 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,

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

Miniforge3 will now be installed into this location:
/home/khanh/miniforge3

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

[/home/khanh/miniforge3] >>> /home/khanh/ws/miniforge3_latest
PREFIX=/home/khanh/ws/miniforge3_latest
Unpacking payload ...
Extracting _libgcc_mutex-0.1-conda_forge.tar.bz2
Extracting ca-certificates-2024.8.30-hbcca054_0.conda
Extracting ld_impl_linux-64-2.43-h712a8e2_2.conda
Extracting pybind11-abi-4-hd8ed1ab_3.tar.bz2
Extracting python_abi-3.12-5_cp312.conda
Extracting tzdata-2024b-hc8b5060_0.conda
Extracting libgomp-14.2.0-h77fa898_1.conda
Extracting _openmp_mutex-4.5-2_gnu.tar.bz2
Extracting libgcc-14.2.0-h77fa898_1.conda
Extracting c-ares-1.34.3-hb9d3cd8_1.conda
Extracting libexpat-2.6.4-h5888daf_0.conda
Extracting libgcc-ng-14.2.0-h69a702a_1.conda
Extracting liblzma-5.6.3-hb9d3cd8_1.conda
Extracting libstdcxx-14.2.0-hc0a3c3a_1.conda
Extracting libzlib-1.3.1-hb9d3cd8_2.conda
Extracting openssl-3.4.0-hb9d3cd8_0.conda
Extracting reproc-14.2.5.post0-hb9d3cd8_0.conda
Extracting bzip2-1.0.8-h4bc722e_7.conda
Extracting keyutils-1.6.1-h166bdaf_0.tar.bz2
Extracting libev-4.33-hd590300_2.conda
Extracting libffi-3.4.2-h7f98852_5.tar.bz2
Extracting libiconv-1.17-hd590300_2.conda
Extracting libnsl-2.0.1-hd590300_0.conda
Extracting libsqlite-3.47.2-hee588c1_0.conda
Extracting libssh2-1.11.1-hf672d98_0.conda
Extracting libstdcxx-ng-14.2.0-h4852527_1.conda
Extracting libuuid-2.38.1-h0b41bf4_0.conda
Extracting libxcrypt-4.4.36-hd590300_1.conda
Extracting lz4-c-1.10.0-h5888daf_1.conda
Extracting lzo-2.10-hd590300_1001.conda
Extracting ncurses-6.5-he02047a_1.conda
Extracting reproc-cpp-14.2.5.post0-h5888daf_0.conda
Extracting simdjson-3.11.3-h84d6215_0.conda
Extracting tk-8.6.13-noxft_h4845f30_101.conda
Extracting cpp-expected-1.1.0-hf52228f_0.conda
Extracting fmt-11.0.2-h434a139_0.conda
Extracting libedit-3.1.20191231-he28a2e2_2.tar.bz2
Extracting libnghttp2-1.64.0-h161d5f1_0.conda
Extracting libsolv-0.7.30-h3509ff9_0.conda
Extracting libxml2-2.13.5-h0d44e9d_1.conda
Extracting nlohmann_json-3.11.3-he02047a_1.conda
Extracting readline-8.2-h8228510_1.conda
Extracting yaml-cpp-0.8.0-h59595ed_0.conda
Extracting zstd-1.5.6-ha6fb4c9_0.conda
Extracting krb5-1.21.3-h659f571_0.conda
Extracting libarchive-3.7.7-h4585015_3.conda
Extracting python-3.12.8-h9e4cc4f_1_cpython.conda
Extracting spdlog-1.14.1-hed91bc2_1.conda
Extracting libcurl-8.11.1-h332b0f4_0.conda
Extracting menuinst-2.2.0-py312h7900ff3_0.conda
Extracting archspec-0.2.3-pyhd8ed1ab_0.conda
Extracting boltons-24.0.0-pyhd8ed1ab_1.conda
Extracting brotli-python-1.1.0-py312h2ec8cdc_2.conda
Extracting certifi-2024.8.30-pyhd8ed1ab_0.conda
Extracting charset-normalizer-3.4.0-pyhd8ed1ab_1.conda
Extracting colorama-0.4.6-pyhd8ed1ab_1.conda
Extracting distro-1.9.0-pyhd8ed1ab_0.conda
Extracting frozendict-2.4.6-py312h66e93f0_0.conda
Extracting hpack-4.0.0-pyhd8ed1ab_1.conda
Extracting hyperframe-6.0.1-pyhd8ed1ab_1.conda
Extracting idna-3.10-pyhd8ed1ab_1.conda
Extracting jsonpointer-3.0.0-py312h7900ff3_1.conda
Extracting libmamba-2.0.5-hf72d635_0.conda
Extracting packaging-24.2-pyhd8ed1ab_2.conda
Extracting platformdirs-4.3.6-pyhd8ed1ab_1.conda
Extracting pluggy-1.5.0-pyhd8ed1ab_1.conda
Extracting pycosat-0.6.6-py312h66e93f0_2.conda
Extracting pycparser-2.22-pyh29332c3_1.conda
Extracting pysocks-1.7.1-pyha55dd90_7.conda
Extracting ruamel.yaml.clib-0.2.8-py312h66e93f0_1.conda
Extracting setuptools-75.6.0-pyhff2d567_1.conda
Extracting truststore-0.10.0-pyhd8ed1ab_0.conda
Extracting wheel-0.45.1-pyhd8ed1ab_1.conda
Extracting cffi-1.17.1-py312h06ac9bb_0.conda
Extracting h2-4.1.0-pyhd8ed1ab_1.conda
Extracting jsonpatch-1.33-pyhd8ed1ab_1.conda
Extracting libmambapy-2.0.5-py312hf3f0a4e_0.conda
Extracting mamba-2.0.5-hfdd0a45_0.conda
Extracting pip-24.3.1-pyh8b19718_0.conda
Extracting ruamel.yaml-0.18.6-py312h66e93f0_1.conda
Extracting tqdm-4.67.1-pyhd8ed1ab_0.conda
Extracting zstandard-0.23.0-py312hef9b889_1.conda
Extracting conda-package-streaming-0.11.0-pyhd8ed1ab_0.conda
Extracting urllib3-2.2.3-pyhd8ed1ab_1.conda
Extracting conda-package-handling-2.4.0-pyha770c72_1.conda
Extracting requests-2.32.3-pyhd8ed1ab_1.conda
Extracting conda-24.11.0-py312h7900ff3_0.conda
Extracting conda-libmamba-solver-24.11.1-pyhd8ed1ab_0.conda

Installing base environment...

Transaction

  Prefix: /home/khanh/ws/miniforge3_latest

  Updating specs:

   - conda-forge/linux-64::_libgcc_mutex==0.1=conda_forge[md5=d7c89558ba9fa0495403155b64376d81]
   - conda-forge/linux-64::ca-certificates==2024.8.30=hbcca054_0[md5=c27d1c142233b5bc9ca570c6e2e0c244]
   - conda-forge/linux-64::ld_impl_linux-64==2.43=h712a8e2_2[md5=048b02e3962f066da18efe3a21b77672]
   - conda-forge/noarch::pybind11-abi==4=hd8ed1ab_3[md5=878f923dd6acc8aeb47a75da6c4098be]
   - conda-forge/linux-64::python_abi==3.12=5_cp312[md5=0424ae29b104430108f5218a66db7260]
   - conda-forge/noarch::tzdata==2024b=hc8b5060_0[md5=8ac3367aafb1cc0a068483c580af8015]
   - conda-forge/linux-64::libgomp==14.2.0=h77fa898_1[md5=cc3573974587f12dda90d96e3e55a702]
   - conda-forge/linux-64::_openmp_mutex==4.5=2_gnu[md5=73aaf86a425cc6e73fcf236a5a46396d]
   - conda-forge/linux-64::libgcc==14.2.0=h77fa898_1[md5=3cb76c3f10d3bc7f1105b2fc9db984df]
   - conda-forge/linux-64::c-ares==1.34.3=hb9d3cd8_1[md5=ee228789a85f961d14567252a03e725f]
   - conda-forge/linux-64::libexpat==2.6.4=h5888daf_0[md5=db833e03127376d461e1e13e76f09b6c]
   - conda-forge/linux-64::libgcc-ng==14.2.0=h69a702a_1[md5=e39480b9ca41323497b05492a63bc35b]
   - conda-forge/linux-64::liblzma==5.6.3=hb9d3cd8_1[md5=2ecf2f1c7e4e21fcfe6423a51a992d84]
   - conda-forge/linux-64::libstdcxx==14.2.0=hc0a3c3a_1[md5=234a5554c53625688d51062645337328]
   - conda-forge/linux-64::libzlib==1.3.1=hb9d3cd8_2[md5=edb0dca6bc32e4f4789199455a1dbeb8]
   - conda-forge/linux-64::openssl==3.4.0=hb9d3cd8_0[md5=23cc74f77eb99315c0360ec3533147a9]
   - conda-forge/linux-64::reproc==14.2.5.post0=hb9d3cd8_0[md5=69fbc0a9e42eb5fe6733d2d60d818822]
   - conda-forge/linux-64::bzip2==1.0.8=h4bc722e_7[md5=62ee74e96c5ebb0af99386de58cf9553]
   - conda-forge/linux-64::keyutils==1.6.1=h166bdaf_0[md5=30186d27e2c9fa62b45fb1476b7200e3]
   - conda-forge/linux-64::libev==4.33=hd590300_2[md5=172bf1cd1ff8629f2b1179945ed45055]
   - conda-forge/linux-64::libffi==3.4.2=h7f98852_5[md5=d645c6d2ac96843a2bfaccd2d62b3ac3]
   - conda-forge/linux-64::libiconv==1.17=hd590300_2[md5=d66573916ffcf376178462f1b61c941e]
   - conda-forge/linux-64::libnsl==2.0.1=hd590300_0[md5=30fd6e37fe21f86f4bd26d6ee73eeec7]
   - conda-forge/linux-64::libsqlite==3.47.2=hee588c1_0[md5=b58da17db24b6e08bcbf8fed2fb8c915]
   - conda-forge/linux-64::libssh2==1.11.1=hf672d98_0[md5=be2de152d8073ef1c01b7728475f2fe7]
   - conda-forge/linux-64::libstdcxx-ng==14.2.0=h4852527_1[md5=8371ac6457591af2cf6159439c1fd051]
   - conda-forge/linux-64::libuuid==2.38.1=h0b41bf4_0[md5=40b61aab5c7ba9ff276c41cfffe6b80b]
   - conda-forge/linux-64::libxcrypt==4.4.36=hd590300_1[md5=5aa797f8787fe7a17d1b0821485b5adc]
   - conda-forge/linux-64::lz4-c==1.10.0=h5888daf_1[md5=9de5350a85c4a20c685259b889aa6393]
   - conda-forge/linux-64::lzo==2.10=hd590300_1001[md5=ec7398d21e2651e0dcb0044d03b9a339]
   - conda-forge/linux-64::ncurses==6.5=he02047a_1[md5=70caf8bb6cf39a0b6b7efc885f51c0fe]
   - conda-forge/linux-64::reproc-cpp==14.2.5.post0=h5888daf_0[md5=828302fca535f9cfeb598d5f7c204323]
   - conda-forge/linux-64::simdjson==3.11.3=h84d6215_0[md5=07022fa94660ddedfb4ebc5869026ea6]
   - conda-forge/linux-64::tk==8.6.13=noxft_h4845f30_101[md5=d453b98d9c83e71da0741bb0ff4d76bc]
   - conda-forge/linux-64::cpp-expected==1.1.0=hf52228f_0[md5=a7f1500bf47196443b67355d67afec6d]
   - conda-forge/linux-64::fmt==11.0.2=h434a139_0[md5=995f7e13598497691c1dc476d889bc04]
   - conda-forge/linux-64::libedit==3.1.20191231=he28a2e2_2[md5=4d331e44109e3f0e19b4cb8f9b82f3e1]
   - conda-forge/linux-64::libnghttp2==1.64.0=h161d5f1_0[md5=19e57602824042dfd0446292ef90488b]
   - conda-forge/linux-64::libsolv==0.7.30=h3509ff9_0[md5=02539b77d25aa4f65b20246549e256c3]
   - conda-forge/linux-64::libxml2==2.13.5=h0d44e9d_1[md5=f5b05674697ae7d2c5932766695945e1]
   - conda-forge/linux-64::nlohmann_json==3.11.3=he02047a_1[md5=e46f7ac4917215b49df2ea09a694a3fa]
   - conda-forge/linux-64::readline==8.2=h8228510_1[md5=47d31b792659ce70f470b5c82fdfb7a4]
   - conda-forge/linux-64::yaml-cpp==0.8.0=h59595ed_0[md5=965eaacd7c18eb8361fd12bb9e7a57d7]
   - conda-forge/linux-64::zstd==1.5.6=ha6fb4c9_0[md5=4d056880988120e29d75bfff282e0f45]
   - conda-forge/linux-64::krb5==1.21.3=h659f571_0[md5=3f43953b7d3fb3aaa1d0d0723d91e368]
   - conda-forge/linux-64::libarchive==3.7.7=h4585015_3[md5=a28808eae584c7f519943719b2a2b386]
   - conda-forge/linux-64::python==3.12.8=h9e4cc4f_1_cpython[md5=7fd2fd79436d9b473812f14e86746844]
   - conda-forge/linux-64::spdlog==1.14.1=hed91bc2_1[md5=909188c8979846bac8e586908cf1ca6a]
   - conda-forge/linux-64::libcurl==8.11.1=h332b0f4_0[md5=2b3e0081006dc21e8bf53a91c83a055c]
   - conda-forge/linux-64::menuinst==2.2.0=py312h7900ff3_0[md5=f22f8e77b36e67297feffe03eefd5375]
   - conda-forge/noarch::archspec==0.2.3=pyhd8ed1ab_0[md5=192278292e20704f663b9c766909d67b]
   - conda-forge/noarch::boltons==24.0.0=pyhd8ed1ab_1[md5=d88c38e66d85ecc9c7e2c4110676bbf4]
   - conda-forge/linux-64::brotli-python==1.1.0=py312h2ec8cdc_2[md5=b0b867af6fc74b2a0aa206da29c0f3cf]
   - conda-forge/noarch::certifi==2024.8.30=pyhd8ed1ab_0[md5=12f7d00853807b0531775e9be891cb11]
   - conda-forge/noarch::charset-normalizer==3.4.0=pyhd8ed1ab_1[md5=6581a17bba6b948bb60130026404a9d6]
   - conda-forge/noarch::colorama==0.4.6=pyhd8ed1ab_1[md5=962b9857ee8e7018c22f2776ffa0b2d7]
   - conda-forge/noarch::distro==1.9.0=pyhd8ed1ab_0[md5=bbdb409974cd6cb30071b1d978302726]
   - conda-forge/linux-64::frozendict==2.4.6=py312h66e93f0_0[md5=9fa8408745a0621314b7751d11fecc18]
   - conda-forge/noarch::hpack==4.0.0=pyhd8ed1ab_1[md5=2aa5ff7fa34a81b9196532c84c10d865]
   - conda-forge/noarch::hyperframe==6.0.1=pyhd8ed1ab_1[md5=566e75c90c1d0c8c459eb0ad9833dc7a]
   - conda-forge/noarch::idna==3.10=pyhd8ed1ab_1[md5=39a4f67be3286c86d696df570b1201b7]
   - conda-forge/linux-64::jsonpointer==3.0.0=py312h7900ff3_1[md5=6b51f7459ea4073eeb5057207e2e1e3d]
   - conda-forge/linux-64::libmamba==2.0.5=hf72d635_0[md5=1de1d013e67b627adc17f9a426d4487d]
   - conda-forge/noarch::packaging==24.2=pyhd8ed1ab_2[md5=3bfed7e6228ebf2f7b9eaa47f1b4e2aa]
   - conda-forge/noarch::platformdirs==4.3.6=pyhd8ed1ab_1[md5=577852c7e53901ddccc7e6a9959ddebe]
   - conda-forge/noarch::pluggy==1.5.0=pyhd8ed1ab_1[md5=e9dcbce5f45f9ee500e728ae58b605b6]
   - conda-forge/linux-64::pycosat==0.6.6=py312h66e93f0_2[md5=08223e6a73e0bca5ade16ec4cebebf23]
   - conda-forge/noarch::pycparser==2.22=pyh29332c3_1[md5=12c566707c80111f9799308d9e265aef]
   - conda-forge/noarch::pysocks==1.7.1=pyha55dd90_7[md5=461219d1a5bd61342293efa2c0c90eac]
   - conda-forge/linux-64::ruamel.yaml.clib==0.2.8=py312h66e93f0_1[md5=532c3e5d0280be4fea52396ec1fa7d5d]
   - conda-forge/noarch::setuptools==75.6.0=pyhff2d567_1[md5=fc80f7995e396cbaeabd23cf46c413dc]
   - conda-forge/noarch::truststore==0.10.0=pyhd8ed1ab_0[md5=ad1c20cd193e3044bcf17798c33b9d67]
   - conda-forge/noarch::wheel==0.45.1=pyhd8ed1ab_1[md5=75cb7132eb58d97896e173ef12ac9986]
   - conda-forge/linux-64::cffi==1.17.1=py312h06ac9bb_0[md5=a861504bbea4161a9170b85d4d2be840]
   - conda-forge/noarch::h2==4.1.0=pyhd8ed1ab_1[md5=825927dc7b0f287ef8d4d0011bb113b1]
   - conda-forge/noarch::jsonpatch==1.33=pyhd8ed1ab_1[md5=cb60ae9cf02b9fcb8004dec4089e5691]
   - conda-forge/linux-64::libmambapy==2.0.5=py312hf3f0a4e_0[md5=353a11933e523e9a057e6ebf168db2f6]
   - conda-forge/linux-64::mamba==2.0.5=hfdd0a45_0[md5=e7e71d794351291a54749595807841ce]
   - conda-forge/noarch::pip==24.3.1=pyh8b19718_0[md5=5dd546fe99b44fda83963d15f84263b7]
   - conda-forge/linux-64::ruamel.yaml==0.18.6=py312h66e93f0_1[md5=28ed869ade5601ee374934a31c9d628e]
   - conda-forge/noarch::tqdm==4.67.1=pyhd8ed1ab_0[md5=4085c9db273a148e149c03627350e22c]
   - conda-forge/linux-64::zstandard==0.23.0=py312hef9b889_1[md5=8b7069e9792ee4e5b4919a7a306d2e67]
   - conda-forge/noarch::conda-package-streaming==0.11.0=pyhd8ed1ab_0[md5=bc9533d8616a97551ed144789bf9c1cd]
   - conda-forge/noarch::urllib3==2.2.3=pyhd8ed1ab_1[md5=4a2d8ef7c37b8808c5b9b750501fffce]
   - conda-forge/noarch::conda-package-handling==2.4.0=pyha770c72_1[md5=28b86d110bda4ef40e680d1afa9ddb1d]
   - conda-forge/noarch::requests==2.32.3=pyhd8ed1ab_1[md5=a9b9368f3701a417eac9edbcae7cb737]
   - conda-forge/linux-64::conda==24.11.0=py312h7900ff3_0[md5=94274d4c4733bb708fa2b4e257620d40]
   - conda-forge/noarch::conda-libmamba-solver==24.11.1=pyhd8ed1ab_0[md5=940d8b4082cfb7842369421623aa29d7]


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

  + _libgcc_mutex                     0.1  conda_forge         conda-forge         
  + ca-certificates             2024.8.30  hbcca054_0          conda-forge         
  + ld_impl_linux-64                 2.43  h712a8e2_2          conda-forge         
  + pybind11-abi                        4  hd8ed1ab_3          conda-forge         
  + python_abi                       3.12  5_cp312             conda-forge         
  + tzdata                          2024b  hc8b5060_0          conda-forge         
  + libgomp                        14.2.0  h77fa898_1          conda-forge         
  + _openmp_mutex                     4.5  2_gnu               conda-forge         
  + libgcc                         14.2.0  h77fa898_1          conda-forge         
  + c-ares                         1.34.3  hb9d3cd8_1          conda-forge         
  + libexpat                        2.6.4  h5888daf_0          conda-forge         
  + libgcc-ng                      14.2.0  h69a702a_1          conda-forge         
  + liblzma                         5.6.3  hb9d3cd8_1          conda-forge         
  + libstdcxx                      14.2.0  hc0a3c3a_1          conda-forge         
  + libzlib                         1.3.1  hb9d3cd8_2          conda-forge         
  + openssl                         3.4.0  hb9d3cd8_0          conda-forge         
  + reproc                   14.2.5.post0  hb9d3cd8_0          conda-forge         
  + bzip2                           1.0.8  h4bc722e_7          conda-forge         
  + keyutils                        1.6.1  h166bdaf_0          conda-forge         
  + libev                            4.33  hd590300_2          conda-forge         
  + libffi                          3.4.2  h7f98852_5          conda-forge         
  + libiconv                         1.17  hd590300_2          conda-forge         
  + libnsl                          2.0.1  hd590300_0          conda-forge         
  + libsqlite                      3.47.2  hee588c1_0          conda-forge         
  + libssh2                        1.11.1  hf672d98_0          conda-forge         
  + libstdcxx-ng                   14.2.0  h4852527_1          conda-forge         
  + libuuid                        2.38.1  h0b41bf4_0          conda-forge         
  + libxcrypt                      4.4.36  hd590300_1          conda-forge         
  + lz4-c                          1.10.0  h5888daf_1          conda-forge         
  + lzo                              2.10  hd590300_1001       conda-forge         
  + ncurses                           6.5  he02047a_1          conda-forge         
  + reproc-cpp               14.2.5.post0  h5888daf_0          conda-forge         
  + simdjson                       3.11.3  h84d6215_0          conda-forge         
  + tk                             8.6.13  noxft_h4845f30_101  conda-forge         
  + cpp-expected                    1.1.0  hf52228f_0          conda-forge         
  + fmt                            11.0.2  h434a139_0          conda-forge         
  + libedit                  3.1.20191231  he28a2e2_2          conda-forge         
  + libnghttp2                     1.64.0  h161d5f1_0          conda-forge         
  + libsolv                        0.7.30  h3509ff9_0          conda-forge         
  + libxml2                        2.13.5  h0d44e9d_1          conda-forge         
  + nlohmann_json                  3.11.3  he02047a_1          conda-forge         
  + readline                          8.2  h8228510_1          conda-forge         
  + yaml-cpp                        0.8.0  h59595ed_0          conda-forge         
  + zstd                            1.5.6  ha6fb4c9_0          conda-forge         
  + krb5                           1.21.3  h659f571_0          conda-forge         
  + libarchive                      3.7.7  h4585015_3          conda-forge         
  + python                         3.12.8  h9e4cc4f_1_cpython  conda-forge         
  + spdlog                         1.14.1  hed91bc2_1          conda-forge         
  + libcurl                        8.11.1  h332b0f4_0          conda-forge         
  + menuinst                        2.2.0  py312h7900ff3_0     conda-forge         
  + archspec                        0.2.3  pyhd8ed1ab_0        conda-forge         
  + boltons                        24.0.0  pyhd8ed1ab_1        conda-forge         
  + brotli-python                   1.1.0  py312h2ec8cdc_2     conda-forge         
  + certifi                     2024.8.30  pyhd8ed1ab_0        conda-forge         
  + charset-normalizer              3.4.0  pyhd8ed1ab_1        conda-forge         
  + colorama                        0.4.6  pyhd8ed1ab_1        conda-forge         
  + distro                          1.9.0  pyhd8ed1ab_0        conda-forge         
  + frozendict                      2.4.6  py312h66e93f0_0     conda-forge         
  + hpack                           4.0.0  pyhd8ed1ab_1        conda-forge         
  + hyperframe                      6.0.1  pyhd8ed1ab_1        conda-forge         
  + idna                             3.10  pyhd8ed1ab_1        conda-forge         
  + jsonpointer                     3.0.0  py312h7900ff3_1     conda-forge         
  + libmamba                        2.0.5  hf72d635_0          conda-forge         
  + packaging                        24.2  pyhd8ed1ab_2        conda-forge         
  + platformdirs                    4.3.6  pyhd8ed1ab_1        conda-forge         
  + pluggy                          1.5.0  pyhd8ed1ab_1        conda-forge         
  + pycosat                         0.6.6  py312h66e93f0_2     conda-forge         
  + pycparser                        2.22  pyh29332c3_1        conda-forge         
  + pysocks                         1.7.1  pyha55dd90_7        conda-forge         
  + ruamel.yaml.clib                0.2.8  py312h66e93f0_1     conda-forge         
  + setuptools                     75.6.0  pyhff2d567_1        conda-forge         
  + truststore                     0.10.0  pyhd8ed1ab_0        conda-forge         
  + wheel                          0.45.1  pyhd8ed1ab_1        conda-forge         
  + cffi                           1.17.1  py312h06ac9bb_0     conda-forge         
  + h2                              4.1.0  pyhd8ed1ab_1        conda-forge         
  + jsonpatch                        1.33  pyhd8ed1ab_1        conda-forge         
  + libmambapy                      2.0.5  py312hf3f0a4e_0     conda-forge         
  + mamba                           2.0.5  hfdd0a45_0          conda-forge         
  + pip                            24.3.1  pyh8b19718_0        conda-forge         
  + ruamel.yaml                    0.18.6  py312h66e93f0_1     conda-forge         
  + tqdm                           4.67.1  pyhd8ed1ab_0        conda-forge         
  + zstandard                      0.23.0  py312hef9b889_1     conda-forge         
  + conda-package-streaming        0.11.0  pyhd8ed1ab_0        conda-forge         
  + urllib3                         2.2.3  pyhd8ed1ab_1        conda-forge         
  + conda-package-handling          2.4.0  pyha770c72_1        conda-forge         
  + requests                       2.32.3  pyhd8ed1ab_1        conda-forge         
  + conda                         24.11.0  py312h7900ff3_0     conda-forge         
  + conda-libmamba-solver         24.11.1  pyhd8ed1ab_0        conda-forge         

  Summary:

  Install: 88 packages

  Total download: 0 B

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



Transaction starting

Transaction finished

To activate this environment, use:

    micromamba activate /home/khanh/ws/miniforge3_latest

Or to execute a single command in this environment, use:

    micromamba run -p /home/khanh/ws/miniforge3_latest mycommand

installation finished.
WARNING:
    You currently have a PYTHONPATH environment variable set. This may cause
    unexpected behavior when running the Python interpreter in Miniforge3.
    For best results, please verify that your PYTHONPATH only points to
    directories of packages that are compatible with the Python interpreter
    in Miniforge3: /home/khanh/ws/miniforge3_latest
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 false

You can undo this by running `conda init --reverse $SHELL`? [yes|no]
[no] >>> yes
no change     /home/khanh/ws/miniforge3_latest/condabin/conda
no change     /home/khanh/ws/miniforge3_latest/bin/conda
no change     /home/khanh/ws/miniforge3_latest/bin/conda-env
no change     /home/khanh/ws/miniforge3_latest/bin/activate
no change     /home/khanh/ws/miniforge3_latest/bin/deactivate
no change     /home/khanh/ws/miniforge3_latest/etc/profile.d/conda.sh
no change     /home/khanh/ws/miniforge3_latest/etc/fish/conf.d/conda.fish
no change     /home/khanh/ws/miniforge3_latest/shell/condabin/Conda.psm1
no change     /home/khanh/ws/miniforge3_latest/shell/condabin/conda-hook.ps1
no change     /home/khanh/ws/miniforge3_latest/lib/python3.12/site-packages/xontrib/conda.xsh
no change     /home/khanh/ws/miniforge3_latest/etc/profile.d/conda.csh
modified      /home/khanh/.bashrc

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

/home/khanh/ws/miniforge3_latest/bin/python: Error while finding module specification for 'mamba.mamba' (ModuleNotFoundError: No module named 'mamba')

Installed packages

none

Environment info

none
@khanhi2r khanhi2r added the bug Something isn't working label Dec 16, 2024
@michaelaye
Copy link

same for most recent Miniforge3-MacOSX-arm64.sh

@hmaarrfk
Copy link
Contributor

@jjerphan are you able to take a look?

in the meantime, i'm going to call it a "pre-release"

@jjerphan
Copy link
Member

I am looking at it now.

@jjerphan
Copy link
Member

I can reproduce the problem running Miniforge3-24.11.0-1-Linux-x86_64.sh.

@jjerphan
Copy link
Member

jjerphan commented Dec 16, 2024

At a point in this script there is:

        if [ -f "$PREFIX/bin/mamba" ]; then
            case $SHELL in
                # We call the module directly to avoid issues with spaces in shebang
                *zsh) "$PREFIX/bin/python" -m mamba.mamba init zsh ;;
                *) "$PREFIX/bin/python" -m mamba.mamba init ;;
            esac
        fi

This must be changed to:

        if [ -f "$PREFIX/bin/mamba" ]; then
            case $SHELL in
                *zsh) "$PREFIX/bin/mamba" shell init -s zsh ;;
                *) "$PREFIX/bin/mamba" shell init ;;
            esac
        fi

An adaptation is required in conda/constructor.

@jjerphan
Copy link
Member

This is being addressed with: conda/constructor#914

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging a pull request may close this issue.

4 participants