Skip to content

Fix tflite-runtime numpy include path#3310

Open
lazycat11 wants to merge 1 commit intokivy:developfrom
lazycat11:fix-tflite-runtime-numpy-include
Open

Fix tflite-runtime numpy include path#3310
lazycat11 wants to merge 1 commit intokivy:developfrom
lazycat11:fix-tflite-runtime-numpy-include

Conversation

@lazycat11
Copy link
Copy Markdown

tflite-runtime still looks for NumPy headers under numpy/core/include, but current NumPy installs them under numpy/_core/include.

This matches the include path already used by the numpy, pandas, scipy, and opencv recipes. The change first tries numpy/_core/include and falls back to numpy/core/include for older layouts.

Validation:

  • python3 -m py_compile pythonforandroid/recipes/tflite-runtime/init.py
  • git diff --check
  • verified local NumPy build output contains numpy/_core/include

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant