Pyaudio Will Not Install

PyAudio failed to install on Windows 10

Try this (in admin mode command prompt):

pip install pipwin
pipwin install pyaudio

pipwin is like pip, but it installs precompiled Windows binaries provided by Christoph Gohlke. Saves you a lot of googling and manual downloading.

Getting error in installing in PyAudio module

You can download PyAudio wheel file from here.

Then use pip install XXX.whl to install.

For example: pip install E:/PyAudio‑0.2.11‑cp37‑cp37m‑win_amd64.whl

You can check how many bits your computer is, and then download the corresponding wheel.

PyAudio‑0.2.11‑cp37‑cp37m‑win_amd64.whl supports python3.7 for windows 64-bit system.
PyAudio‑0.2.11‑cp37‑cp37m‑win32.whl supports python3.7 for windows 32-bit system.

Python, can not install pyaudio

Looking at the pypi files page for PyAudio, the latest wheels are for Python 3.6.
From your traceback it seems like you are running Python 3.7, so that won't work. The link on the pythonlibs page also times out for me.

If pip cannot find a suitable wheel, it will try to compile the package using its setup.py.

Nothing for it but to set up a development environment and compile it yourself. This link might help with that.

How do I solve PyAudio installation error?

Though the error says error: Microsoft Visual C++ 14.0 or greater is required. You can try installing the unofficial python binary for pyaudio from here.

Note - Install the wheel package in accordance of your system and python version.

For example if your system is of 64 bit and you running python 3.9.x then you will have to install PyAudio‑0.2.11‑cp39‑cp39‑win_amd64.whl

After you're done with the installation open up your terminal and navigate to the folder where the wheel package is installed, then enter the following command

pip install your_wheel_package_name.whl

pyaudio is not installing

It is a very common problem, I remember It was my first error on python. You get an error can't install pyaudio because your system don't have the ingrediants to build pyaudio. you should go to https://www.lfd.uci.edu/~gohlke/pythonlibs/ and hit Ctrl + F and type pyaudio and download the whl file which matches your machine and python version. after you have downloaded It you should Shift + Right click in the diractory you have installed It and click on Open power shell window here. and finally type pip install and first letters of the whl file's name and hit TAB and finally Hit ENTER. Boom ! you have install pyaudio.



Related Topics



Leave a reply



Submit