ImportError: libGL.so.1: cannot open shared object file: No such file or directory
之前使用的是1.0.8版本,没有问题,更新1.4.3后服务器就报错了
猜测是服务器没有可视化页面
然后看到了这个
服务器没有GUI功能,所以报错
替换opencv-python就行了
pip3 uninstall opencv-python
pip3 install opencv-python-headless -i https://pypi.tuna.tsinghua.edu.cn/simple