【问题标题】:ERROR: More than one .egg-info directory found in /tmp/pip-pip-egg-info-<somehash>错误:在 /tmp/pip-pip-egg-info-<somehash> 中找到多个 .egg-info 目录
【发布时间】:2021-03-02 02:53:36
【问题描述】:

我正在尝试通过pip install advisor 安装advisor,但它失败并出现以下错误:

ERROR: More than one .egg-info directory found in /tmp/pip-pip-egg-info-&lt;somehash&gt;

$ pip --version
pip 21.0.1 from /my_home/.local/lib/python3.6/site-packages/pip (python 3.6)

我在另外两台 ubuntu 机器上试过这个;一个具有相同的 pip 版本21.0.1,另一个具有较旧的 pip 20.3.4;后者成功安装,而前者失败并显示相同的错误消息。我倾向于认为这是一个 pip 版本的问题。

任何人有其他想法来解决这个问题?

【问题讨论】:

    标签: python pip


    【解决方案1】:

    这是包中的一个错误——它调用了两次setup()12

    【讨论】:

      猜你喜欢
      • 2014-11-23
      • 2010-09-20
      • 2018-02-06
      • 1970-01-01
      • 2017-05-02
      • 2021-09-16
      • 2017-03-04
      • 1970-01-01
      • 2021-12-20
      相关资源
      最近更新 更多