python3.6环境下,pip install opencv-python
后,import cv2
报错
ImportError: libGL.so.1: cannot open shared object file
执行sudo apt-get install -y libgl1-mesa-dev
即可
python3.6环境下,pip install opencv-python
后,import cv2
报错
ImportError: libGL.so.1: cannot open shared object file
执行sudo apt-get install -y libgl1-mesa-dev
即可
本文标题:ubuntu cv2: ImportError: libGL.s
本文链接:https://www.haomeiwen.com/subject/wheunktx.html
网友评论