Skip to content

Commit 95c79f8

Browse files
authored
Merge pull request #1038 from luxonis/fix/requirements
Force numpy <2.0
2 parents 7893975 + a060abe commit 95c79f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/install_requirements.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@ def hasWhitespace(string):
5555
requireOpenCv = True
5656

5757
if requireOpenCv:
58-
DEPENDENCIES.append('numpy')
58+
DEPENDENCIES.append('numpy<2.0')
5959
# 4.5.4.58 package is broken for python 3.9
6060
if sys.version_info[0] == 3 and sys.version_info[1] == 9:
6161
DEPENDENCIES.append('opencv-python!=4.5.4.58')
6262
else:
63-
DEPENDENCIES.append('opencv-python')
63+
DEPENDENCIES.append('opencv-python<5.0')
6464

6565

6666

0 commit comments

Comments
 (0)