pip install conda 后 Conda 损坏

新手上路,请多包涵

运行命令“pip install conda”后,我的 conda 已损坏。有什么办法可以恢复吗?谢谢

这是我在运行 conda 命令时看到的错误

ERROR: The install method you used for conda--probably either `pip install conda`
or `easy_install conda`--is not compatible with using conda as an application.
If your intention is to install conda as a standalone application, currently
supported install methods include the Anaconda installer and the miniconda
installer.  You can download the miniconda installer from
https://conda.io/miniconda.html.

原文由 zjffdu 发布,翻译遵循 CC BY-SA 4.0 许可协议

阅读 983
1 个回答

只需按照错误中给出的说明进行操作:下载 miniconda,然后通过键入以下命令运行脚本文件: bash <file_name.sh> 例如 bash Miniconda3-latest-Linux-x86_64.sh

现在重新打开终端以使更改生效。

如果您的系统上已经安装了 conda,您可以使用 -f 强制选项重新安装它,例如 bash Miniconda3-latest-Linux-x86_64.sh -f

要测试您的安装,请输入命令 conda --version 。如果安装正确,您将看到安装的 conda 版本。

miniconda: https://conda.io/en/latest/miniconda.html

康达故障排除: https ://conda.io/docs/troubleshooting.html

原文由 kHarshit 发布,翻译遵循 CC BY-SA 4.0 许可协议

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题