Wrong python packages path for opencv cmake installation
问题 I've been trying to follow the opencv installation steps from pyimagesearch.com with virtualenv. Everything works fine except for the packages path: it should be /Users/JLee/Envs/cv/lib/python2.7/site-packages but it's configured as lib/python2.7/site-packages In Python, import cv2 works well in the global setting but doesn't work in the 'cv' virtual environment. While following the steps from the site, I first proceeded without installing virtualenv, then realized I haven't installed it so I