Could not find a version that satisfies the requirement tensorflow==2.x

问题

在服务器上运行指令pip3 install tensorflow==2.8.0安装Tensorflow2.8.0,遇到报错:

  Could not find a version that satisfies the requirement tensorflow==2.8.0 (from versions: 1.12.0, 1.13.1, 1.14.0)
No matching distribution found for tensorflow==2.8.0

解决

问题出在服务器版本是32位的系统,从TensorFlow 2.0版本开始,TensorFlow不再支持32位操作系统。因此,不能在32位的Linux系统上安装TensorFlow 2.x。

TensorFlow 2.x只支持64位的操作系统。 如果希望在Linux系统上使用TensorFlow 2.x,需要重新安装64位版本的Linux操作系统,并重新使用pip3安装。请注意,计算机硬件也必须支持64位操作系统

如果只有32位的Linux系统,只能使用旧版本的TensorFlow,例如TensorFlow 1.x。但需要注意的是,旧版本的TensorFlow可能不包含最新的功能和改进,也可能会存在一些安全漏洞和错误。

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值