cv2 and Python on Raspberry cannot find cv2

asked 2020-06-04 14:39:53 -0500

andrei186 gravatar image

openCV + Python on Raspberry From Thonny IDE Python code works fine, yet from command line import cv2 returns No module named cv2 I guess an environmental variable is missing, but I cannot find where cv2 is sitting. Where shall I look for it?

edit retag flag offensive close merge delete


After make -j4. Didn't you try sudo make install? What RPI model you have? Just delete inside build;s folder and then do cmake again.

supra56 gravatar imagesupra56 ( 2020-06-04 20:08:38 -0500 )edit