Traceback (most recent call last): File "", line 1, in File "/usr/lib64/python2.7/site-packages/cv2/__init__.py", line 9, in from .cv2 import *ImportError: libSM.so.6: cannot open shared object file: No such file or directory
solve:

sudo pip install opencv-python==3.2.0.8

Solution 2: It is possible that the libSM package is not installed. If you have administrator rights, you can execute the following commands. If you don’t have rights, you can copy from other machines, generally stored in /usr/lib64.

You are watching: Importerror: libsm.so.6: cannot open shared object file: no such file or directory


Solve 3

opencv ImportError: libSM.so.6: cannot open shared object file: No such file or directory

For this problem, most of the online solutions are apt-get to install libSM, but because it is not convenient for me to use the package installation, I found it canpip install opencv-python-headlessInstall opencv without graphics dependency libraries.


I installed pygrib on linux (centOS6) with Anaconda. This error occurred when importing pygrib, but I located this file and found that it is in the /usr/lib directory. I also added "export LD_LIB...


*

Reason: the dynamic link library is missing or the path cannot be found Solution: Execute the following commands Details!...


from psycopg._psycopg import BINARY, NUMBER, STRING, DATETIME, ROWID ImportError: libpq.so.5: cannot open shared object file: No such file or directory Solution:...


cannot open shared object file: No such file or directory Reference link: Cannot Open Shared Object File: No Such File or Directory Solution。 How to solve Linux: Error While Loading Shared Libr...



Package /opt/ros Package project file install Start the project on a machine where the ros environment is not installed source ros/indigo/setup.bash source install/setup.bash Solu...


*

libGraphicsMagickWand.so: cannot open shared object file: No such file or directory stack traceback:



*

Ubuntu14.04 libboost_program_options.so.1.54.0: cannot open shared object file: No such file or directory


Solution: Download: https://packages.ubuntu.com/trusty/amd64/libboost-program-options1.54.0/download Installation: sudo dpkg -i libboost-program-options1.54.0_1.54.0-4ubuntu3_amd6...


It’s the same problem as before, an error was reported when yum was installed yum -y install net-snmp net-snmp-devel curl-devel java-1.8.0-openjdk java-1.8.0-openjdk-devel OpenIPMI-devel libssh2...


*

After installing pytorch on NVIDIA Jetson xavier NX, it prompts when import torch Sign in https://pkgs.org/Website, enter libmpi_cxx.so.20 in the search box in the upper right corner, and then downloa...

See more: From The Library Of Stickers 36081 Results, Library Stickers 36081 Results


Environment CENTOS 7 dotnet core 2.1.4 Error message: libgit2-xxxxxxx: cannot open shared object file: No such file or directory the reason: Can"t find the dynamic library libgit2-xxxxx...