在docker上部署出现:
import cv2 - libGL.so.1: cannot open shared object file: No such file or directory
把requirements.txt 里面的
opencv_python
opencv_contrib_python
换成
opencv_python_headless
参考文献:
博客提及在Docker上部署时遇到问题,requirements.txt文件有相关替换情况,还出现'libGL.so.1: cannot open shared object file: No such file or directory'的错误。
在docker上部署出现:
import cv2 - libGL.so.1: cannot open shared object file: No such file or directory
把requirements.txt 里面的
opencv_python
opencv_contrib_python
换成
opencv_python_headless
参考文献:
6340
1607
3084

被折叠的 条评论
为什么被折叠?