downgrade opencv for macos in requirements.txt and Pipfile

This commit is contained in:
scito
2022-12-30 19:26:45 +01:00
parent 7eb6f036ab
commit 10ff533a42
2 changed files with 5 additions and 2 deletions

View File

@@ -9,6 +9,8 @@ qrcode = "*"
pillow = "*"
qreader = "*"
opencv-python = "*"
# for macOS: opencv-python = "<=4.7.0"
# for PYTHON <= 3.7: typing_extensions = "*"
[dev-packages]
pytest = "*"

View File

@@ -2,6 +2,7 @@ protobuf
qrcode
Pillow
qreader
opencv-python
opencv-python<=4.7.0; sys_platform == 'darwin'
opencv-python; sys_platform != 'darwin'
pyzbar
typing_extensions # PYTHON < 3.11: add types
typing_extensions; python_version<='3.7'