简体   繁体   中英

Unable to Install PyAudio on Mac

I am trying to installing PyAudio on mac using the following commands:-

brew install portaudio

pip install pyaudio

I have already installed brew (as mentioned in this answer: https://stackoverflow.com/a/48572091/13218692 )

Is there any way to install PyAudio on Mac wothout installing Xcode as it is a 17GB File? Appreciate yuor help guys!!

在此处输入图像描述

The solution to install PyAudio on Mac without downloading Xcode is simply type in the following statement in the Terminal:-

sudo xcode-select --reset

And, then type in:-

pip install pyaudio

That's it,. Now, PyAudio is successfully installed on your Mac.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM