如何使用 conda 或 pip 卸载 nodejs?

问题描述

我尝试了 conda remove nodejspip uninstall nodejs 但它不起作用。我收到此错误消息 PackagesNotFoundError: The following packages are missing from the target environment: - nodejs

但是当我使用 conda 搜索 nodejs 时。事实证明该包仍然存在。

enter image description here

解决方法

conda search 命令不提供有关本地安装的信息,而是查询 Anaconda Cloud 以查看可用安装哪些软件包。

要检查安装了什么,请使用 conda list 命令。如果您希望检查给定软件包的每个环境,请参阅 Conda: list all environments that use a certain package