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
Similar Posts:
- The error and installation method of import CV2 in Python
- [Solved] Could not install packages due to an Environment Error: [Errno 13] Permission denied
- ubuntu “sudo: add-apt-repository: command not fou”
- jenkins+sonar-scanner Scan Error: Failed to find ‘typescript’ module.Please check, NODE_PATH contains location of global ‘typescript’ or install locally in your project
- Basic Xlib functionality test failed [How to Solve]
- How to fix the “kernel driver not installed (RC = – 1908)” error of VirtualBox in Ubuntu
- ubuntu18.04 Start Android StudioKVM is required to run this AVD ./dev/kvm device: permission denied.
- Ubuntu solves sudo: Source: command not found error
- Gtk-Message: Failed to load module “canberra-gtk-module”
- [Solved] Apt-get -f install Error: No apport report written because MaxReports is reached already Errors were…