【问题标题】:pip3 can't download the latest tflite-runtimepip3 无法下载最新的 tflite-runtime
【发布时间】:2022-12-31 19:03:50
【问题描述】:

tflite-runtime的当前版本是2.11.0:

https://pypi.org/project/tflite-runtime/

这是将 tflite-runtime 下载到 tmp 文件夹的测试:

mkdir -p /tmp/test
cd /tmp/test

echo "tflite-runtime == 2.11.0" > ./test.txt

pip3 download -r ./test.txt

这是错误:

ERROR: Could not find a version that satisfies the requirement tflite-runtime==2.11.0 (from versions: none)
ERROR: No matching distribution found for tflite-runtime==2.11.0

这是 pip3 版本:

# pip3 --version
pip 22.0.2 from /usr/lib/python3/dist-packages/pip (python 3.10)

上面的pip3 download有什么问题吗?为什么找不到最新版本?以及如何解决?

【问题讨论】:

    标签: python ubuntu pip tensorflow-lite


    【解决方案1】:

    tflite-runtime 2.11.0 发布包:https://pypi.org/project/tflite-runtime/2.11.0/#files

    Python 3.7、3.8 和 3.9。只有 Linux,不同的 Intel 和 ARM 64 位架构。没有 Python 3.10 也没有源代码。

    如果您不想compile from sources,请使用 Python 3.9。

    【讨论】:

      【解决方案2】:

      如果您在 https://pypi.org/project/tflite-runtime/ 上查看 tflite-runtime 的分类器,唯一支持的 Python 版本是 3.7、3.8 和 3.9。您使用的是 Python 3.10,因此 pip 找不到与之匹配的包版本。

      【讨论】:

        猜你喜欢
        • 2021-08-23
        • 1970-01-01
        • 1970-01-01
        • 2017-09-28
        • 2015-02-20
        • 2021-10-06
        • 2014-07-03
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多