Open source software supply chain lighting plan, waiting for you>>>
Wrong
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python2.7/site-packages/cv2/__init__.py", line 9, in <module>
from .cv2 import *
ImportError: libSM.so.6: cannot open shared object file: No such file or directory
Solution:
sudo pip install opencv-python==3.2.0.8
Solution 2: libsm package may not be installed. If you have administrator permission, you can execute the following command. If you don’t have permission, you can copy it from other machines and store it in/usr/lib64
apt-get install -y libsm6 libxext6 libxrender-dev