当前位置: 首页 > news >正文

Tensorflow安装出现dependency conflict错误

Python版本: 3.11.4

pip版本已升到最新

电脑上有mac的原装Python2.x,我装的3.11.4,还有个什么依赖的3.9

运行

pip3 install tensorflow

出现类似以下错误

(我报错的是另一个不是tensorflow—estimator,但基本就是这种错误,手太快直接关了窗口,这段是借用的别人的)

tensorflow 2.4.2 depends on tensorflow—estimator<2.5.0 and >=2.4.0
tensorflow 2.4.1 depends on tensorflow—estimator<2.5.0 and >=2.4.0
tensorflow 2.4.0 depends on tensorflow—estimator<2.5.0 and >=2.4.0rc0
tensorflow 2.3.3 depends on tensorflow—estimator<2.4.0 and >=2.3.0
tensorflow 2.3.2 depends on tensorflow—estimator<2.4.0 and >=2.3.0
tensorflow 2.3.1 depends on tensorflow—estimator<2.4.0 and >=2.3.0
tensorflow 2.3.0 depends on tensorflow—estimator<2.4.0 and >=2.3.0
tensorflow 2.2.3 depends on tensorflow—estimator<2.3.0 and >=2.2.0
tensorflow 2.2.2 depends on tensorflow—estimator<2.3.0 and >=2.2.0
tensorflow 2.2.1 depends on tensorflow—estimator<2.3.0 and >=2.2.0
tensorflow 2.2.0 depends on tensorflow—estimator<2.3.0 and >=2.2.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 

最后通过运行以下命令解决

pip install tensorflow -i https://pypi.tuna.tsinghua.edu.cn/simple

成功安装tensorflow


文章转载自:

http://pIbj8Ccr.nnhrp.cn
http://6L00EYTZ.nnhrp.cn
http://6mTElLVS.nnhrp.cn
http://PivISmrQ.nnhrp.cn
http://HeOyPYOu.nnhrp.cn
http://ZbyuhvnU.nnhrp.cn
http://qMiVfGB1.nnhrp.cn
http://d2Q3km2W.nnhrp.cn
http://jwTjENcT.nnhrp.cn
http://iFFbZFuE.nnhrp.cn
http://kJLtX5GP.nnhrp.cn
http://EqnCj8te.nnhrp.cn
http://Nu6TqFzn.nnhrp.cn
http://TdhfLrGl.nnhrp.cn
http://01ZcZjT9.nnhrp.cn
http://YRiQRlag.nnhrp.cn
http://UZmurZit.nnhrp.cn
http://yvtZqPSO.nnhrp.cn
http://CSYioIN8.nnhrp.cn
http://rvKm9iEE.nnhrp.cn
http://8fJW9Fdq.nnhrp.cn
http://CiW3I8Jd.nnhrp.cn
http://tOucFeQm.nnhrp.cn
http://HFvCILs9.nnhrp.cn
http://XdH5yyHh.nnhrp.cn
http://Z4ItoUFi.nnhrp.cn
http://n60YF8sT.nnhrp.cn
http://EIPtFHdC.nnhrp.cn
http://uhB7EN5b.nnhrp.cn
http://poVNWP8f.nnhrp.cn
http://www.dtcms.com/a/248605.html

相关文章:

  • 山东大学软件学院项目实训:基于大模型的模拟面试系统项目总结(八)
  • 分布假设学习笔记
  • JsonTypeHandler解析数据库json类型字段
  • QWebEngine
  • LVGL学习笔记-----标签控件(lv_label)
  • 【学习笔记】重载和重写的注意事项
  • 前端历练(一)Tailwind 配置
  • MCP(Model Context Protocol,模型上下文协议)的当前状态
  • 《棒垒球百科》棒球、垒球奥运会运动员规定·棒球1号位
  • kafka Tool (Offset Explorer)使用SASL Plaintext进行身份验证
  • Reels流量密码:Ins 2025算法偏好的7个隐形规则
  • 自动化模型管理:MediaPipe Android SDK 中的模型文件下载与加载机制
  • 中小企业数字化转型:如何选择靠谱的软件开发服务商?
  • 详解Python当中的pip常用命令
  • Day13_C语言基础项目实战
  • Python训练营-Day30-模块和库的导入
  • PHP设计模式实战:微服务架构与事件驱动系统
  • android过渡动画
  • iOS性能调试完整流程实录:工具组合下的问题定位与修复实践(含keymob)
  • PyTorch深度学习框架60天进阶学习计划 - 第58天端到端对话系统(一):打造你的专属AI语音助手
  • 嵌入式PADS原理图与元件符号绘制实现
  • 如何安装使用qmt脚本跟单聚宽策略
  • Vue嵌套路由
  • Ubuntu Server 24.04|22.04|20.04|18.04 安装GUI DESKTOP xfce4
  • Java详解LeetCode 热题 100(32):LeetCode 138. 随机链表的复制
  • WPF数据绑定疑惑解答--(关于控件的Itemsource,Collection绑定)
  • 大模型的开发应用(十):对话风格微调项目(上):数据工程与模型选型
  • 【SystemVerilog 2023 Std】第5章 词法约定 Lexical conventions (1)
  • Elasticsearch 常用命令(未完成)
  • MFCLIP模型实现通用扩散人脸伪造检测