无法安装 deepface,因为软件包版本有冲突

2023-12-31

我正在尝试在 mac m1 上安装 deepface。我已经安装了tensorflow-macos当前版本是2.5.0。但是当我尝试安装 deepface 时,它​​说依赖项版本存在冲突,例如deepface 0.0.65 depends on tensorflow>=1.9.0。 但据我了解,我已经安装了tensorflow-macos 2.5.0那么为什么会出现冲突呢?

请给我任何解决方案。

ERROR: Cannot install deepface==0.0.1, deepface==0.0.10, deepface==0.0.11, deepface==0.0.12, deepface==0.0.13, deepface==0.0.14, deepface==0.0.15, deepface==0.0.16, deepface==0.0.18, deepface==0.0.19, deepface==0.0.2, deepface==0.0.20, deepface==0.0.21, deepface==0.0.22, deepface==0.0.23, deepface==0.0.24, deepface==0.0.25, deepface==0.0.26, deepface==0.0.3, deepface==0.0.30, deepface==0.0.31, deepface==0.0.32, deepface==0.0.33, deepface==0.0.34, deepface==0.0.35, deepface==0.0.36, deepface==0.0.37, deepface==0.0.38, deepface==0.0.39, deepface==0.0.4, deepface==0.0.40, deepface==0.0.41, deepface==0.0.43, deepface==0.0.44, deepface==0.0.45, deepface==0.0.46, deepface==0.0.47, deepface==0.0.48, deepface==0.0.49, deepface==0.0.5, deepface==0.0.50, deepface==0.0.51, deepface==0.0.52, deepface==0.0.53, deepface==0.0.54, deepface==0.0.55, deepface==0.0.56, deepface==0.0.57, deepface==0.0.58, deepface==0.0.59, deepface==0.0.6, deepface==0.0.60, deepface==0.0.61, deepface==0.0.62, deepface==0.0.63, deepface==0.0.64, deepface==0.0.65, deepface==0.0.7 and deepface==0.0.9 because these package versions have conflicting dependencies.

The conflict is caused by:
    deepface 0.0.65 depends on tensorflow>=1.9.0
    deepface 0.0.64 depends on tensorflow>=1.9.0
    deepface 0.0.63 depends on tensorflow>=1.9.0
    deepface 0.0.62 depends on tensorflow>=1.9.0
    deepface 0.0.61 depends on tensorflow>=1.9.0
    deepface 0.0.60 depends on tensorflow>=1.9.0
    deepface 0.0.59 depends on tensorflow>=1.9.0
    deepface 0.0.58 depends on tensorflow>=1.9.0
    deepface 0.0.57 depends on tensorflow>=1.9.0
    deepface 0.0.56 depends on tensorflow>=1.9.0
    deepface 0.0.55 depends on tensorflow>=1.9.0
    deepface 0.0.54 depends on tensorflow>=1.9.0
    deepface 0.0.53 depends on tensorflow>=1.9.0
    deepface 0.0.52 depends on tensorflow>=1.9.0
    deepface 0.0.51 depends on tensorflow>=1.9.0
    deepface 0.0.50 depends on tensorflow>=1.9.0
    deepface 0.0.49 depends on tensorflow>=1.9.0
    deepface 0.0.48 depends on tensorflow>=1.9.0
    deepface 0.0.47 depends on tensorflow>=1.9.0
    deepface 0.0.46 depends on tensorflow>=1.9.0
    deepface 0.0.45 depends on tensorflow>=1.9.0
    deepface 0.0.44 depends on tensorflow>=1.9.0
    deepface 0.0.43 depends on tensorflow>=1.9.0
    deepface 0.0.41 depends on tensorflow>=1.9.0
    deepface 0.0.40 depends on tensorflow>=1.9.0
    deepface 0.0.39 depends on tensorflow>=1.9.0
    deepface 0.0.38 depends on tensorflow>=1.9.0
    deepface 0.0.37 depends on tensorflow>=1.9.0
    deepface 0.0.36 depends on tensorflow>=1.9.0
    deepface 0.0.35 depends on tensorflow>=1.9.0
    deepface 0.0.34 depends on tensorflow>=1.9.0
    deepface 0.0.33 depends on tensorflow>=1.9.0
    deepface 0.0.32 depends on tensorflow>=1.9.0
    deepface 0.0.31 depends on tensorflow>=1.9.0
    deepface 0.0.30 depends on tensorflow>=1.9.0
    deepface 0.0.26 depends on tensorflow>=1.9.0
    deepface 0.0.25 depends on tensorflow>=1.9.0
    deepface 0.0.24 depends on tensorflow>=1.9.0
    deepface 0.0.23 depends on tensorflow>=1.9.0
    deepface 0.0.22 depends on tensorflow>=1.9.0
    deepface 0.0.21 depends on tensorflow>=1.9.0
    deepface 0.0.20 depends on tensorflow>=1.9.0
    deepface 0.0.19 depends on tensorflow>=1.9.0
    deepface 0.0.18 depends on tensorflow>=1.9.0
    deepface 0.0.16 depends on tensorflow>=1.9.0
    deepface 0.0.15 depends on tensorflow>=1.9.0
    deepface 0.0.14 depends on tensorflow>=1.9.0
    deepface 0.0.13 depends on tensorflow>=1.9.0
    deepface 0.0.12 depends on tensorflow>=1.9.0
    deepface 0.0.11 depends on tensorflow>=1.9.0
    deepface 0.0.10 depends on tensorflow>=1.9.0
    deepface 0.0.9 depends on tensorflow>=1.9.0
    deepface 0.0.7 depends on tensorflow>=1.9.0
    deepface 0.0.6 depends on tensorflow>=1.9.0
    deepface 0.0.5 depends on tensorflow>=1.9.0
    deepface 0.0.4 depends on tensorflow>=1.9.0
    deepface 0.0.3 depends on tensorflow>=1.9.0
    deepface 0.0.2 depends on tensorflow>=1.9.0
    deepface 0.0.1 depends on tensorflow>=1.9.0

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies

