Steven D'Aprano <steve+pyt...@pearwood.info> added the comment:
I agree with Ned closing this issue, but just glancing at the logs, it looks to me like buildozer has shadowed your Python's ctypes with a broken ctypes in /home/yzw/Desktop/Test/.buildozer/android/platform/build/build/other_builds/hostpython3/desktop/hostpython3/Lib If that's the case, this is definitely not a Python bug and should be reported to buildozer. But one thing you should check first: run ``which python3`` and make sure that the Python you are running (which has ctypes installed) is the same as the /usr/bin/python3 that buildozer is running. Or run ``/usr/bin/python3 -c "import ctypes"`` and see what happens. ---------- nosy: +steven.daprano _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38386> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com