Skip to content
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

Twisted recipe doesn't work in 32-bit build environment #276

Closed
KeyWeeUsr opened this issue Oct 6, 2014 · 0 comments · Fixed by #282
Closed

Twisted recipe doesn't work in 32-bit build environment #276

KeyWeeUsr opened this issue Oct 6, 2014 · 0 comments · Fixed by #282

Comments

@KeyWeeUsr
Copy link
Contributor

log:
Writing /home/kivy/android/python-for-android/build/python-install/lib/python2.7/site-packages/jnius-1.1_dev-py2.7.egg-info
Leaving ARM enviromnent
Call build_twisted
Entering in ARM environment
Compiler found at /home/kivy/android/android-ndk-r8c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin//arm-linux-androideabi-gcc
Traceback (most recent call last):
File "setup.py", line 73, in
main(sys.argv[1:])
File "setup.py", line 55, in main
from twisted.python.dist import (
File "./twisted/init.py", line 56, in
from twisted.python import compat
File "./twisted/python/compat.py", line 307, in
from io import BytesIO as NativeStringIO
File "/home/kivy/android/python-for-android/build/python-install/lib/python2.7/io.py", line 60, in
import _io
ImportError: /home/kivy/android/python-for-android/build/python-install/lib/python2.7/lib-dynload/_io.so: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File "setup.py", line 73, in
main(sys.argv[1:])
File "setup.py", line 55, in main
from twisted.python.dist import (
File "./twisted/init.py", line 56, in
from twisted.python import compat
File "./twisted/python/compat.py", line 307, in
from io import BytesIO as NativeStringIO
File "/home/kivy/android/python-for-android/build/python-install/lib/python2.7/io.py", line 60, in
import _io
ImportError: /home/kivy/android/python-for-android/build/python-install/lib/python2.7/lib-dynload/_io.so: cannot open shared object file: No such file or directory

-> export PYTHONPATH=$BUILD_hostpython/Lib/site-packages:$BUILD_hostpython/build/lib.linux-i686-2.7

@kived kived changed the title ImportError: .../python-for-android/build/python-install/lib/python2.7/lib-dynload/_io.so Twisted recipe doesn't work in 32-bit build environment Oct 6, 2014
@tito tito closed this as completed in #282 Nov 15, 2014
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

Successfully merging a pull request may close this issue.

1 participant