VikParuchuri / marker

Convert PDF to markdown quickly with high accuracy
https://www.datalab.to
GNU General Public License v3.0
16.23k stars 908 forks source link

Missing dependecies when installing in clearn venv #222

Open iwtu opened 2 months ago

iwtu commented 2 months ago

Hi.

After installation in clean venv, after run maker I got missing libGL.so error. ImportError: libGL.so.1: cannot open shared object file: No such file or directory

The following depedencies helped. pip install ultralytics pip install opencv-python-headless

I have Ubuntu 20.04 in WSL 2.

myhloli commented 1 month ago
sudo apt update
sudo apt install libgl1-mesa-glx libegl1-mesa-dev

you need install libgl by shell