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
Hi. im trying to compiling the codes 'Main and Camera' and im getting the following errors:
Camera error:
Python 3.7.3 (/usr/bin/python3)
%Run camera.py
RuntimeError: module compiled against API version 0xe but this version of numpy is 0xd
Traceback (most recent call last):
File "/home/pi/pi-camera-stream-flask/camera.py", line 5, in
import cv2
File "/usr/local/lib/python3.7/dist-packages/cv2/init.py", line 5, in
from .cv2 import *
ImportError: numpy.core.multiarray failed to import
Main error:
Python 3.7.3 (/usr/bin/python3)
%Run main.py
RuntimeError: module compiled against API version 0xe but this version of numpy is 0xd
Traceback (most recent call last):
File "/home/pi/pi-camera-stream-flask/main.py", line 7, in
from camera import VideoCamera
File "/home/pi/pi-camera-stream-flask/camera.py", line 5, in
import cv2
File "/usr/local/lib/python3.7/dist-packages/cv2/init.py", line 5, in
from .cv2 import *
ImportError: numpy.core.multiarray failed to import
Any ideas Please?
The text was updated successfully, but these errors were encountered:
Hi. im trying to compiling the codes 'Main and Camera' and im getting the following errors:
Camera error:
Python 3.7.3 (/usr/bin/python3)
Main error:
Python 3.7.3 (/usr/bin/python3)
Any ideas Please?
The text was updated successfully, but these errors were encountered: