Installing tflite-support-nightly package fails with "No matching distribution found"

huangapple go评论55阅读模式
英文:

Installing tflite-support-nightly package fails with "No matching distribution found"

问题

我正在学习如何设置元数据,以前使用了这个链接的逐步指南,它完美地起作用了。我正在专注于目标检测。

Colab链接:https://colab.research.google.com/github/tensorflow/tensorflow/blob/master/tensorflow/lite/g3doc/models/convert/metadata_writer_tutorial.ipynb

我遇到的问题是:

!pip install tflite-support-nightly

开始返回错误:

在索引中查找:https://pypi.org/simple,https://us-python.pkg.dev/colab-wheels/public/simple/
错误:找不到满足要求tflite-support-nightly的版本(来自版本:none)
错误:找不到匹配的发行版以满足tflite-support-nightly的要求

我确信大约一周前它还有效。有关如何修复Colab代码以使其正常工作的任何想法吗?提前感谢!

英文:

I'm learning on how to set metadata and previously used this link step-by-step and it worked perfectly. I'm focusing on Object Detection.

Colab: https://colab.research.google.com/github/tensorflow/tensorflow/blob/master/tensorflow/lite/g3doc/models/convert/metadata_writer_tutorial.ipynb

Issue I'm experiencing is:

!pip install tflite-support-nightly

Started returning error:

Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/
ERROR: Could not find a version that satisfies the requirement tflite-support-nightly (from versions: none)
ERROR: No matching distribution found for tflite-support-nightly

I'm sure that it worked well a week ago or so. Any ideas on how to fix colab code to make it working? Thanks in advance!

答案1

得分: 1

我通过使用以下方法成功解决了:Colab的备用运行时版本
它将Python版本回退到3.9,可以完美运行。

英文:

I managed to solve it by using: Colab’s fallback runtime version
It sets python version back to 3.9 that runs perfectly.

huangapple
  • 本文由 发表于 2023年5月10日 22:30:08
  • 转载请务必保留本文链接:https://go.coder-hub.com/76219656.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定