尝试使用安装 deepface

pip install --no-deps deepface

这将下载 Deepface 库,而无需任何依赖。

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

无法安装 deepface,因为软件包版本有冲突 的相关文章

  • 将字符串转换为浮点数列表(在 python 中)

    出于数据存储的目的 我尝试从 txt 文件恢复浮点列表 从字符串中可以看出 a 1 3 2 3 4 5 我想恢复 a 1 3 2 3 4 5 我期待一个简单的解决方案 例如list a 但我找不到类似的东西 Use the AST模块 Ex
  • 如何打印脚本的每一行,因为它仅针对正在运行的顶级脚本运行?

    python 跟踪模块将允许您运行一个脚本 打印每一行代码 因为它在脚本和所有导入的模块中运行 如下所示 python m trace trace myscript py 有没有办法做同样的事情 但是only打印顶级调用 即仅打印以下行my
  • Pandas ParserError:标记数据时出错。 C 错误:字符串内有 EOF

    我的数据超过 400 000 行 运行此代码时 f pd read csv filename error bad lines False 我收到以下错误 pandas errors ParserError Error tokenizing
  • 使用 pyppeteer 与 asyncio 关联来抓取内容

    我用 python 结合编写了一个脚本pyppeteer随着asyncio从其登陆页面抓取不同帖子的链接 并最终通过跟踪通向其内页的 url 来获取每个帖子的标题 我这里解析的内容不是动态的 但是 我利用了pyppeteer and asy
  • 如何测试该变量不等于多个事物?

    这是我的一段代码 choice while choice 1 and choice 2 and choice 3 choice raw input pick 1 2 or 3 if choice 1 print 1 it is elif c
  • 使用 keras 澄清 Yolo v3 模型输出

    我将 yolo v3 模型与 keras 一起使用 该网络为我提供了形状如下的输出容器 1 13 13 255 1 26 26 255 1 52 52 255 所以我找到了这个link https www cyberailab com ho
  • MacOS Big Sur 中的 NPM 错误“找不到 Python 可执行文件”

    我已经花了整整一周的时间寻找这个问题的答案 但没有成功 我查看了每个 StackOverflow 帖子 Google 的每一篇文章以及我能找到的每个相关的 Github 问题 大多数相关错误似乎都比较旧 所以我想知道我的问题是否由于我使用的
  • 让 python 脚本打印到终端而不作为标准输出的一部分返回

    我正在尝试编写一个返回值的 python 脚本 然后我可以将其传递给 bash 脚本 问题是我想要在 bash 中返回一个单一值 但我想要一些东西一路打印到终端 这是一个示例脚本 我们称之为 return5 py usr bin env p
  • 清理 MongoDB 的输入

    我正在为 MongoDB 数据库程序编写 REST 接口 并尝试实现搜索功能 我想公开整个 MongoDB 接口 我确实有两个问题 但它们是相关的 所以我将它们放在一篇文章中 使用 Python json 模块解码不受信任的 JSON 是否
  • 在Python中,如何通过去掉括号和大括号来打印Json

    我想以一种很好的方式打印 Json 我想去掉方括号 引号和大括号 只使用缩进和行尾来显示 json 的结构 例如 如果我有一个像这样的 Json A A1 1 A2 2 B B1 B11 B111 1 B112 2 B12 B121 1
  • Python SQLite3 SQL注入漏洞代码

    我知道下面的代码片段由于 format 的原因很容易受到 SQL 注入的攻击 但我不知道为什么 有谁明白为什么这段代码容易受到攻击以及我从哪里开始修复它 我知道这些代码片段使输入字段保持打开状态 以便通过 SQL 注入执行其他恶意命令 但不
  • 按升序对数字字符串列表进行排序

    我创建了一个SQLite https en wikipedia org wiki SQLite数据库有一个存储温度值的表 第一次将温度值按升序写入数据库 然后 我将数据库中的温度值读入列表中 然后将该列表添加到组合框中以选择温度 效果很好
  • Flask 和 Reactjs 抛出 JSX 转换错误

    我已经开始将 ReactJS 与 Python Flask 后端结合使用 通过 Flask 渲染模板时 我在 Chrome 控制台中收到以下客户端错误 错误 找不到模块 jstransform visitors es6 templates
  • 如何停止 PythonShell

    如何终止 停止 Node js 中 PythonShell 执行的 Python 脚本的执行 我在交互模式下运行 输出通过 socket io 发送到给定的房间 如果没有更多的客户端连接到这个房间 我想停止 python 脚本的执行 这是我
  • 如何在 tkinter 后台运行函数[重复]

    这个问题在这里已经有答案了 我是 GUI 编程新手 我想用 tkinter 编写一个 Python 程序 我想要它做的就是在后台运行一个可以通过 GUI 影响的简单函数 该函数从 0 计数到无穷大 直到按下按钮为止 至少这是我想要它做的 但
  • 从函数在 python 3 中创建全局变量

    我想知道为什么在函数结束后我无法访问变量 variable for raw data 代码是这样的 def htmlfrom Website URL import urllib request response urllib request
  • 如何使用 Matplotlib 可视化标量二维数据?

    所以我有一个网格网格 矩阵 X 和 Y 以及标量数据 矩阵 Z 我需要将其可视化 最好是一些 2D 图像 在各点处带有颜色 显示 Z 值 我做了一些研究 但没有找到任何能完全满足我想要的效果的东西 pyplot imshow Z 看起来不错
  • Docker Python 脚本找不到文件

    我已经成功构建了一个 Docker 容器 并将应用程序的文件复制到 Dockerfile 中的容器中 但是 我正在尝试执行引用输入文件 在 Docker 构建期间复制到容器中 的 Python 脚本 我似乎无法弄清楚为什么我的脚本告诉我它无
  • Python 子进程:无法转义引号

    我知道以前曾问过类似的问题 但它们似乎都是通过重新设计参数的传递方式 即使用列表等 来解决的 但是 我这里有一个问题 因为我没有这个选项 有一个特定的命令行程序 我使用的是 Bash shell 我必须向其传递带引号的字符串 它不能不被引用
  • 如何从 Pandas 数据框函数调用中回顾之前的行?

    我正在研究 回测交易系统 我有一个包含 OHLC 数据的 Pandas 数据框 并添加了几个计算列 https stackoverflow com questions 12376863 adding calculated columns t

随机推荐

  • Rails:我如何需要 ActiveSupport 的救援_from 方法?

    我有这个代码application controller Method to capture and handle all exceptions rescue from Exception do ex Rails logger debug
  • 如何获取 Windows 应用商店应用程序中正在执行的程序集版本信息?

    在将应用程序移植到 Windows 应用商店时 我注意到 NETCore Framework 不包括 System Reflection Assembly GetExecutingAssembly 我用它来获取版本信息以显示在菜单屏幕上 是
  • Rails 3.1、资产管道和 IE 6 & 7 处于生产模式 - 某些 CSS 和 js 未正确加载

    在生产模式下尝试我的 Rails 3 1 应用程序 Debian 6 Ruby 1 9 2 Passenger 我使用 IE 6 和 IE 7 进行了尝试 但某些资源未正确加载 在开发模式下一切正常 一些 css 和 js 未正确加载 所有
  • 如何在 Ruby 中的哈希列表中提取每个键的更大值

    我可以想象有一种简单的方法可以做到这一点 而不是使用许多变量和状态 我只想获得哈希列表中每个键的最高值 例如 1 gt 19 4 1 gt 12 4 2 gt 29 4 3 gt 12 4 2 gt 39 4 2 gt 59 4 Resul
  • 无法打开文件“glew32.lib”

    我已经下载了 glew 1 9 0 zip 在 C glew 1 9 0 build vc6 和 C glew 1 9 0 build vc10 下构建了项目 并且在将 Visual Studio 的路径设置为后无法构建glew inclu
  • Java字节码解释器

    我知道java程序首先被编译并生成与平台无关的字节码 但我的问题是 为什么这个字节码在下一阶段被解释而不是被编译 即使编译通常比解释更快 你是在自问自答 字节码是平台无关的 如果执行编译后的代码 则它不会在每个操作系统上运行 这就是 C 的
  • 警报对话框背景主题/颜色

    我想设置AlertDialogue主题或change背景颜色 虽然我知道它有一个默认主题 但在不同的版本中我得到了不同的主题 所以我想为所有版本修复它 或者简单地将背景颜色更改为白色 NonNull public Dialog onCrea
  • 从 PlaceAutocompleteFragment android (Google Places API) 获取国家/地区代码

    在 Android 版 Google Places API 中 我使用 PlaceAutocompleteFragment 来显示城市 国家 这里正在获取地址 名称 placeId 等 Place对象仅包含这些字段 Override pub
  • 如何使用系统签名密钥对我的应用程序进行签名?

    我需要创建一个 Robotium 应用程序 该应用程序将使用 设置 应用程序从菜单 设置 gt 无线和网络 gt Wi Fi 打开 关闭 WIFI 我设法找到了一些示例代码here http code google com p roboti
  • 如何缩放 SVG 路径

    我尝试缩放 svg 路径之类的元素 但缩放对于 div 元素工作正常 不适用于 svg 路径元素 我在下面附上了我的代码 有什么建议吗
  • ngModel 自定义 ValuesAccessor

    关于 ngModel 和 DI 的高级问题 正如我在这里看到的 https github com angular angular blob 2 0 0 beta 1 modules angular2 src common forms dir
  • R:按名称组合嵌套列表元素

    假设我有一个列表结构 其中有data frames嵌套在每个元素中 l lt list A list D data frame V1 seq 3 V2 LETTERS 1 3 E data frame V1 seq 3 V2 LETTERS
  • 如何在 Forth 中创建数组?

    我知道 这个问题过去经常被问到 也许之前的 Stack Overflow 帖子中已经给出了这些信息 但学习 Forth 是一项非常复杂的任务 重复有助于理解串联编程语言相对于 C 等替代语言的优势 我从 Forth 教程中学到的是 Fort
  • 基于内容的节流

    我想知道Camel是否可以根据交换的内容进行限制 情况如下 我必须通过soap 调用网络服务 其中 发送到该webservice的参数中有一个customerId 问题是 如果给定的 customerId 每分钟有超过 1 个请求 则 We
  • jQuery keyup keyCode 在 Opera 中不起作用

    Opera 浏览器是否有可能忽略 keyCode 40 向下箭头 test keyup function e body append e keyCode 测试它 http www jsfiddle net V9Euk 454 http ww
  • 如何将已知的接口属性与自定义索引签名结合起来?

    如何键入一个可以同时具有几个属性的对象声明的可选属性 e g hello string moo boolean 以及自定义属性 必须是函数 例如 custom string v any gt boolean 这就是我想看到的 例如 cons
  • 递归查询中不允许使用聚合函数。有没有其他方法可以编写此查询?

    TL DR我不知道如何编写在递归部分不使用聚合函数的递归 Postgres 查询 是否有其他方法可以编写如下所示的递归查询 假设我们有一些运动 CREATE TABLE sports id INTEGER name TEXT INSERT
  • WinRt 页面导航

    如何从自定义类内部的代码导航到页面 例如 假设我的 MainPage xaml cs 中有以下代码 private void DoSomething object sender RoutedEventArgs e var work new
  • Android 低内存杀手和应用程序后台堆栈

    当系统内存不足时 Android系统可能会决定删除某个应用程序进程 以便回收资源以进行更重要的工作 即启动属于另一个应用程序的服务 但是 我无法确定 Android 系统是否可以仅删除应用程序任务 返回堆栈 而不触及相应的应用程序进程 如果
  • 无法安装 deepface,因为软件包版本有冲突

    我正在尝试在 mac m1 上安装 deepface 我已经安装了tensorflow macos当前版本是2 5 0 但是当我尝试安装 deepface 时 它 说依赖项版本存在冲突 例如deepface 0 0 65 depends o