anaconda 没有激活虚拟环境

问题描述

当我在 Visual Studio 代码中运行 conda activate "C:\Users\user\anaconda3\envs\Conda3.9.5" 时,我收到此错误

conda : The term 'conda' is not recognized as the name of a cmdlet,function,script file,or operable program. Check the spelling of the name,or if 
a path was included,verify that the path is correct and try again.
At line:1 char:1
+ conda activate "C:\Users\user\anaconda3\envs\Conda3.9.5"
+ ~~~~~
    + CategoryInfo          : ObjectNotFound: (conda:String) [],CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

当我在 pycharm 中使用 conda 时,它工作正常,没有错误

python 版本:3.9.5

操作系统:Windows 10

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)