We have upgraded the community system as part of the upgrade a password reset is required for all users before login in.

Error al instalar pyaudio en iOS



  • Re: Pyaudio library .Install.
    Collecting pyaudio
    Using cached PyAudio-0.2.11.tar.gz (37 kB)
    Installing collected packages: pyaudio
    Running setup.py install for pyaudio ... error
    ERROR: Command errored out with exit status 1:
    command: /Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/3_/b5ly9sbs7hz_t7jhr3vlsm740000gn/T/pip-install-h86rj64o/pyaudio/setup.py'"'"'; file='"'"'/private/var/folders/3_/b5ly9sbs7hz_t7jhr3vlsm740000gn/T/pip-install-h86rj64o/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 /private/var/folders/3_/b5ly9sbs7hz_t7jhr3vlsm740000gn/T/pip-record-0kpilvzw/install-record.txt --single-version-externally-managed --compile --install-headers /Library/Frameworks/Python.framework/Versions/3.8/include/python3.8/pyaudio
    cwd: /private/var/folders/3_/b5ly9sbs7hz_t7jhr3vlsm740000gn/T/pip-install-h86rj64o/pyaudio/
    Complete output (16 lines):
    running install
    running build
    running build_py
    creating build
    creating build/lib.macosx-10.9-x86_64-3.8
    copying src/pyaudio.py -> build/lib.macosx-10.9-x86_64-3.8
    running build_ext
    building 'portaudio' extension
    creating build/temp.macosx-10.9-x86_64-3.8
    creating build/temp.macosx-10.9-x86_64-3.8/src
    gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -DMACOSX=1 -I/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c src/_portaudiomodule.c -o build/temp.macosx-10.9-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 'gcc' failed with exit status 1
    ----------------------------------------
    ERROR: Command errored out with exit status 1: /Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/3
    /b5ly9sbs7hz_t7jhr3vlsm740000gn/T/pip-install-h86rj64o/pyaudio/setup.py'"'"'; file='"'"'/private/var/folders/3_/b5ly9sbs7hz_t7jhr3vlsm740000gn/T/pip-install-h86rj64o/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 /private/var/folders/3_/b5ly9sbs7hz_t7jhr3vlsm740000gn/T/pip-record-0kpilvzw/install-record.txt --single-version-externally-managed --compile --install-headers /Library/Frameworks/Python.framework/Versions/3.8/include/python3.8/pyaudio Check the logs for full command output.



  • @Luis-Chalán it seems you don't have portaudio installed which is a dependency for pyaudio. It looks like you are using a OSX so try brew install portaudio. Also check you have the latest version of portaudio code using pip.



Looks like your connection to Community was lost, please wait while we try to reconnect.