google / flatbuffers

FlatBuffers: Memory Efficient Serialization Library
https://flatbuffers.dev/
Apache License 2.0
23.17k stars 3.24k forks source link

tensorflow-intel 2.15.0 requires flatbuffers>=23.5.26 #8204

Closed hanzigs closed 9 months ago

hanzigs commented 9 months ago

For tf2onnx, onnxmltools, autokeras libraries, I'm getting dependency errors like below in Python 3.11.3,

tensorflow-intel 2.15.0 requires flatbuffers>=23.5.26, but you have flatbuffers 2.0.7 which is incompatible
tensorflow-intel 2.15.0 requires protobuf!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.20.3, but you have protobuf 3.20.2 which is incompatible.
onnxconverter-common 1.14.0 requires protobuf==3.20.2, but you have protobuf 4.23.4 which is incompatible.
tf2onnx 1.13.0 requires flatbuffers<3.0,>=1.12, but you have flatbuffers 23.5.26 which is incompatible.

May I know how to resolve this please?

hanzigs commented 9 months ago

Issue solved with python 3.11.7