Skip to content

Instantly share code, notes, and snippets.

@Dulani
Created July 18, 2020 06:07
Show Gist options
  • Save Dulani/39d7511af8fc5db8a1ec8b4673c51818 to your computer and use it in GitHub Desktop.
Save Dulani/39d7511af8fc5db8a1ec8b4673c51818 to your computer and use it in GitHub Desktop.
Solutions to pip installing python-opencv on Raspbian Buster on an RPi 3

Donkey Car Install on Raspberry Pi3

Following these instructions: https://docs.donkeycar.com/guide/robot_sbc/setup_raspberry_pi/

When you get this far... pip install opencv-python

And this fails.... python -c "import cv2"

Try these: sudo apt-get install libilmbase-dev libopenexr-dev libgstreamer1.0-dev

sudo apt-get install libqt4-test libatlas-base-dev libjasper-dev libqtgui4 python3-pyqt5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment