View: 595|Reply: 1

dark paw webserver install error

[Copy link]

1

Threads

1

Posts

7

Credits

Newbie

Rank: 1

Credits
7
Post time 2022-1-13 09:16:42 | Show all posts |Read mode
install error when installing webserver.py.  and before anyone asks yes camera is tested and have entered command sudo killall python3. Here is the error i am getting.  


pi@spider:~ $ sudo python3 adeept_darkpaw/server/webServer.py
mpu6050 connected
mpu6050 is connected and related functions are available.
loop
loop
Traceback (most recent call last):
  File "/home/pi/adeept_darkpaw/server/webServer.py", line 27, in <module>
    import app
  File "/home/pi/adeept_darkpaw/server/app.py", line 8, in <module>
    from camera_opencv import Camera
  File "/home/pi/adeept_darkpaw/server/camera_opencv.py", line 2, in <module>
    import cv2
ModuleNotFoundError: No module named 'cv2'

Reply

Use magic Report

0

Threads

2

Posts

10

Credits

Newbie

Rank: 1

Credits
10
Post time 2022-1-17 17:19:27 | Show all posts
Hi,
i've got the same mistake.
for i uninstall/install numpy and opencv.
Pip3 uninstall numpy
Pip3 uninstall opencv
Pip3 install numpy
pip3 install opencv-python

What is your configuration ? Wich raspberry model and raspbian version ?

Reply

Use magic Report

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

Points Rules