微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

anaconda 没有激活虚拟环境

如何解决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 举报,一经查实,本站将立刻删除。