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

requirements.txt has issues/conflicts #29

Open
tomglynch opened this issue Jul 8, 2021 · 1 comment
Open

requirements.txt has issues/conflicts #29

tomglynch opened this issue Jul 8, 2021 · 1 comment
Assignees

Comments

@tomglynch
Copy link

I think the whole requirements.txt needs to be reviewed for a fresh install. Multiple dependencies rely on each other and are causing errors.

Firstly

ERROR: Could not find a version that satisfies the requirement opencv-python-headless==4.2.0.32 (from -r requirements.txt (line 3)) (from versions: 3.4.10.37, 3.4.11.39, 3.4.11.41, 3.4.11.43, 3.4.11.45, 3.4.13.47, 3.4.14.51, 3.4.14.53, 4.3.0.38, 4.4.0.40, 4.4.0.42, 4.4.0.44, 4.4.0.46, 4.5.1.48, 4.5.2.52, 4.5.2.54)
ERROR: No matching distribution found for opencv-python-headless==4.2.0.32 (from -r requirements.txt (line 3))

then by upgrading to opencv-python-headless==4.3.0.38 we get:

ERROR: Cannot install -r requirements.txt (line 3) and numpy==1.17.2 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested numpy==1.17.2
    opencv-python-headless 4.3.0.38 depends on numpy>=1.17.3

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

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies

There were also other issues within running pip3 install -r requirements.txt

Cheers

@tomglynch tomglynch changed the title requirements.txt has conflicts requirements.txt has issues/conflicts Jul 8, 2021
@akshatvg
Copy link
Member

akshatvg commented Jul 8, 2021

@HarshiniR4 can you have a look?

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