-
-
Notifications
You must be signed in to change notification settings - Fork 344
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
Comments
same for most recent |
@jjerphan are you able to take a look? in the meantime, i'm going to call it a "pre-release" |
I am looking at it now. |
I can reproduce the problem running |
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 |
This is being addressed with: conda/constructor#914 |
I believe that mamba 2.0.5 is buggy. Miniforge is now released with Mamba 1.5.12. Please open an issue with mamba-feedstock or mamba-org/mamba, but as far as Miniforge3 is now concerned, the installer is working as of https://github.com/conda-forge/miniforge/releases/tag/24.11.2-1 We have downgraded to 1.5.12 and a patched version of conda that addresses the deprecations |
FYI, currently Miniforge cannot be installed with mamba 2 (conda/constructor#914 will resolve this). Yet mamba 2 remains usable from a Miniforge installation (one can update mamba from 1.5 to 2.0). |
Solution to issue cannot be found in 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::.:.:.:.
Installed packages
Environment info
The text was updated successfully, but these errors were encountered: