Fix Python – ImportError: libSM.so.6: cannot open shared object file: No such file or directory
When trying to import OpenCV, using import cv2 I get the following error:
/usr/local/lib/python2.7/dist-packages/cv2/__init__.py in
7
8 # make IDE’s (PyCharm) autocompletion happy
—-> 9 from .cv2 import *
10
11 # wildcard import above does not import “private” variables like __version__
ImportError: libSM.so.6….