You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried modifying the numpy recipe slightly, to point it at a release tarball of numpy, rather than its git repository; this somehow caused an error even finding meson. I think maybe this points to some deeper issue with MesonRecipe?
I'm encountering the same error: 'numpy/math.pxd' not found.
The build had been working consistently before, and the last successful build was just 3 days ago, without any code changes since.
It seems that P4A creates an isolated environment and ignores specified version of Cython (==0.29.33) and there is a compatibility issue between newer Cython versions and older Numpy versions.
attached is my full log, thanks a lot for your help
Activity
T-Dynamos commentedon May 10, 2025
Do try building on this branch #3136
[-]numpy build does not create math.pxd[/-][+]numpy build does not create math.pxd when compiling for armeabi-v7a[/+][-]numpy build does not create math.pxd when compiling for armeabi-v7a[/-][+]numpy build does not create math.pxd[/+]clayote commentedon May 10, 2025
I have now tried this, and it doesn't seem to make much difference. Similar log files and buildozer.spec here.
[-]numpy build does not create math.pxd[/-][+]numpy build fails for lack of `numpy.math`[/+]clayote commentedon May 10, 2025
I gather
math.pxdis not part of numpy, exactly, but of Cython. Here's the file on the Cython source tree.clayote commentedon May 10, 2025
I tried modifying the numpy recipe slightly, to point it at a release tarball of numpy, rather than its git repository; this somehow caused an error even finding meson. I think maybe this points to some deeper issue with
MesonRecipe?mre2m2 commentedon May 10, 2025
I'm encountering the same error: 'numpy/math.pxd' not found.
The build had been working consistently before, and the last successful build was just 3 days ago, without any code changes since.
It seems that P4A creates an isolated environment and ignores specified version of Cython (==0.29.33) and there is a compatibility issue between newer Cython versions and older Numpy versions.
attached is my full log, thanks a lot for your help
0_build.txt
T-Dynamos commentedon May 10, 2025
Maybe try pining cython version as:
(in numpy recipe)
clayote commentedon May 10, 2025
That seemed to work, thanks @T-Dynamos!
jhay06 commentedon Jun 4, 2025
how did you fix this error ? , i'm currently facing this issue right now .
clayote commentedon Jun 4, 2025