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

portaudio.h error with Python 3.7 pip install #6

Open
kyle-uteach opened this issue Dec 3, 2019 · 2 comments
Open

portaudio.h error with Python 3.7 pip install #6

kyle-uteach opened this issue Dec 3, 2019 · 2 comments

Comments

@kyle-uteach
Copy link

Get an error saying
'portaudio.h': No such file or directory
when trying to pip install with Python 3.7

This problem doesn't occur with Python 3.6.

Our group develops curriculum for high school classrooms. We recommend pysine to dozens of schools. It has been wonderful (thank you so much for developing this!) and we'd like to continue recommending it. We're currently switching from teaching Python 2.7 to 3.7 so this fix would be really useful and help hundreds of students. There are unrelated issues that prevent us from using Python 3.6. Thanks again!

@tonka3000
Copy link

tonka3000 commented Dec 9, 2019

Install portaudio like described here fix the problem on mac for me if it is required to compile the c code for your python distro.

I have python 3.6.8 install on mac

@neilyoung
Copy link

Big Sur:

python3 -m pysine 880.0 3
||PaMacCore (AUHAL)|| Error on line 1316: err='-66748', msg=Unknown Error
ERROR:pysine:No audio output is available. Mocking audio stream to simulate one...
Calling sine({'duration': 3.0, 'frequency': 880.0})


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

3 participants