Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
malveanuj opened this issue Dec 22, 2016 · 7 comments
Open

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

malveanuj opened this issue Dec 22, 2016 · 7 comments

Comments

@malveanuj
Copy link

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

@malveanuj
Copy link
Author

need help

@ghost
Copy link

ghost commented Dec 28, 2016

sudo apt-get install portaudio19-dev helped for me

@malveanuj
Copy link
Author

malveanuj commented Dec 28, 2016 via email

@YogiRaspi
Copy link

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
Copy link

thank you very much ghost

@developomp
Copy link

thank you ghost!!

@ananay
Copy link

ananay commented Feb 16, 2020

@ghost thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants