Skip to content

scipy/_lib/_ccallback_c.so is 64-bit instead of 32-bit #880

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

Closed
MatBonv opened this issue Apr 15, 2019 · 3 comments
Closed

scipy/_lib/_ccallback_c.so is 64-bit instead of 32-bit #880

MatBonv opened this issue Apr 15, 2019 · 3 comments

Comments

@MatBonv
Copy link

MatBonv commented Apr 15, 2019

Versions

  • Python: 3.7
  • OS: Ubuntu VM

Description

My app needs scipy but a part of scipy is 64 bit instead of 32 bit. The app crashes immediately on my phone. Can this be fixed? Thanks in advance.

Command:

buildozer android deploy run logcat

Logs

04-15 18:51:03.674 27504 27533 I python  : [INFO   ] [Factory     ] 184 symbols loaded
04-15 18:51:04.454 27504 27533 I python  : [INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_gif (img_pil, img_ffpyplayer ignored)
04-15 18:51:04.874 27504 27533 I python  :  Traceback (most recent call last):
04-15 18:51:04.874 27504 27533 I python  :    File "/home/kivy/Desktop/arduino_test/.buildozer/android/app/main.py", line 6, in <module>
04-15 18:51:04.874 27504 27533 I python  :    File "/home/kivy/Desktop/arduino_test/.buildozer/android/platform/build/build/python-installs/birdrec/scipy/__init__.py", line 119, in <module>
04-15 18:51:04.874 27504 27533 I python  :    File "/home/kivy/Desktop/arduino_test/.buildozer/android/platform/build/build/python-installs/birdrec/scipy/_lib/_ccallback.py", line 1, in <module>
04-15 18:51:04.874 27504 27533 I python  :  ImportError: dlopen failed: "/data/data/org.test.birdrec/files/app/_python_bundle/site-packages/scipy/_lib/_ccallback_c.so" is 64-bit instead of 32-bit
04-15 18:51:04.874 27504 27533 I python  : Python for android ended.
@AndreMiras
Copy link
Member

This is probably because scipy needs a recipe, so you can follow the guide and try to create one.
https://python-for-android.readthedocs.io/en/latest/

@podraco
Copy link

podraco commented Oct 7, 2019

might be a duplicate of this issue #869

@Julian-O
Copy link
Contributor

This is out of scope here - it is a python-for-android issue.

It appears to have been addressed here

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

No branches or pull requests

4 participants