Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onnx 1.13.0 does not work with protobuf <=3.20.1 #48

Closed
hagenw opened this issue Jan 2, 2023 · 0 comments · Fixed by #66
Closed

onnx 1.13.0 does not work with protobuf <=3.20.1 #48

hagenw opened this issue Jan 2, 2023 · 0 comments · Fixed by #66

Comments

@hagenw
Copy link
Member

hagenw commented Jan 2, 2023

When trying to install the packages we get:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
399
onnx 1.13.0 requires protobuf<4,>=3.20.2, but you have protobuf 3.20.1 which is incompatible.

The problem is that we specify

protobuf <=3.20.1  # avoid TypeError: Descriptors cannot not be created directly

in docs/requirements.txt.
We need to check how to make this work for newer versions of protobuf, for now I will restrict onnx to <1.13.0 in docs/requriements.txt in #47.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant