root@8546d1d87ed5:/home/xjr_directory/py/sematicCompress# python featureMap.py
Traceback (most recent call last):
File "featureMap.py", line 15, in <module>
import cv2
File "/opt/conda/lib/python3.7/site-packages/cv2/__init__.py", line 3, in <module>
from .cv2 import *
ImportError: libgthread-2.0.so.0: cannot open shared object file: No such file or directory
apt-get update
apt-get install libglib2.0-dev
系统:ubuntu16.04
ImportError: libgthread-2.0.so.0: cannot open shared object file: No such file or directory_运维_qq_33594359的博客-CSDN博客
https://blog.csdn.net/qq_33594359/article/details/85067199