环境 tensorflow ERROR: No matching distribution found for ai-edge-litert
提示:环境搭建
文章目录
- 前言
- 多依赖安装
前言
提示:版本
之前文章
conda+jupyter 环境搭建
PyTorch 2.6 cpu 环境搭建
系统 :ubuntu 22.0
python :3.8
ERROR: No matching distribution found for ai-edge-litert
PyTorch: starting from 'yolo11n.pt' with input shape (1, 3, 640, 640) BCHW and output shape(s) (1, 84, 8400) (5.4 MB)
requirements: Ultralytics requirements ['tf_keras', 'sng4onnx>=1.0.1', 'onnx_graphsurgeon>=0.3.26', 'ai-edge-litert>=1.2.0', 'onnx>=1.12.0', 'onnx2tf>=1.26.3', 'onnxslim>=0.1.31', 'tflite_support', 'onnxruntime', 'protobuf>=5'] not found, attempting AutoUpdate...
原因:版本不支持 python3.8 卒,刚从 3.12 切到3.8 ,现在又要切回 3.10
https://pypi.org/project/ai-edge-litert/1.2.0/#files
多依赖安装
pip install --no-cache-dir \
tf_keras \
sng4onnx \
onnx_graphsurgeon \
ai-edge-litert \
onnx \
onnx2tf \
onnxslim \
tflite_support \
onnxruntime \
protobuf \
-i https://pypi.tuna.tsinghua.edu.cn/simple