kivy / python-for-android

Turn your Python application into an Android APK
https://python-for-android.readthedocs.io
MIT License
8.33k stars 1.84k forks source link

Numpy on MacOsX fails in our `CI` tests #2087

Closed opacam closed 2 years ago

opacam commented 4 years ago

So a mac user will probably will not succeed building an apk with numpy in his requirements (or any recipe that depends on it...like matplotlib or any other one)

See also:

mainakbiswas commented 4 years ago

Faced this same issue today.

created a main.py as below

import sys
print ('sys.version is', sys.version)
print('sys.path is', sys.path)

import numpy as np
a = np.arange(15).reshape(3, 5)
print('numpy seems to work:\n', a)

And then ran p4a apk --privatepwd--package=de.plapadoo.p4anumpy --name "p4a numpy" --bootstrap=sdl2 --version 0.1 --requirements=numpy --arch arm64-v8a

The compilation failed.

misl6 commented 2 years ago

Fixed via #2575 and #2586