From bd2f6b0b7ac7f83430d0d2b9b30c08aa1d2af0d5 Mon Sep 17 00:00:00 2001 From: Anton Mikhalev Date: Sat, 3 May 2025 21:41:08 +0300 Subject: [PATCH] Update README.md How to fix _Warning: Package 'insightface.data.images/insightface.data.objects/insightface.thirdparty.face3d.mesh.cython' is absent from the packages configuration info added --- README.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6dfee6b..7d19d21 100644 --- a/README.md +++ b/README.md @@ -167,7 +167,7 @@ source venv/bin/activate pip install -r requirements.txt ``` -** In case something goes wrong and you need to reinstall the virtual environment ** +**In case something goes wrong and you need to reinstall the virtual environment** ```bash # Deactivate the virtual environment @@ -177,7 +177,21 @@ rm -rf venv python -m venv venv source venv/bin/activate -# install the dependencies again +# Install the dependencies again +pip install -r requirements.txt +``` + +**If error `_Warning: Package 'insightface.data.images/insightface.data.objects/insightface.thirdparty.face3d.mesh.cython' is absent from the packages configuration` occur you need to use llvm as compiler** + +```bash +# Install llvm libomp +brew install llvm libomp + +# Export compiler variables +export CC=$(brew --prefix llvm)/bin/clang +export CXX=$(brew --prefix llvm)/bin/clang++ + +# Install the dependencies again pip install -r requirements.txt ```