No Module Named CV 2 #2219
Replies: 4 comments 11 replies
-
@digitalurban Andy, are you using the |
Beta Was this translation helpful? Give feedback.
-
@digitalurban. Andy, if you already had an Allsky Website on your Pi, the installation should have displayed a notice that you need to update it. Was that the case for you? |
Beta Was this translation helpful? Give feedback.
-
Andy Are you getting the module error during 'normal' capture i.e. not just in the endofnight? The error would imply the python cv2 module isn't installed. Cheers Alex |
Beta Was this translation helpful? Give feedback.
-
It looks like the error is caused by a missing OpenCV module, which is needed for thumbnail generation. You can try installing OpenCV by running the following command in the terminal |
Beta Was this translation helpful? Give feedback.
-
Afternoon - while trying to work out why my thumbnails for the timelapses are not working (my web server does have a thumbnails dir)... i noted a ModuleNotFoundError: No module named 'cv2' error which i thought might be useful to flag? Using the Dev branch:
endOfNight.sh: ===== Timelapse complete
*** upload.sh: ERROR: '/thumbnails' directory not found!
Traceback (most recent call last):
File "/home/pi/allsky/scripts/flow-runner.py", line 39, in
import allsky_shared as shared
File "/home/pi/allsky/scripts/modules/allsky_shared.py", line 15, in
import cv2
ModuleNotFoundError: No module named 'cv2'
Beta Was this translation helpful? Give feedback.
All reactions