0

I have recently installed opencv 2.4.8 on my raspberry pi.When i check the version with

pkg-config --modversion opencv
2.4.8

But in my python code when i import cv2 i am getting the error as no module named cv2.I have checked my usr/local/lib/python2.7/site-packages and it is empty. How to solve the issue?

  • Sounds like you haven't installed the Python bindings. – Dan Nixon Jun 25 '14 at 15:29
  • how can i install the python bindings. Is there way to get them as zip file instead of sudo apt-get?? – slaveCoder Jun 26 '14 at 3:49
  • @DanNixon can a pip command be used to install python packages?? – slaveCoder Jul 9 '14 at 11:04

Your Answer

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

Browse other questions tagged or ask your own question.