phamquiluan / Go5-Project

Extract Tabular data from Image to Excel files
32 stars 11 forks source link

ImportError: libGL.so.1: cannot open shared object file: No such file or directory #22

Closed frvdh closed 10 months ago

frvdh commented 10 months ago

Hey,

Thanks for making this app. Upon running 'docker compose up --build' there was an error the first time concerning opencv: 'ImportError: libGL.so.1: cannot open shared object file: No such file or directory '.

The solution to this bug in my case was to add 'RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y' between the lines 'WORKDIR /code' and 'COPY requirements.txt /code' in the Dockerfile of the Streamlit folder.

phamquiluan commented 10 months ago

@frvdh could you open a Pull Request :smile:

phamquiluan commented 10 months ago

Fixed via #23