下面的内容转载自https://discuss.codecademy.com/t/setting-up-conda-in-git-bash/534473,本人测试效果相当好
A) Open Git Bash A)打开 Git Bash Now that you have an idea of how conda should look, go ahead and open Git Bash. As you can see, there is nothing on the prompt to indicate whether you are inside an active conda environment or not. Unfortunately, it’s not quite that simple. If you type conda list in Git Bash, you will receive an error that looks something like this:
现在你已经了解了 conda 应该是什么样子,继续打开 Git Bash。正如你所见,提示符上没有任何内容表明你是否处于活动的 conda 环境中。不幸的是,事情并没有那么简单。如果你在 Git Bash 中输入 conda list ,你会收到类似这样的错误:
...