简体   繁体   中英

How to install Pyaudio in python 3.11.1?

I am trying to install pyaudio but it always says like this: Python 3.11.1 . I am trying to make AI and using macos.

Try to help me to install pyaudio in the macos

You need portaudio installed. If you're using Homebrew, you can do it with this command:

brew install portaudio

To install pyaudio on your mac. First, you will need portaudio installed. That can be done using brew . If you don't have brew installed follow this link to install brew on your mac.

brew install portaudio

After installing portaudio you can install pyaudio using pip.

pip install pyaudio

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