We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Mambaforge or latest Miniforge
integer expression expected
Not applicable
I downloaded Miniforge3-Linux-x86_64.sh, then ran the script. I got the error:
Miniforge3-Linux-x86_64.sh: line 517: [: 1 24: integer expression expected usage: mamba [-h] [-v] [--no-plugins] [-V] COMMAND ... mamba: error: argument COMMAND: invalid choice: 'shell' (choose from activate, clean, commands, compare, config, create, deactivate, env, export, info, init, install, list, notices, package, doctor, repoquery, remove, uninstall, rename, run, search, update, upgrade)
I have looked at line 517 of the script:
if [ "$("$PREFIX/bin/mamba" --version | cut -d' ' -f2 | cut -d'.' -f1)" -lt 2 ]; then
If I run:
$PREFIX/bin/mamba --version
I get:
mamba 1.5.12 conda 24.11.3
So the cut commands yield:
1 24
which cannot compare to 2. I think this explains the error. Is this not a bug of the script?
mamba version : 1.5.12 active environment : None user config file : /home/guez/.condarc populated config files : /mnt/Licorne/miniforge3/.condarc conda version : 24.11.3 conda-build version : not installed python version : 3.12.8.final.0 solver : libmamba (default) virtual packages : __archspec=1=steamroller __conda=24.11.3=0 __glibc=2.39=0 __linux=6.8.0=0 __unix=0=0 base environment : /mnt/Licorne/miniforge3 (writable) conda av data dir : /mnt/Licorne/miniforge3/etc/conda conda av metadata url : None channel URLs : https://conda.anaconda.org/conda-forge/linux-64 https://conda.anaconda.org/conda-forge/noarch package cache : /mnt/Licorne/miniforge3/pkgs /home/guez/.conda/pkgs envs directories : /mnt/Licorne/miniforge3/envs /home/guez/.conda/envs platform : linux-64 user-agent : conda/24.11.3 requests/2.32.3 CPython/3.12.8 Linux/6.8.0-51-generic linuxmint/22.1 glibc/2.39 solver/libmamba conda-libmamba-solver/24.9.0 libmambapy/1.5.12 UID:GID : 1000:1000 netrc file : None offline mode : False
The text was updated successfully, but these errors were encountered:
Addressed by conda/constructor#936.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Troubleshooting docs
Anaconda default channels
How did you install Mamba?
Mambaforge or latest Miniforge
Search tried in issue tracker
integer expression expected
Latest version of Mamba
Tried in Conda?
Not applicable
Describe your issue
I downloaded Miniforge3-Linux-x86_64.sh, then ran the script. I got the error:
I have looked at line 517 of the script:
If I run:
I get:
So the cut commands yield:
which cannot compare to 2. I think this explains the error. Is this not a bug of the script?
mamba info / micromamba info
Logs
environment.yml
~/.condarc
The text was updated successfully, but these errors were encountered: