Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dlib for Python 3.9 or later #1182

Open
Razv00 opened this issue Jun 15, 2024 · 1 comment
Open

dlib for Python 3.9 or later #1182

Razv00 opened this issue Jun 15, 2024 · 1 comment
Labels

Comments

@Razv00
Copy link

Razv00 commented Jun 15, 2024

Hello
I am trying to run a script that uses face_recognition but when installing i got this error

Could not find compiler set in environment variable CXX:
Chaquopy_cannot_compile_native_code.

*** scikit-build-core 0.9.6 using CMake 3.29.3 (wheel)
*** Configuring CMake...
2024-06-15 16:52:24,278 - scikit_build_core - WARNING - Can't find a Python library, got libdir=/opt/anaconda3/lib, ldlibrary=libpython3.11.a, multiarch=darwin, masd=None
ERROR: Command errored out with exit status 1

Chaquopy_cannot_compile_native_code.

Call Stack (most recent call first):
CMakeLists.txt:24 (enable_language)

CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!

@mhsmith
Copy link
Member

mhsmith commented Jun 19, 2024

face-recognition requires dlib, which we currently only have for Python 3.8. You can set your app’s Python version by following the instructions here.

If anyone else needs this package for Python 3.9 or later, please click the thumbs up button above, and subscribe to this issue to receive updates.

@mhsmith mhsmith changed the title Face_recognition,cmake dlib for Python 3.9 or later Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants