You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My problem is not solved in the Troubleshooting docs
Anaconda default channels
I do NOT use the Anaconda default channels (pkgs/* etc.)
How did you install Mamba?
Micromamba
Search tried in issue tracker
csh or tcsh
Latest version of Mamba
My problem is not solved with the latest version
Tried in Conda?
Not applicable
Describe your issue
micromamba is supposed to support csh, but when attempting to initialize the shell you get an error saying that csh is not a shell choice:
micromamba activate chemprop
'micromamba' is running as a subprocess and can't modify the parent shell.
Thus you must initialize your shell before using activate and deactivate.
To initialize the current csh shell, run:
$ eval "$(micromamba shell hook --shell csh)"
and then activate or deactivate with:
$ micromamba activate
To automatically initialize all future (csh) shells, run:
$ micromamba shell init --shell csh --root-prefix=~/micromamba
If your shell was already initialized, reinitialize your shell with:
$ micromamba shell reinit --shell csh
Otherwise, this may be an issue. In the meantime you can run commands. See:
$ micromamba run --help
Supported shells are {bash, zsh, csh, xonsh, cmd.exe, powershell, fish}.
critical libmamba Shell not initialized
micromamba shell init --shell csh --root-prefix=~/micromamba_csh
--shell: csh not in {bash,cmd.exe,dash,fish,posix,powershell,tcsh,xonsh,zsh}
Run with --help for more information.
Then if trying to use tcsh instead you get another error: micromamba shell init --shell tcsh --root-prefix=~/micromamba_csh
critical libmamba Support for other shells not yet implemented.
The micromamba.csh script fails in csh or tcsh due to the line:
set ask_conda="\(setenv prompt "${prompt}"; __mamba_exe shell "!*" --shell csh)`"`
With error:
Unmatched '''.
Sadly, while I hate using csh or tcsh, preferring zsh or at least bash, many of my colleagues need to run in csh due to legacy tools. Not having a workable micromamba executable is annoying.
I'd suggest refactoring micromamba.csh to avoid battleship aliases with four levels of quoting, which csh handles so poorly. Apologies, I don't have the cycles right now to contribute a fix.
Troubleshooting docs
Anaconda default channels
How did you install Mamba?
Micromamba
Search tried in issue tracker
csh or tcsh
Latest version of Mamba
Tried in Conda?
Not applicable
Describe your issue
micromamba is supposed to support csh, but when attempting to initialize the shell you get an error saying that csh is not a shell choice:
micromamba activate chemprop
'micromamba' is running as a subprocess and can't modify the parent shell.
Thus you must initialize your shell before using activate and deactivate.
To initialize the current csh shell, run:
$ eval "$(micromamba shell hook --shell csh)"
and then activate or deactivate with:
$ micromamba activate
To automatically initialize all future (csh) shells, run:
$ micromamba shell init --shell csh --root-prefix=~/micromamba
If your shell was already initialized, reinitialize your shell with:
$ micromamba shell reinit --shell csh
Otherwise, this may be an issue. In the meantime you can run commands. See:
$ micromamba run --help
Supported shells are {bash, zsh, csh, xonsh, cmd.exe, powershell, fish}.
critical libmamba Shell not initialized
micromamba shell init --shell csh --root-prefix=~/micromamba_csh
--shell: csh not in {bash,cmd.exe,dash,fish,posix,powershell,tcsh,xonsh,zsh}
Run with --help for more information.
Then if trying to use tcsh instead you get another error:
micromamba shell init --shell tcsh --root-prefix=~/micromamba_csh
critical libmamba Support for other shells not yet implemented.
mamba info / micromamba info
Logs
No response
environment.yml
No response
~/.condarc
No response
The text was updated successfully, but these errors were encountered: