RockyBorg Software Installation Error

I tried to install the software for RokyBoard with the provided shell script on a raspberry Pi Zero with raspian Buster installed.

pi@raspi-z6:~ $ uname -a
Linux raspi-z6 4.19.66+ #1253 Thu Aug 15 11:37:30 BST 2019 armv6l GNU/Linux

The installation script fails to install opencv-python with the following message:
...
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting opencv-python
Downloading https://www.piwheels.org/simple/opencv-python/opencv_python-3.4.3.18-cp3... (7.0MB)
100% |████████████████████████████████| 7.0MB 10kB/s
THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them.
opencv-python from https://www.piwheels.org/simple/opencv-python/opencv_python-3.4.3.18-cp3...
Expected sha256 7c7e4108bd2f684bca574cd3c8ac82e8ca722eded52f01b84c30a16bf5d5ed33
Got 83be9a18d0489d57f7b8e66db3c53e807bbefe41ec58e715c6966bf1d4b90433
...

I was not able to find the correct version of "opencv-python" for this latest release of raspbian.

Can someone provide me a running version of the script, or is the a manual way to install this package.

Thanks
Armin Blum

piborg's picture

Unfortunately the Python 3 version of OpenCV is not currently available for Buster, which is why that part of the installer fails.

In install.sh you can prevent the installer from trying to install it by commenting out this line:

sudo pip3 install opencv-python

Without the Python 3 version of the library all of the scripts will still run with Python 2, and any script which does not need the camera (e.g. rbJoystick.py) will work with Python 3 as well.

ok, thanks for this clarification.

piborg's picture

It looks like this has now been sorted and the Python 3 version of OpenCV can be installed :)

I have made a slight change to the install script as one of the packages is no longer needed.
You can update the install script and re-run using:

cd ~/rockyborg
git fetch
git pull
bash install.sh

If you did make a change to the install script you can undo it with:

git checkout -- install.sh

before the pull command.

Subscribe to Comments for "RockyBorg Software Installation Error"