问题描述
import cv2
File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/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
问题解决
sudo apt-get install libglib2.0-0
sudo apt-get install libglib2.0-0:i386