question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

dlopen failed: python2.7/site-packages/grpc/_cython/cygrpc.so not 32-bit: 2

See original GitHub issue

@gbdantoni commented on Mon Mar 13 2017

I’m trying to build a python app for Android that uses grpc. I’m using Buildozer 0.32 with the new toolchain on Ubuntu 16.04.2. The build succeeds and it produces an APK but when I try to launch it on an Android tablet I’m getting the following output from logcat. My requirements statement includes kivy, grpcio, hostpython2, enum

I/python  (29857): Traceback (most recent call last):
I/python  (29857):   File "/media/newDrive/gaitan/PythonProjects/hwclient/.buildozer/android/app/main.py", line 34, in <module>
I/python  (29857):   File "/media/newDrive/gaitan/PythonProjects/hwclient/.buildozer/android/platform/build/dists/hwclient/private/lib/python2.7/site-packages/grpc/__init__.py", line 37, in <module>
I/python  (29857): ImportError: dlopen failed: "/data/data/ddw_gd.com.hwclient/files/app/lib/python2.7/site-packages/grpc/_cython/cygrpc.so" not 32-bit: 2
I/python  (29857): Python for android ended.

@tito commented on Sun May 14 2017

Hi, this is not related to buildozer itself, but python-for-android at least. I’m moving the issue.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
callumpurcell1commented, Oct 24, 2020

Also had the same problem, any solution?

0reactions
Kulothungan16commented, May 26, 2021

I am also facing this error when using google-cloud-firestore module

Is making a recipe for this would fix this issue? P.S. I tried but its a bit confusing

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues - GitHub
I'm using Buildozer 0.32 with the new toolchain on Ubuntu 16.04.2. ... dlopen failed: python2.7/site-packages/grpc/_cython/cygrpc.so not ...
Read more >
0 - Stack Overflow
I am trying to build android apk for my existing python Kivy desktop application which includes opencv library.
Read more >
Python Release Python 2.7.2
The Python 2.7 series is scheduled to be the last major version in the 2.x series before 2.x moves into an extended maintenance...
Read more >
Announcing the end of support for Python 2.7 in the AWS SDK ...
The easiest way to do this is to try running it in an environment with Python 3. The SDK interfaces remain consistent between...
Read more >
Python 2.x (32-bit) 2.7.8 - Chocolatey
Note: This package installs the latest stable version of Python 2.x 32-bit, even on 64-bit systems. Do not install this package on 32-bit...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found