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
Solution to issue cannot be found in the documentation.
I checked the documentation.
Issue
Installation on Linux RHEL 7.9 with tcsh created a .tcshrc file with multiple syntax errors. The .tcshrc file was called with priority over my .cshrc initialization script in all my new shells. So the errors prevented my initialization of new shells from working until I determined the erroneous .tcshrc file that had been created.
The 2nd if-clause in the script uses bash syntax with "." for source, an unnecessary ";" and "fi" instead of "endif" to name a few issues.
# >>> conda initialize >>># !! Contents within this block are managed by 'conda init' !!if ( -f "/home/cbanken/miniforge3/etc/profile.d/conda.csh" ) thensource"/home/cbanken/miniforge3/etc/profile.d/conda.csh"else
setenv PATH "/home/cbanken/miniforge3/bin:$PATH"
endif
if [ -f"/home/cbanken/miniforge3/etc/profile.d/mamba.sh" ];then."/home/cbanken/miniforge3/etc/profile.d/mamba.sh"fi# <<< conda initialize <<<
This is coming from mamba 1.x initialization routines. If you typed mamba init then, that's what the code does, since they don't seem to support (t)csh. I think micromamba and mamba 2.x will do, though.
If the meantime, you can remove the conda initialize block and run /home/cbanken/miniforge3/bin/conda init instead. This will allow you to do conda activate.
Solution to issue cannot be found in the documentation.
Issue
Installation on Linux RHEL 7.9 with tcsh created a .tcshrc file with multiple syntax errors. The .tcshrc file was called with priority over my .cshrc initialization script in all my new shells. So the errors prevented my initialization of new shells from working until I determined the erroneous .tcshrc file that had been created.
The 2nd if-clause in the script uses bash syntax with "." for source, an unnecessary ";" and "fi" instead of "endif" to name a few issues.
Installed packages
Environment info
The text was updated successfully, but these errors were encountered: