简体   繁体   中英

how to install pyaudio in pydroid3?

how to install pyaudio in pydroid3 Android ide? when i tried to install pyaudio it shows this error

compare -DNDEBUG -O3 -Wall -Os -s -fno-builtin-copysignf -D__ANDROID_API__=21 -I/data/user/0/ru.iiec.pydroid3/files/aarch64-linux-android/include/python3.9 -c src/_portaudiomodule.c -o build/temp.linux-aarch64-3.9/src/_portaudiomodule.o
    src/_portaudiomodule.c:29:10: fatal error: portaudio.h: No such file or directory
       29 | #include "portaudio.h"
          |          ^~~~~~~~~~~~~
    compilation terminated.
    error: command '/data/user/0/ru.iiec.pydroid3/files/bin/aarch64-linux-android-gcc' failed with exit code 1
    ----------------------------------------

can anyone solve this error?

Install the module By Pip install pyaudio In the terminal tab Or use qpython 3l There go to pip console But the command is Pip3 install pyaudio.

check the link below for understanding https://www.sololearn.com/Discuss/2547195/how-to-use-pyaudio-module-in-pydroid

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM