Conda activate not working?

前端 未结 16 1628
失恋的感觉
失恋的感觉 2020-12-02 16:38
 gonzo  ~/a/packages  conda env list
# conda environments:
#
ppo_latest               /nohome/jaan/abhishek/anaconda3/envs/ppo_latest
root                  *  /noh         


        
16条回答
  •  醉酒成梦
    2020-12-02 17:17

    Here's what worked for me using the Git Bash terminal in VS Code on windows in succinct steps:

    1. source activate env-name - You should see your line appended by the (base) tag now.

    2. After calling on source activate, I've found following conda activate commands to work: i.e. conda activate env2-name

    What didn't work for Git Bash (as a VS Code terminal) for me: activate env-name and conda activate env-name.

    Not exactly sure why this specific behaviour occurs on the Git Bash terminal on VS Code, but the accepted answer + this stackoverflow question I've found might provide clues.

提交回复
热议问题