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

The conflict is caused by: The user requested urllib3==1.26.6 gradio 4.43.0 depends on urllib3~=2.0 #95

Open
rayryeng opened this issue Dec 9, 2024 · 3 comments

Comments

@rayryeng
Copy link

rayryeng commented Dec 9, 2024

Running through the installation instructions, I'm at the point where we need to install the dependencies via pip using pip install -r requirements.txt.

By doing this, I receive the following error:

The conflict is caused by: The user requested urllib3==1.26.6 gradio 4.43.0 depends on urllib3~=2.0

It seems that this commit has forced urllib to be version 1.26.6 but it is incompatible with gradio==4.43.0.

I resolved this by changing the version to urllib3==2.2.3 but I wanted to confirm if this is intended, or if this is a bug that requires fixing.

@CamelliasW
Copy link

vi requirements.txt
rewrite urllib3==1.26.6 ===>urllib3

reinstall will be ok.

@CodeZeno
Copy link

I changed gradio to version 4.26.0 and install worked

@rayryeng
Copy link
Author

vi requirements.txt rewrite urllib3==1.26.6 ===>urllib3

reinstall will be ok.

Yes, by removing this, it's the same as setting the version to 2.2.3. I've mentioned this in my question. I wanted to ask if setting this to 1.26.6 with gradio 4.43.0 was intended. However, fixing the dependency for urrlib3 does allow everything to work.

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

3 participants