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
pull/1180/head
Anton Mikhalev 2025-05-03 21:41:08 +03:00 committed by GitHub
parent 532e7c05ee
commit bd2f6b0b7a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 16 additions and 2 deletions

View File

@ -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
```