Answers for "error installing pyaudio"


how to install pyaudio in python

pip install pipwin
pipwin install pyaudio
Posted by: Guest on August-04-2020

error while installing pyaudio

pip install pipwin
pipwin install pyaudio
Posted by: Guest on November-28-2020

error pyaudio

pip install pipwin
pipwin install pyaudio
Posted by: Guest on February-22-2021

pyaudio install error mac

I'm assuming you are on a Mac. This is a simple issue to fix.

First install Xcode. Then restart your computer. Afterwards run the commands in sequence,

xcode-select --install
brew remove portaudio
brew install portaudio
pip3 install pyaudio
So to clarify, Xcode is installed through the App Store. Xcode command line tools are required for some installations, for others they are not. I'm including it here just to be on the safe side. You also probably do not need to uninstall and reinstall the formula via Homebrew, I did that to ensure that there would be absolutely no problems.

Edit: I have been told Homebrew requires Xcode. So just run the

xcode-select --install
command to be able to use Clang. Also what version of Mac are you on?
Posted by: Guest on March-22-2021

pyaudio install error ubuntu

#in ubuntu 20.04 LTS
#for python3
sudo apt-get install portaudio19-dev python3-pyaudio
Posted by: Guest on August-23-2021

python pyaudio error

find your Python version by python --version mine is 3.7.3 for example
the easiest way to check either you have 64 or 32 Python just open it in the terminal:

find the appropriate .whl file from here, for example mine is PyAudio‑0.2.11‑cp37‑cp37m‑win_amd64.whl, and download it.
go to the folder where it is downloaded for example cd C:\Users\foobar\Downloads
install the .whl file with pip for example in my case:
pip install PyAudio-0.2.11-cp37-cp37m-win_amd64.whl
Posted by: Guest on July-29-2021

Python Answers by Framework

Browse Popular Code Answers by Language