Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I think you should check if some file like cv.so has been already in your py2's and py3's lib/sitepackages/ (or anywhere in your python's path-- python3 import sys for i in sys.path: print(i) ) Only if it's done, the cv2 lib can be found by you python, and then the cv2 can be imported.

I think you should check if some file like cv.so has been already in your py2's and py3's lib/sitepackages/ (or anywhere in your python's path-- path--

python3
import sys
 for i in sys.path:
     print(i)
)

Only if it's done, the cv2 lib can be found by you python, and then the cv2 can be imported.