chaquo / chaquopy

Chaquopy: the Python SDK for Android
https://chaquo.com/chaquopy/
MIT License
748 stars 127 forks source link

dlib for Python 3.9 or later #1182

Open Razv00 opened 1 week ago

Razv00 commented 1 week ago

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 commented 1 week ago

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.