python-for-android icon indicating copy to clipboard operation
python-for-android copied to clipboard

Kivy Buildozer PyAudio error(need recipes)

Open Windsurfer0000 opened this issue 4 years ago • 2 comments

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-v7a__ndk_target_21/python3/Include -DANDROID -D__ANDROID_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

Windsurfer0000 avatar Jul 18 '20 03:07 Windsurfer0000

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

JayantSeth avatar May 15 '23 04:05 JayantSeth

@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.

Julian-O avatar Nov 20 '23 00:11 Julian-O