pip install conda之后出现问题

来源:互联网 发布:无线游戏鼠标推荐知乎 编辑:程序博客网 时间:2024/06/10 03:34
      本篇文章主要用于解决,在Linux环境下,在终端输入命令pip install 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.

      第一种解决方案很简单,就是先把所有的命令行关掉,然后重新打开。如果还是报错的话,请看第二种解决方案。

      第二种解决方案,就是从对应的网站上下载相应的,miniconda包,然后在终端执行bash XXX.sh 命令,其中XXX.sh是下载的miniconda的文件名称。

     比如,我这里是 bash Miniconda2-latest-Linux-x86_64.sh 即可。

     如果已经安装了conda包的话,那么就执行bash Miniconda2-latest-Linux-x86_64.sh -f 表示强制执行该命令。

     对应的Miniconda包可以在网站 https://conda.io/miniconda.html 上下载到。选择好相应的版本即可。

     

     

    

原创粉丝点击