首页 > 解决方案 > 我在 VS Code 中收到此错误:conda:术语“conda”未被识别为 cmdlet、函数、脚本文件或可运行程序的名称

问题描述

对不起,如果标题没有意义。我只想问这个错误是什么意思以及解决方案是什么。

几天前我从 PyCharm 切换到 VS Code(由于安装 Python 的目录引起的一些错误。)

我目前正在通过安装必要的软件包来设置 VS Code。它要求我选择一个解释器,所以我选择了几天前安装的 Anaconda 解释器。但是当我尝试在 VS Code 终端中运行此命令时出现此错误...

conda install pip

我得到这个错误......

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 install pip
+ ~~~~~
+ CategoryInfo          : ObjectNotFound: (conda:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

在我看来,似乎有多个错误。我真的被困住了。请解释这意味着什么并给我正确的解决方案。我希望这不是一个没有意义的问题。如果有帮助,我正在使用 Win 10。谢谢!

标签: python-3.xvisual-studio-codeanacondaconda

解决方案


推荐阅读