botbrew
botbrew copied to clipboard
Python ctypes module
I'm trying to run some Python unittests as I'm writing them in Vim on my Galaxy Note 10.1... You guys are awesome!
Unfortunately for me, even though none of my code uses ctypes, something is trying to access the Python ctypes module and failing with an error:
File "/botbrew/lib/python2.7/ctypes/__init__.py", line 10, in <module>
from _ctypes import Union, Struct, Array
ImportError: No module named _ctypes
[edit] Actually I found it, I had copied the import from some old code, ctypes would still be a useful addition though.[/edit]
I'm not surprised nobody has built ctypes for arm, but it would be helpful for a number of things. I'm afraid I can't help on the c/cross compiling side, but I found this hint about patching ctypes for arm:
http://evadeflow.com/2010/09/compiling-python-for-arm/