1

I am totally new to raspbian Lite and not know how to install opencv on this os. I need this for my school project which is written in python. I am trying this https://gist.github.com/willprice/c216fcbeba8d14ad1138 but when I run this script, this is giving many errors that I am unable to understand.

  • And you have installed Jessie not Stretch? – MatsK Nov 27 '17 at 13:20
  • I have installed Raspbian Stretch Lite that does not have any gui. – Muhammad Ahmed Shehzad Nov 27 '17 at 16:09
  • That was my concern, you didn't read the title "Installing OpenCV 3.1 on Raspbian Jessie"! – MatsK Nov 28 '17 at 5:55
3

Being two years old, that script has issues such as tying to an older version of OpenCV. Rather than downloading from Itseez's GitHub repo you're better off installing via the Raspbian package repositories.

sudo apt update
sudo apt install python-opencv

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.