Skip to content

numpy build fails for lack of numpy.math #3150

Closed
@clayote

Description

@clayote

buildozer debug seemed to work fine yesterday, but then I added armeabi-v7a to its archs and now this is happening:

cython -M --fast-fail -3 /home/sanotehu/src/lisien/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/numpy/armeabi-v7a__ndk_target_24/numpy/numpy/random/_common.pyx -o numpy/random/_common.cpython-311-x86_64-linux-gnu.so.p/numpy/random/_common.pyx.c
Ignoring "sys._home = value" override

Error compiling Cython file:
------------------------------------------------------------
...
from collections import namedtuple
from cpython cimport PyFloat_AsDouble
import sys
import numpy as np
cimport numpy as np
cimport numpy.math as npmath
        ^
------------------------------------------------------------

/home/sanotehu/src/lisien/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/numpy/armeabi-v7a__ndk_target_24/numpy/numpy/random/_common.pyx:8:8: 'numpy/math.pxd' not found

Full log, as well as my buildozer.spec, are at this gist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions