-
Notifications
You must be signed in to change notification settings - Fork 504
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fails to call numpy fft on android #899
Comments
Thanks for the log, but I'm not sure what's wrong here, and I've used numpy.fft.fft before without issues. I'll try to test it again. |
Thanks for the response. Have you been able to repeat the error? I have tried this on two different devices with exactly the same results. Any suggestions/info would be gratefully received, as I am totally stuck on this issue. |
This issue has been resolved with the latest Numpy release (7 Sept 2019). |
@llamawright could you share your spec file that resolved the issue for you? |
@jgavris Herewith spec file that worked for me... |
Versions
Description
I am trying to use the numpy fft for real input in an android app. But when I use it I get SIGSEGV everytime. The simple program below illustrates the problem. Thanks.
import numpy as np
import platform
print("platform.python_version() == ", platform.python_version())
print("np.version == ", np.version )
data = np.array([0.1, 0.2, 0.5, 0.5, 0.6, 0.1, 0.9, 0.8])
print(" Now crazy starts: ")
result = np.fft.rfft(data)
print(" Result: ", result, " Finished!")
buildozer.spec
Command:
Spec file:
Logs
The text was updated successfully, but these errors were encountered: