View: 61|Reply: 0

No module named 'cv2'

[Copy link]

1

Threads

1

Posts

11

Credits

Newbie

Rank: 1

Credits
11
Post time 2022-5-28 00:55:13 | Show all posts |Read mode
Hello

I try to have the Picar-B robot working.I have plugged a RaspberryPi 4 model B. I heard some incompatibilities between them.
Anyway, I reached the execution of webServey.
This step ended with an error :

pi@raspberrypi:~ $ sudo python3 adeept_picar-b/server/webServer.py              ......................pause..........................
Traceback (most recent call last):
  File "/home/pi/adeept_picar-b/server/webServer.py", line 26, in <module>
    import app
  File "/home/pi/adeept_picar-b/server/app.py", line 8, in <module>
    from camera_opencv import Camera
  File "/home/pi/adeept_picar-b/server/camera_opencv.py", line 2, in <module>
    import cv2
ModuleNotFoundError: No module named 'cv2'

I have found nothing in the forum, but maybe I missed something.
Is there anybody who already faced this issue.

Thanks in advance for your help.
Regards.
OLivier
Reply

Use magic Report

You have to log in before you can reply Login | Sign Up

Points Rules