I've recently refreshed my Git Bash and Anaconda installation, and I am trying to run Git Bash from within VSCode with Anaconda. The issue is that whenever I open the integrated terminal from within VSCode, the terminal does not show up with a (base) tag and when I run conda activate
, it returns the CommandNotFoundError:
If using 'conda activate' from a batch script, change your
invocation to 'CALL conda.bat activate'.
To initialize your shell, run
$ conda init <SHELL_NAME>
Currently supported shells are:
- bash
- cmd.exe
- fish
- tcsh
- xonsh
- zsh
- powershell
See 'conda init --help' for more information and options.
IMPORTANT: You may need to close and restart your shell after running 'conda init'.
I have followed the instructions with conda init bash
and restarted the shell, but it keeps giving this error. I've seen a couple other articles, but most of them are outdated and the others have no solutions that work. Anaconda still works on external Git Bash when I don't use the integrated terminal. Any help is greatly appreciated.