What to do if PyAudio cannot be installed on Python 3.7, 3.8, 3.9 on Windows

As of June 2020, the official version of PyAudio only supports up to Python 3.6.X on Windows. https://pypi.org/project/PyAudio/#files

If you try to install with 3.7 or above "Microsoft Visual C++ 14.0 is required." However, even if I install Microsoft C ++ Build Tools according to the error, the PyAudio dependency settings are not working properly and I cannot install it.

It's an unofficial version to use PyAudio with 3.7 and above https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyaudio You can use it by downloading and installing the whl file corresponding to the version from. For example Python 3.8 on x86-64

py -m pip install PyAudio‑0.2.11‑cp38‑cp38‑win_amd64.whl



 You can install it with. The operation was fine.
 For the official version, it is safe to use Python 3.6.X for Windows.
 Please note that installing Microsoft C ++ Build Tools does not affect the results. There were many such false articles.


Recommended Posts

What to do if PyAudio cannot be installed on Python 3.7, 3.8, 3.9 on Windows
What to do if pip cannot be installed
What to do if Python doesn't work on Git for Windows
What to do if the package dependency cannot be repaired
What to do if the Microsoft Store opens even if you run python on Windows
What to do if Python IntelliSense is not displayed in VS Code on Windows
Notes on what to do if "macOS 11 or later required!" Appears in Big Sur or pyarrow2.0.0 cannot be installed
What to do if you can't install pyaudio with pip #Python
What to do if mod_fcgid cannot resolve UnicodeEncodeError
What to do if SciPy installation fails on CentOS
What to do when "cannot import name xxx" [Python]
What to do if you get the error Target WSGI script'/var/www/xxx/xxx.wsgi' cannot be loaded as python module
What to do if Japanese language support is not completely installed on Ubuntu 16.04
What to do if you installed pyenv on Mac OS using Homebrew but the python version doesn't switch
What to do if "export" keeps appearing on terminal when trying to put Python on macOS
What to do if pvcreate produces a lot of WARNING and cannot be created
What to do if ʻarguments [0] .scrollIntoView ();` fails in python selenium
What to do if you can't use WiFi on Linux
What to do if pip install mysqlclient fails on MacOS
What to do if yum breaks
Python 3.6 on Windows ... and to Xamarin.
What to do with PYTHON release?
[* CentOS 6.10] What to do if you cannot add the IUS Community Project repository on CentOS 6.5 (VirtualBox)
What to do if ʻObject arrays cannot be loaded when allow_pickle = False` occurs in numpy.load ()
If you get stuck in Cannot load mkl_intel_thread.dll in Python on Windows
What to do if you get a minus zero in Python
What to do when a video cannot be read by cv2.VideoCapture
python + SCOOP distributed computing cannot be done on a Windows PC
What to do if python says "fatal error:'stdio.h' file not found"
What to do if the inode is exhausted on EC2 Linux
What to do if grep: empty (sub) expression appears on Mac grep
[Kivy] How to install Kivy on Windows [Python]
What to do if there is a decimal in python json .dumps
What to do if you couldn't send an email to Yahoo with Python.
What to do if you can't use scikit grid search in Python
What to do if you forget your login password on Manjaro Linux
What to do if you get stuck during Anaconda installation on Linux
What to do if the Chainer (Windows) sample mnist terminates with WinError 183.
What to do if No Python documentation found for ... appears in pydoc
What to do if the server doesn't start with python manage.py runserver
What to do if you get "The session could not be opened" when installing CentOS on VirtualBox
Python on Windows
What to do if you get the message "" ~ .pkg "is corrupted and cannot be opened" when installing wxPython on Mac OS X
Project cannot be created with Python3.5 (Windows) + django1.7.1
Put MicroPython on Windows to run ESP32 on Python
What to do if pipreqs results in UnicodeDecodeError
[Python] What I did to do Unit Test
Note: What to do if pip install fails
What to do if rails s doesn't work
I want to do pyenv + pipenv on Windows
What to do if atom autocomplete-python doesn't work
[Python] How to install OpenCV on Anaconda [Windows]
What to do to get google spreadsheet in python
What to do if Docker-sync suddenly stops working
What to do if "amazon-linux-extras" → "No module named amazon_linux_extras"
[Python] What to do if an error occurs in pip (pyinstaller, pyautogui, etc.)
What to do if CERTIFICATE_VERIFY_FAILED occurs when nltk.download () is done on macOS pyhon
What to do if scrapy doesn't work after installing scrapy with pip on mac
What to do if a Unicode Encode Error occurs in Sublime Text Python
[Ubuntu 18.04 LTS] What to do when the screen resolution cannot be selected [NVIDIA]
What to do if you get "Python not configured." Using PyDev in Eclipse