|
|
@@ -26,3 +26,13 @@ The path for the model files is configured in "magic-pdf.json". just like:
|
|
|
|
|
|
This path is an absolute path, not a relative path. You can obtain the absolute path in the models directory using the "pwd" command.
|
|
|
Reference: https://github.com/opendatalab/MinerU/issues/155#issuecomment-2230216874
|
|
|
+
|
|
|
+### 4. Encountered the error `ImportError: libGL.so.1: cannot open shared object file: No such file or directory` in Ubuntu 22.04 on WSL2
|
|
|
+
|
|
|
+The `libgl` library is missing in Ubuntu 22.04 on WSL2. You can install the `libgl` library with the following command to resolve the issue:
|
|
|
+
|
|
|
+```bash
|
|
|
+sudo apt-get install libgl1-mesa-glx
|
|
|
+```
|
|
|
+
|
|
|
+Reference: https://github.com/opendatalab/MinerU/issues/388
|