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

Unable to install: dependency conflict #10

Open
bmc84 opened this issue Jan 24, 2022 · 1 comment
Open

Unable to install: dependency conflict #10

bmc84 opened this issue Jan 24, 2022 · 1 comment

Comments

@bmc84
Copy link

bmc84 commented Jan 24, 2022

Hi!

Firstly, thank you for sharing this project! It looks amazing.

Having some trouble with pip install -r requirements.txt

_ERROR: Cannot install -r requirements.txt (line 10), -r requirements.txt (line 12) and requests==2.25.1 because these package versions have conflicting dependencies.

The conflict is caused by:
The user requested requests==2.25.1
insightface 0.2.1 depends on requests
mxnet-cu101mkl 1.5.0 depends on requests<2.19.0 and >=2.18.4

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip attempt to solve the dependency conflict_

Do you have any suggestion on how to fix this conflict? Have the wrong version numbers been added in requirements.txt, perhaps?

Looking forward to a solution. Thank you again!

@thepirat000
Copy link

I've solved that by removing the version of requests from requirements.txt:

instead of

https://github.com/sberbank-ai/sber-swap/blob/1140e085e165ed14e1098d81b7abd63feafedecf/requirements.txt#L12

Just

requests

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