Python3.7安装pyaudio库报错error: Microsoft Visual C++ 14.0 is required. Get it with “Microsoft Visual C++

1.报错截图:Python3.7安装pyaudio库报错error: Microsoft Visual C++ 14.0 is required. Get it with “Microsoft Visual C++_第1张图片
2.报错原因:

python3.7不支持直接pip install pyaudio 安装pyaudio库

3.解决方法:

在https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyaudio下载PyAudio-0.2.11-cp37-cp37m-win_amd64.whl文件
下载完PyAudio-0.2.11-cp37-cp37m-win_amd64.whl之后,进入PyAudio-0.2.11-cp37-cp37m-win_amd64.whl所在目录,再使用pip install PyAudio-0.2.11-cp37-cp37m-win_amd64.whl命令安装pyaudio库
如下图:
Python3.7安装pyaudio库报错error: Microsoft Visual C++ 14.0 is required. Get it with “Microsoft Visual C++_第2张图片
Python3.7安装pyaudio库报错error: Microsoft Visual C++ 14.0 is required. Get it with “Microsoft Visual C++_第3张图片

你可能感兴趣的:(python,Windows,Pycharm)