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

audonnx requirements trainer and onnx depends on protobuf different protobuf #25

Open
EsawaAzusa opened this issue Mar 11, 2023 · 1 comment

Comments

@EsawaAzusa
Copy link

pip install audonnx

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.
trainer 0.0.20 requires protobuf<3.20,>=3.9.2, but you have protobuf 3.20.3 which is incompatible.

and I installed protobuf 3.9.2 then

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.
onnx 1.13.1 requires protobuf<4,>=3.20.2, but you have protobuf 3.9.2 which is incompatible.

@hagenw
Copy link
Member

hagenw commented Mar 13, 2023

Thanks for reporting.

So far I'm not able to reproduce this.
Which operation system and Python version do you use?
Did you start with an empty virtual environment?

I tested it under Ubuntu and created a new virtual environment and installed audonnx with the following command:

$ virtualenv --python="/usr/bin/python" env
$ source "env/bin/activate"
$ pip install audonnx

Under Python 3.8, 3.9 and 3.10 it works for me and ends up installing:

audeer-1.19.0
audobject-0.7.9
audonnx-0.6.3
coloredlogs-15.0.1
flatbuffers-23.3.3
humanfriendly-10.0
importlib-metadata-6.0.0
mpmath-1.3.0
numpy-1.24.2
onnx-1.13.1
onnxruntime-1.14.1
oyaml-1.0
packaging-23.0
protobuf-3.20.3
pyyaml-6.0
sympy-1.11.1
tqdm-4.65.0
typing-extensions-4.5.0
zipp-3.15.0

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

No branches or pull requests

2 participants