- conda init creates a .bash_profile file with the correct initialisation, but git-bash.exe loads .bashrc (thanks to Auss' comment)
- My bash home directory was not equal to my windows home directory. Conda created
C:\Users\<username>\.bash_profileand bash needs~/.bashrc, but ~/ was not equal toC:\Users\<username>\.
solution was to run next command in git terminal or VS Code
conda init bash
cat ~/.bash_profile >> ~/.bashrc
source ~/.bashrc
conda activate base
1
2
3
4
2
3
4