conda activate报错! Your shell has not been properly configured to use ‘conda activate‘.的问题解决方法
CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.If using 'conda activate' from a batch script, change yourinvocation to 'CALL conda.bat activate'.To initializ
·
问题描述:
原因分析:
出现这种情况的原因是:没有通过cmd启用Anaconda中的Python环境(base),所以才会无法访问。
解决方法:
(2)通过cmd启用Anaconda中的Python环境(base)
①conda info --envs查看列表
conda info --envs
②激活base环境
activate base
(3)cmd操作环境
①激活(进入)环境
如果我们想要进入zjc(前面我自己创建的)这个环境,直接:
activate zjc
②退出环境
conda deactivate
好啦,希望能够帮助到大家!
更多推荐
所有评论(0)