Skip to content

cv2 version mismatch #4

@anno73

Description

@anno73

Hi!

I wanted to install asb module today but pip gives me following error message:

`
(asb) PS D:\CloudStorage\Dropbox\Work\Python\ClashOfClans> pip install asb
Collecting asb
Using cached asb-0.3-py3-none-any.whl (4.4 kB)
Collecting certifi==2019.9.11
Using cached certifi-2019.9.11-py2.py3-none-any.whl (154 kB)
Collecting numpy==1.17.4
Using cached numpy-1.17.4.zip (6.4 MB)
Preparing metadata (setup.py) ... done
Collecting asb
Using cached asb-0.2-py3-none-any.whl (3.8 kB)
Using cached asb-0.1-py3-none-any.whl (3.7 kB)
ERROR: Cannot install asb==0.1, asb==0.2 and asb==0.3 because these package versions have conflicting dependencies.

The conflict is caused by:
asb 0.3 depends on opencv-python==4.1.2.30
asb 0.2 depends on opencv-python==4.1.2.30
asb 0.1 depends on opencv-python==4.1.2.30

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/topics/dependency-resolution/#dealing-with-dependency-conflicts

[notice] A new release of pip available: 22.3 -> 23.2.1
[notice] To update, run: python.exe -m pip install --upgrade pip
(asb) PS D:\CloudStorage\Dropbox\Work\Python\ClashOfClans> pip install opencv-python==4.1.2.30
ERROR: Could not find a version that satisfies the requirement opencv-python==4.1.2.30 (from versions: 3.4.0.14, 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.15.55, 3.4.16.57, 3.4.16.59, 3.4.17.61, 3.4.17.63, 3.4.18.65, 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.3.56, 4.5.4.58, 4.5.4.60, 4.5.5.62, 4.5.5.64, 4.6.0.66, 4.7.0.68, 4.7.0.72, 4.8.0.74, 4.8.0.76, 4.8.1.78)
ERROR: No matching distribution found for opencv-python==4.1.2.30

[notice] A new release of pip available: 22.3 -> 23.2.1
[notice] To update, run: python.exe -m pip install --upgrade pip
`

Can you please update dependency of your library?
Thanks, A.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions