Monday, January 3, 2022

[SOLVED] Warning on git bash start "bash: C:/Users/RS3/Anaconda3/etc/profile.d/conda.sh: No such file or directory"

Issue

Whenever I open git bash I get the following warning: bash: C:/Users/RS3/Anaconda3/etc/profile.d/conda.sh: No such file or directory

The problem is that I uninstalled Anaconda, because I installed independent python, which resulted in giving that error.

How to remove this Warning.

Warning


Solution

Check the content of ~/.bashrc (which was mentioned here)

Maybe that (or ~/.profile, mentioned here) includes a command for that old uni uninstalled program.

Remove those lines, and try to open again a git bash session.



Answered By - VonC