如何从 anaconda 中卸载软件包

How can I uninstall package from anaconda

我试图从 anaconda 中卸载“googletrans”。

conda list

googletrans 3.0.0 pypi_0 pypi

conda uninstall googletrans

这里是错误

Collecting package metadata (repodata.json): done
Solving environment: failed

PackagesNotFoundError: The following packages are missing from the target environment:
  - googletrans

为什么我无法从 anaconda 中卸载 googletrans?

official documentation

中所述

To remove a package such as SciPy in an environment such as myenv:

conda remove -n myenv scipy

To remove a package such as SciPy in the current environment:

conda remove scipy

对于你的情况,你可以尝试:

conda remove googletrans