当前位置:网站首页>Import CV2 prompt importerror: libgl so. 1: Cannot open shared object file: no such file or directory

Import CV2 prompt importerror: libgl so. 1: Cannot open shared object file: no such file or directory

2022-07-05 07:11:00 Weft collar network

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

 

1、centos

yum install mesa-libGL.x86_64

2、2. Ubuntu: 

sudo apt update
sudo apt install libgl1-mesa-glx

without sudo Instructions , perform
apt-get update
apt-get install sudo
 

原网站

版权声明
本文为[Weft collar network]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202140559586898.html