无法安装tensorflow-text~=2.11.0

问题描述 投票:0回答:4

我收到类似的警告

warnings.warn(
No local packages or working download links found for tensorflow-text~=2.11.0
error: Could not find suitable distribution for Requirement.parse('tensorflow-text~=2.11.0')

如果我跑步

pip install 'tensorflow-text~=2.11.0'
我得到了:

ERROR: Could not find a version that satisfies the requirement tensorflow-text~=2.11.0 (from versions: 2.8.1, 2.8.2, 2.9.0rc0, 2.9.0rc1, 2.9.0, 2.10.0b2, 2.10.0rc0, 2.10.0)
ERROR: No matching distribution found for tensorflow-text~=2.11.0

tensorflow-text 2.11.0 可在 pypi 上使用

如果我运行

pip install tensorflow-text
,它会安装tensorflow-text 2.10.0并将整个tensorflow降级到2.10.0

版本信息:

  1. 操作系统:Windows 10
  2. 环境:Conda(miniconda3)
  3. Python:3.10.8
  4. 张量流:2.11

我尝试过 pip 和 conda-forge

python windows tensorflow pip conda
4个回答
7
投票

根据他们的说明,他们已经放弃了 v2.11.0 的 Windows 构建。因此,您需要从源代码构建或寻求第三方构建。


1
投票

我认为你应该安装旧版本的 python,例如 3.9.* .


0
投票

我遇到了类似的问题,看来你需要先安装它

!pip install -q -U“tensorflow-text==2.11.*”

然后导入tensor flow和tensorflow_text

安装会出现依赖错误,但没问题


-3
投票

我认为你应该跑步

pip install tensorflow-text==2.11.0

没有任何引号或摆动破折号

© www.soinside.com 2019 - 2024. All rights reserved.