ThoughtfulDev / EagleEye

Stalk your Friends. Find their Instagram, FB and Twitter Profiles using Image Recognition and Reverse Image Search.
Do What The F*ck You Want To Public License
4.14k stars 561 forks source link

docker does not have libGL.so.1 #132

Open orkinyo opened 2 years ago

orkinyo commented 2 years ago

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