在pip install conda之后,Conda已损坏

zjf*_*fdu 17 python pip 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.
Run Code Online (Sandbox Code Playgroud)

kHa*_*hit 9

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

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

如果系统上已安装conda,则可以使用-fforce选项重新安装,例如, bash Miniconda3-latest-Linux-x86_64.sh -f

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

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

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

  • 虽然你的答案是100%正确的,如果该链接被移动,更改,合并到另一个链接或主网站刚刚消失,它也可能100%无用......**: - (**因此,请[编辑]你的回答,并将链接中的相关步骤复制到您的答案中,从而保证您在本网站的100%生命周期内得到答案!**; - )**您可以随时将链接保留在答案的底部材料来源...... (2认同)