ImportError: libGL.so.1: cannot open shared object file: No such file or directory

问题:
import cv2 时报错

解决方案:

pip install opencv-python
pip install opencv-contrib-python
apt-get install -y libgl1-mesa-dev

你可能感兴趣的:(opencv,python,人工智能)