ImportError: libgthread-2.0.so.0: cannot open shared object file: No such file or directory
不知道为啥每次开新服务器都会报这个错,记录一下
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
评论区