sunfounder / SunFounder_PiCar-V

Smart Video Car Kit V2.0 for Raspberry Pi from SunFounder
GNU General Public License v2.0
112 stars 176 forks source link

Install openCV failed #55

Closed hannesa2 closed 3 years ago

hannesa2 commented 3 years ago

During sudo ./install_dependencies I run into

E: Unable to locate package python3-opencv
    Failed to installed python-opencv 

    Do you want to skip this? (yes/no

How do you guys got rid of it ?

hannesa2 commented 3 years ago

I continued with sudo pip3 install opencv-python

but I'm not sure which errors will follow up now

Collecting opencv-python
  Downloading https://www.piwheels.org/simple/opencv-python/opencv_python-4.4.0.42-cp35-cp35m-linux_armv7l.whl (9.5MB)
    100% |################################| 9.5MB 29kB/s 
Collecting numpy>=1.13.1 (from opencv-python)
  Downloading https://www.piwheels.org/simple/numpy/numpy-1.18.5-cp35-cp35m-linux_armv7l.whl (8.9MB)
    100% |################################| 8.9MB 31kB/s 
Installing collected packages: numpy, opencv-python
Successfully installed numpy-1.18.5 opencv-python-4.4.0.42

Is this the right way to solve ?