You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Same for me. Here's what I get when I try to run the script. This is after installing a few missing packages too.
pi@raspberrypicam:~ $ sudo python3 /home/pi/pi-camera-stream-flask/main.py RuntimeError: module compiled against API version 0xf but this version of numpy is 0xd Traceback (most recent call last): File "/home/pi/pi-camera-stream-flask/main.py", line 7, in <module> from camera import VideoCamera File "/home/pi/pi-camera-stream-flask/camera.py", line 5, in <module> import cv2 as cv File "/usr/local/lib/python3.9/dist-packages/cv2/__init__.py", line 181, in <module> bootstrap() File "/usr/local/lib/python3.9/dist-packages/cv2/__init__.py", line 153, in bootstrap native_module = importlib.import_module("cv2") File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) ImportError: numpy.core.multiarray failed to import pi@raspberrypicam:~ $
I follow the instructions last night and there is no libqtgui4 and libqt4-test
And there is a version problem also with numpy.
So, at the end when you start with sudo python3 pi-camera-stream-flask/main.py there are some errors.
The text was updated successfully, but these errors were encountered: