python-3.x - 我在 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。谢谢!
解决方案
推荐阅读
- vba - Microsoft Access 将查询保存到宏设置中的表
- java - 非空属性引用空值或瞬态值 - Spring Boot - Thymeleaf
- elixir - Phoenix/Elixir/Ecto - unique_constraint 不适用于名称选项
- c# - Selenium (.Net core 2) FindsBy 使用没有 PageFactory 的自定义初始化程序
- robotframework - 没有关键字来检查机器人框架上是否存在非常规
- sql - 从 POSTGRES 中删除行,时间戳早于几天,这是另一个表中 SELECT 语句的结果
- python - 列表理解中的python可迭代列表理解
- python - API list 仅返回最后一项,而不是所有列表
- c - 从单个客户多次接收。我只能从客户端收到一次,然后每个响应都是 NULL
- javascript - 将响应结果循环到 HTML 列表