-
Notifications
You must be signed in to change notification settings - Fork 512
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
PyAudio ImportError: symbol not found in flat namespace '_PaMacCore_SetupChannelMap' #68
Comments
This is an issue with one or both of:
First, uninstall pyaudio and portaudio, then try to follow this answer to see if it works. If it doesn't, you may need to reinstall Brew: Brew is installed in /usr/local in older Intel / Rosetta Macs, but installs in /opt/homebrew now. You can use Once brew is fixed, uninstall pyaudio, then reinstall it using the Stackoverflow link. |
Thanks for the response. I found out that there were old portaudio files in
Sadly, the issue still persists. |
unfortunately running into similar issues on m1 pro, tried the above suggestions to no avail |
@keldenl this worked for ubuntu for me, you can try similar and might just work |
i was actually able to fix this issue another way – setting up my own conda env (make sure to do python version 3.11.8, due to another issue):
and then thanks to https://stackoverflow.com/questions/33513522/when-installing-pyaudio-pip-cannot-find-portaudio-h-in-usr-local-include/69833329#69833329
and then running it with |
Seems like this is sorted out now, thanks @shahdivax, @keldenl and @shivenmian for your help! |
I am still not sort this out using you guys mentioned solutions.. But I first |
Running on M2 MBP in a conda environment.
To reproduce, 1) create conda env with python=3.10 2) brew install requirements 3) pip install 01OS 4) run 01.
This could be a conda/arm architecture issue, see relevant stackoverflow: https://stackoverflow.com/questions/69909054/could-not-import-the-pyaudio-c-module-portaudio-mac-m1-about-symbol-not-f
The text was updated successfully, but these errors were encountered: