kivy / python-for-android

Turn your Python application into an Android APK
https://python-for-android.readthedocs.io
MIT License
8.39k stars 1.87k forks source link

Kivy Buildozer PyAudio error(need recipes) #2265

Open Windsurfer0000 opened 4 years ago

Windsurfer0000 commented 4 years ago

Installing collected packages: datetime, pyaudio Created temporary directory: /tmp/pip-unpacked-wheel-3_f9u5yj

Created temporary directory: /tmp/pip-record-lb4mbhn3 Running command /home/ali/Desktop/22/.buildozer/android/platform/build-armeabi-v7a/build/venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-qhh5mpkq/pyaudio/setup.py'"'"'; file='"'"'/tmp/pip-install-qhh5mpkq/pyaudio/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-lb4mbhn3/install-record.txt --single-version-externally-managed --home /tmp/pip-target-t8i8gtjq --compile --install-headers /home/ali/Desktop/22/.buildozer/android/platform/build-armeabi-v7a/build/venv/include/site/python3.8/pyaudio Ignoring "sys._home = value" override running install running build running build_py creating build creating build/lib.linux-x86_64-3.8 copying src/pyaudio.py -> build/lib.linux-x86_64-3.8 running build_ext building '_portaudio' extension creating build/temp.linux-x86_64-3.8 creating build/temp.linux-x86_64-3.8/src /home/ali/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -I/home/ali/Desktop/22/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/python3/armeabi-v7andk_target_21/python3/Include -DANDROID -DANDROID_API__=21 -I/home/ali/.buildozer/android/platform/android-ndk-r19c/sysroot/usr/include/arm-linux-androideabi -I/home/ali/Desktop/22/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/include/python3.8 -fPIC -I/home/ali/Desktop/22/.buildozer/android/platform/build-armeabi-v7a/build/venv/include -I/usr/local/include/python3.8 -c src/_portaudiomodule.c -o build/temp.linux-x86_64-3.8/src/_portaudiomodule.o src/_portaudiomodule.c:29:10: fatal error: 'portaudio.h' file not found

include "portaudio.h"

         ^~~~~~~~~~~~~
1 error generated.
error: command '/home/ali/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang' failed with exit status 1
Running setup.py install for pyaudio ... error
JayantSeth commented 1 year ago

Hie Team, By when can we expect this issue to be fixed or if there is any workaround please let us know

Julian-O commented 1 year ago

@JayantSeth: There is no roadmap that includes this recipe. This is an Open Source project, so feel free to implement the recipe yourself and share it with others, or sponsor someone to produce it for you.