python-3.x - anaconda 没有激活虚拟环境
问题描述
每当我conda activate "C:\Users\user\anaconda3\envs\Conda3.9.5"
在 Visual Studio 代码中运行时,我都会收到此错误:
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 时,它工作正常,没有错误
蟒蛇版本:3.9.5
操作系统:Windows 10
解决方案
推荐阅读
- r - 如何识别列表中各列的模式匹配索引
- powerquery - PowerQuery 中的数据转换
- python - KeyError:向电子邮件添加标签时出现 b'X-GM-LABELS' 问题
- winapi - 我正在构建 win32 应用程序,它在截屏时清空剪贴板。但图像没有清空
- awk - 根据第一列的字符将行分配给文件(使用 awk)
- python - pandas str.replace 无法正常工作
- c# - Entity Framework Core 中的种子脚本正在破坏我的迁移
- c - 谁能解释这种语法?字符 *seats[14][7];
- javascript - 验证字符串的正则表达式以字符开头并包含允许的字符
- amazon-web-services - 如何确定公有子网和私有子网以及 VPC 的 CIDR 块?