python-fingerprint-recognition icon indicating copy to clipboard operation
python-fingerprint-recognition copied to clipboard

exec user process caused: no such file or directory

Open m3di opened this issue 4 years ago • 4 comments

hi

here is steps i follow:

git clone https://github.com/kjanko/python-fingerprint-recognition.git
cd python-fingerprint-recognition
docker build -t finger:latest .
docker run -it finger:latest 101_1.tif 101_2.tif

this will produce following error:

Traceback (most recent call last):
  File "/app/app.py", line 1, in <module>
    import cv2
  File "/usr/local/lib/python3.7/site-packages/cv2/__init__.py", line 5, in <module>
    from .cv2 import *
ImportError: libGL.so.1: cannot open shared object file: No such file or directory

m3di avatar Jan 24 '21 10:01 m3di

Hi! I also encountered this issue. Have you solved it?

Alexanderia-Mike avatar Aug 26 '21 02:08 Alexanderia-Mike

I am also facing this problem. Is it because the docker build is missing something?

thanhhoangvan avatar Aug 26 '21 08:08 thanhhoangvan

Hi, I just found the solution from Stack Overflow. You need to install apt install libgl1-mesa-glx, and after that the problem will be solved.

Alexanderia-Mike avatar Aug 26 '21 08:08 Alexanderia-Mike

Hi, I just found the solution from Stack Overflow. You need to install apt install libgl1-mesa-glx, and after that the problem will be solved.

i found it too, but i'm on windows. Perhaps that is the reason. I think I should go back to Ubuntu

thanhhoangvan avatar Aug 26 '21 08:08 thanhhoangvan