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

Installation dependency issue #1

Open
zhaolebor opened this issue Nov 21, 2024 · 0 comments
Open

Installation dependency issue #1

zhaolebor opened this issue Nov 21, 2024 · 0 comments

Comments

@zhaolebor
Copy link

zhaolebor commented Nov 21, 2024

Hi,

I am trying to install the packages using pip install -r requirements.txt but ran into multiple dependency issues:

ERROR: Cannot install -r requirements.txt (line 88) and urllib3==1.26.19 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested urllib3==1.26.19
    gradio 4.36.1 depends on urllib3~=2.0

then I remove the version specification of gradio and then tried install I got:

ERROR: Cannot install -r requirements.txt (line 12), -r requirements.txt (line 76), -r requirements.txt (line 79), -r requirements.txt (line 82), -r requirements.txt (line 87), -r requirements.txt (line 90), -r requirements.txt (line 92) and protobuf==3.20.3 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested protobuf==3.20.3
    apache-beam 2.58.1 depends on protobuf!=4.0.*, !=4.21.*, !=4.22.0, !=4.23.*, !=4.24.*, <4.26.0 and >=3.20.3
    google-api-core 2.19.0 depends on protobuf!=3.20.0, !=3.20.1, !=4.21.0, !=4.21.1, !=4.21.2, !=4.21.3, !=4.21.4, !=4.21.5, <5.0.0.dev0 and >=3.19.5
    google-cloud-aiplatform 1.49.0 depends on protobuf!=3.20.0, !=3.20.1, !=4.21.0, !=4.21.1, !=4.21.2, !=4.21.3, !=4.21.4, !=4.21.5, <5.0.0dev and >=3.19.5
    google-cloud-resource-manager 1.12.3 depends on protobuf!=3.20.0, !=3.20.1, !=4.21.0, !=4.21.1, !=4.21.2, !=4.21.3, !=4.21.4, !=4.21.5, <5.0.0dev and >=3.19.5
    googleapis-common-protos 1.63.1 depends on protobuf!=3.20.0, !=3.20.1, !=4.21.1, !=4.21.2, !=4.21.3, !=4.21.4, !=4.21.5, <6.0.0.dev0 and >=3.19.5
    grpc-google-iam-v1 0.13.0 depends on protobuf!=3.20.0, !=3.20.1, !=4.21.1, !=4.21.2, !=4.21.3, !=4.21.4, !=4.21.5, <5.0.0dev and >=3.19.5
    grpcio-status 1.62.2 depends on protobuf>=4.21.6

Then I removed the version specification of protobuf and pip just fails at resolving a version for protobuf

I was wondering if you have any insights into this issue. Thank you very much!

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

1 participant