【发布时间】:2021-12-20 05:03:52
【问题描述】:
我在从 GitHub 克隆项目时遇到问题。当我尝试安装 requirements.txt 文件时出现错误:
错误:pyzmq 有一个无效的轮子,多个 .dist-info 目录 找到:libsodium-1.0.17.dist-info、pyzmq-18.1.0.dist-info
我尝试了以下选项,但没有任何效果。知道如何解决这个问题吗?
pip install --no-cache-dir -r requirements.txt
pip install --no-binary=:all: pyzmq==18.1.0
pip 安装轮子
我也打开了 requirements.txt 文件并删除了这个包,但是其他包没有正确安装!
【问题讨论】:
-
你解决了这个问题吗? requirements.txt 位于哪个仓库?了解正在安装哪些软件包可能会有所帮助。
-
不,它还没有修复。回购地址是回购地址是:github.com/ChrisFugl/Intrusing-Detection-System-Attack
-
您是否尝试询问该存储库的问题跟踪器?
-
您使用的是什么操作系统和 Python 版本?我尝试使用 Python 3.7 和 3.8 在 Windows 10 上安装要求,但遇到了
scipy==1.3.1的问题(请参阅here)。我没有收到与您相同的错误消息。 -
@raha 如果答案解决了您的问题,请不要忘记在答案左侧点赞和accept it by clicking the green check mark。