M1 and Pyaudio. ||PaMacCore (AUHAL)|| AUHAL component not found.

Hello everyone,


I'm trying to use Pyaudio on Python, but the following error appears: ||PaMacCore (AUHAL)|| AUHAL component not found. .... stream = audio.open(format=FORMAT, channels=CHANNELS, ... stream = PyAudio.Stream(self, *args, **kwargs) ... self._stream = pa.open(**arguments) ... OSError: [Errno -9999] Unanticipated host error


I tried to uninstall and install Homebrew, PyAudio & port audio several times. I followed this suggestion as well https://discussions.apple.com/thread/252638887. But still without success.


I would like to know if anyone knows how to solve this problem or has any suggestions. Or if someone can record by Python without any issue.


Note: The permission to use the microphone is activated through systems, privacy and security.


Thank you.



MacBook Pro (M1, 2020)

Posted on May 15, 2023 6:53 AM

Reply

Similar questions

1 reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

M1 and Pyaudio. ||PaMacCore (AUHAL)|| AUHAL component not found.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.