downgrade opencv for macos in requirements.txt and Pipfile
This commit is contained in:
2
Pipfile
2
Pipfile
@@ -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 = "*"
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user