Troubleshooting docs
Anaconda default channels
How did you install Mamba?
Micromamba
Search tried in issue tracker
No other issues I could find are similar.
Latest version of Mamba
Tried in Conda?
I do not have this problem with Conda, just with Mamba
Describe your issue
The docs for the conda run command mention it accepts a trailing -- separator (just like most git commands) to differentiate between the arguments to the run command and the command to execute in the specified environment. Here is the small example they show, copied over from the documentation:
conda run -n my-python-env -- python -v
conda run -v -n my-python-env -- tar -tvf file.tar
mamba info / micromamba info
libmamba version : 2.5.0
micromamba version : 2.5.0
curl version : libcurl/8.18.0 OpenSSL/3.5.4 zlib/1.3.1 zstd/1.5.7 libssh2/1.11.1 nghttp2/1.67.0 mit-krb5/1.21.3
libarchive version : libarchive 3.8.5 zlib/1.3.1 bz2lib/1.0.8 libzstd/1.5.7 libb2/bundled
envs directories : /home/thib/.local/micromamba/envs
package cache : /home/thib/.local/micromamba/pkgs
/home/thib/.mamba/pkgs
environment : base
env location : /home/thib/.local/micromamba
user config files : /home/thib/.mambarc
populated config files :
virtual packages : __unix=0=0
__linux=6.19.9=0
__glibc=2.42=0
__archspec=1=x86_64_v3
__cuda=13.0=0
channels : https://conda.anaconda.org/conda-forge/linux-64
https://conda.anaconda.org/conda-forge/noarch
base environment : /home/thib/.local/micromamba
platform : linux-64
Logs
$ # The environment 'my-python-env' exists and it _not_ activated.
$ micromamba run -n my-python-env -- bash
The following argument was not expected: bash
Run with --help for more information.
environment.yml
~/.condarc
Troubleshooting docs
Anaconda default channels
How did you install Mamba?
Micromamba
Search tried in issue tracker
No other issues I could find are similar.
Latest version of Mamba
Tried in Conda?
I do not have this problem with Conda, just with Mamba
Describe your issue
The docs for the
conda runcommand mention it accepts a trailing--separator (just like mostgitcommands) to differentiate between the arguments to theruncommand and the command to execute in the specified environment. Here is the small example they show, copied over from the documentation:mamba info / micromamba info
Logs
environment.yml
~/.condarc
# No configuration.