HackerShackOfficial / AI-Smart-Mirror

Smart Mirror with a smart AI 🤖
MIT License
537 stars 214 forks source link

fatal error: 'portaudio.h' file not found #23

Open malveanuj opened 7 years ago

malveanuj commented 7 years ago

screen shot 2016-12-22 at 11 33 49 pm

malveanuj commented 7 years ago

need help

ghost commented 7 years ago

sudo apt-get install portaudio19-dev helped for me

malveanuj commented 7 years ago

On 28-Dec-2016, at 3:32 PM, theRocc notifications@github.com wrote:

sudo apt-get install portaudio19-dev

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/HackerHouseYT/AI-Smart-Mirror/issues/23#issuecomment-269455040, or mute the thread https://github.com/notifications/unsubscribe-auth/AUBjXx2HecMfm80yF52S7_p6e_mNFCOOks5rMjOygaJpZM4LUOqR.

thank you

but i figured it out and program is running very god except the weather api and i wanted help about home automation using raspberry pi without using womo like products more like a wifi accessed relay or somthing and accessing it over voice commands of amazon alexa or our magic mirror AI commands like mirror turn on the lights plz help .. its kind of mini project for college

thank you

YogiRaspi commented 7 years ago

Hi - whats the work around for this issue? 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: fatal error: 'portaudio.h' file not found

include "portaudio.h"

         ^
1 error generated.
error: command 'cc' failed with exit status 1
TheBdouilleur commented 4 years ago

thank you very much ghost

developomp commented 4 years ago

thank you ghost!!

ananay commented 4 years ago

@ghost thank you!