Skip to content

Commit eb9b7be

Browse files
committed
Debugging
1 parent 4b00dd3 commit eb9b7be

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ def test_opencv():
3333
test if correct OpenCV Library version has already been installed
3434
on the machine or not. Returns True if previously not installed.
3535
"""
36+
import cv2
3637
try:
3738
# import OpenCV Binaries
3839
import cv2
@@ -45,7 +46,9 @@ def test_opencv():
4546
)
4647
)
4748
except ImportError:
48-
print("No compatible OpenCV Installation found on this machine!")
49+
print(
50+
"No compatible OpenCV Installation found on this machine!"
51+
)
4952
return True
5053
return False
5154

0 commit comments

Comments
 (0)