Install opencv and work with python

To begin with, the purpose of installing opencv because I’d like to train images with Caffe framework.
After caffe seems to be installed by JetsonHack script, I then followed below instruction to install the opencv, it appears no error after the instructed script were run.

However, when I try to import the cv2 from my python, I still get ImportError: No module named cv2

So I checked the site-package folder under ‘/usr/local/lib/python2.7/site-packages’ and it’s empty. Can anyone point me where I did wrong ?



Thanks for your question.

cv2 is python wrapper for opencv.
Could you try this command to check if it fix the error?

sudo apt-get install opencv-python


Hi wsygfk,

Have you managed to try the suggestion by AastaLLL?
Any update?