View: 2763|Reply: 8

PiCar Pro fresh installation not works

[Copy link]

1

Threads

2

Posts

9

Credits

Newbie

Rank: 1

Credits
9
Post time 2022-3-23 20:09:17 | Show all posts |Read mode
Dear everyone,
I prepare & install sd card according instructions and everything pass (rasbian 11). However, after reboot webServer does not start. When I start it manually a get following error:

pi@raspberrypi:~ $ sudo python3 //home/pi/adeept_picarpro/server/webServer.py
......................pause..........................
mpu6050 disconnected, ARM MODE ON
RuntimeError: module compiled against API version 0xe but this version of numpy is 0xd
Traceback (most recent call last):
File "//home/pi/adeept_picarpro/server/webServer.py", line 26, in
import app
File "/home/pi/adeept_picarpro/server/app.py", line 8, in
from camera_opencv import Camera
File "/home/pi/adeept_picarpro/server/camera_opencv.py", line 2, in
import cv2
File "/usr/local/lib/python3.9/dist-packages/cv2/init.py", line 5, in
from .cv2 import *
ImportError: numpy.core.multiarray failed to import
Thanks for any advice.

Reply

Use magic Report

1

Threads

2

Posts

9

Credits

Newbie

Rank: 1

Credits
9
 Author| Post time 2022-3-24 20:33:28 | Show all posts
fixed by sudo pip3 install opencv-contrib-python==3.4.3.18
sudo pip3 install opencv-python==3.4.11.45
Reply

Use magic Report

0

Threads

53

Posts

201

Credits

Administrator

Rank: 9Rank: 9Rank: 9

Credits
201
Post time 2022-5-5 16:29:34 | Show all posts
It may be that the Raspberry Pi version compatibility problem causes the dependent library to fail to be installed successfully. Please download and install Raspberry Pi OS (Legacy).
Raspberry Pi OS (Legacy) download address: https://www.raspberrypi.com/software/operating-systems/
You need to find ”Raspberry Pi OS (Legacy)“ in the link and download the image file.

Raspberry Pi official description of the Raspberry Pi OS (Legacy):
https://www.raspberrypi.com/news ... berry-pi-os-legacy/
Reply

Use magic Report

0

Threads

1

Posts

10

Credits

Newbie

Rank: 1

Credits
10
Post time 2022-6-4 12:39:38 | Show all posts
Thanks for sharing this information. I really like your blog post very much. You have really shared a informative and interesting blog post with people. retro bowl
Reply

Use magic Report

0

Threads

2

Posts

6

Credits

Newbie

Rank: 1

Credits
6
Post time 2022-6-6 13:00:27 | Show all posts
You have some interesting points in this article. I would never have reviewed any of this if I hadn't come across this. Thank!.
coloring pages
Reply

Use magic Report

0

Threads

2

Posts

6

Credits

Newbie

Rank: 1

Credits
6
Post time 2022-6-6 13:01:32 | Show all posts
You have some interesting points in this article. I would never have reviewed any of this if I hadn't come across this. Thank!.
coloring pages
Reply

Use magic Report

0

Threads

4

Posts

28

Credits

Newbie

Rank: 1

Credits
28
Post time 2024-2-19 09:05:06 | Show all posts
Thanks for sharing this information
Reply

Use magic Report

0

Threads

2

Posts

10

Credits

Newbie

Rank: 1

Credits
10
Post time 2024-2-23 12:46:05 | Show all posts
In this essay, you make some compelling arguments. Without this, I never would have thought to evaluate any of anything. Much obliged.
Reply

Use magic Report

0

Threads

2

Posts

10

Credits

Newbie

Rank: 1

Credits
10
Post time 2024-5-22 10:04:57 | Show all posts
Thank you for the information, it's very helpful for me, thank you for your contribution. respect
Reply

Use magic Report

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

Points Rules