开发者社区> 问答> 正文

ubuntu系统,pip install conda后报错 ?报错

1.在ubuntu系统下,安装了anaconda,然后在ubuntu系统下打开命令窗,输入conda,一切正常。
2.但是打开anaconda平台,进入其中一个环境(environment),右键打开terminal,输入conda,报错: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.

展开
收起
爱吃鱼的程序员 2020-06-23 20:49:17 938 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    你的ubuntu版本是不是太旧或者不是标准的发行版,建议你安装14.0416.04两者之一。
    假设你的系统是64bit的,那么去下载miniconda2地址https://conda.io/miniconda.html安装下
    如果你已经安装了anaconda,先卸载,或者用-f强制安装。

    1、看下conda安装是不是安装到ubuntu系统自带python中;
    2、anaconda是一个独立的python,
    3、whichpip看下pip的路径

    首先,你的‘打开anaconda平台’,让我很迷惑,你如果在ubuntu上已经能运行conda,证明已经安装成功;
    其次,那么你就可以直接通过,sourceactivate{env__name}来进入对应的环境内;这就应该已经成功了。_

    2020-06-23 20:49:35
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载