Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker does not have libGL.so.1 #132

Open
orkinyo opened this issue Oct 25, 2021 · 0 comments
Open

docker does not have libGL.so.1 #132

orkinyo opened this issue Oct 25, 2021 · 0 comments

Comments

@orkinyo
Copy link

orkinyo commented Oct 25, 2021

Error:
raceback (most recent call last):
File "eagle-eye.py", line 13, in
from face_recog import FaceRecog
File "/EagleEye/face_recog.py", line 1, in
import cv2
File "/usr/local/lib/python3.6/dist-packages/cv2/init.py", line 180, in
bootstrap()
File "/usr/local/lib/python3.6/dist-packages/cv2/init.py", line 152, in bootstrap
native_module = importlib.import_module("cv2")
File "/usr/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: libGL.so.1: cannot open shared object file: No such file or directory

Fix:
added the following line to Dockerfile

RUN apt-get install ffmpeg libsm6 libxext6 -y

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant