### 8. Error when installing MinerU on CentOS 7 or Ubuntu 18: `ERROR: Failed building wheel for simsimd`
The new version of albumentations (1.4.21) introduces a dependency on simsimd. Since the pre-built package of simsimd for Linux requires a glibc version greater than or equal to 2.28, this causes installation issues on some Linux distributions released before 2019. You can resolve this issue by using the following command:
Refer to detailed instructions on [how to download model files](how_to_download_models_en.md).
Refer to detailed instructions on [how to download model files](how_to_download_models_en.md).
## 7. Understand the Location of the Configuration File
## 7. Understand the Location of the Configuration File
After completing the [6. Download Models](#6-download-models) step, the script will automatically generate a `magic-pdf.json` file in the user directory and configure the default model path.
After completing the [6. Download Models](#6-download-models) step, the script will automatically generate a `magic-pdf.json` file in the user directory and configure the default model path.
...
@@ -86,6 +88,7 @@ You can find the `magic-pdf.json` file in your user directory.
...
@@ -86,6 +88,7 @@ You can find the `magic-pdf.json` file in your user directory.
> [!TIP]
> [!TIP]
> The user directory for Linux is "/home/username".
> The user directory for Linux is "/home/username".
### 8. First Run
### 8. First Run
Download a sample file from the repository and test it.
Download a sample file from the repository and test it.
Model downloads are divided into initial downloads and updates to the model directory. Please refer to the corresponding documentation for instructions on how to proceed.
Model downloads are divided into initial downloads and updates to the model directory. Please refer to the corresponding documentation for instructions on how to proceed.
# Initial download of model files
# Initial download of model files
### 1. Download the Model from Hugging Face
### Download the Model from Hugging Face
Use a Python Script to Download Model Files from Hugging Face
Use a Python Script to Download Model Files from Hugging Face