Closed YogiRaspi closed 7 years ago
Collecting pyaudio Downloading PyAudio-0.2.11.tar.gz Installing collected packages: pyaudio Running setup.py install for pyaudio ... error Complete output from command /Users/Yogi/Downloads/AI-Smart-Mirror-master/hhsmartmirror/bin/python -u -c "import setuptools, tokenize;file='/private/tmp/pip-build-6JQRPe/pyaudio/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" build_ext -I/usr/local/include -L/usr/local/lib install --record /tmp/pip-grk5rN-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/Yogi/Downloads/AI-Smart-Mirror-master/hhsmartmirror/include/site/python2.7/pyaudio: running build_ext building '_portaudio' extension creating build creating build/temp.macosx-10.12-intel-2.7 creating build/temp.macosx-10.12-intel-2.7/src cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DMACOSX=1 -I/usr/local/include -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/_portaudiomodule.c -o build/temp.macosx-10.12-intel-2.7/src/_portaudiomodule.o src/_portaudiomodule.c:29:10: c 1 error generated. error: command 'cc' failed with exit status 1
found in another issue that - installing brew install portaudio helps for fatal error: 'portaudio.h' file not found
Collecting pyaudio Downloading PyAudio-0.2.11.tar.gz Installing collected packages: pyaudio Running setup.py install for pyaudio ... error Complete output from command /Users/Yogi/Downloads/AI-Smart-Mirror-master/hhsmartmirror/bin/python -u -c "import setuptools, tokenize;file='/private/tmp/pip-build-6JQRPe/pyaudio/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" build_ext -I/usr/local/include -L/usr/local/lib install --record /tmp/pip-grk5rN-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/Yogi/Downloads/AI-Smart-Mirror-master/hhsmartmirror/include/site/python2.7/pyaudio: running build_ext building '_portaudio' extension creating build creating build/temp.macosx-10.12-intel-2.7 creating build/temp.macosx-10.12-intel-2.7/src cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DMACOSX=1 -I/usr/local/include -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/_portaudiomodule.c -o build/temp.macosx-10.12-intel-2.7/src/_portaudiomodule.o src/_portaudiomodule.c:29:10: c 1 error generated. error: command 'cc' failed with exit status 1