Skip to content

Can not install for Python 3.7 due to opencv-python version mismatch #38

@RunOrVeith

Description

@RunOrVeith

Description

Using python3.7, pip install pyannote-video does not work because of the hard version requirement opencv-python==3.4.1.15. As can be seen on the PyPy Page, version 3.4.1.15 can not be used with python 3.7.

Steps/Code to Reproduce

pip3.7 install pyannote-video

Expected Results

Pip installs pyannote-video

Actual Results

Collecting opencv-python==3.4.1.15 (from pyannote-video)
  Could not find a version that satisfies the requirement opencv-python==3.4.1.15 (from pyannote-video) (from versions: 3.4.2.17, 3.4.3.18, 3.4.4.19)
No matching distribution found for opencv-python==3.4.1.15 (from pyannote-video)

Fix

require opencv-python>=3.4.1.15 in setup.py. The current release version is 3.4.4.19.
As 3.4.4.19 also works for all the same python versions as 3.4.1.15 plus 3.7, the hard requirement version could probably also be increased. (This is untested, but I imagine there are no breaking changes between 3.4.1.15 and 3.4.4.19.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions