Python3.7 无法安装pyaudio

Python3.7 无法安装pyaudio

pip install pyaudio
提示error: Microsoft Visual C++ 14.0 is required. Get it with “Microsoft Visual C++ Build Tools”: http://landinghub.visualstudio.com/visual-cpp-build-tools

到这个地址下载对应的whl https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyaudio

PyAudio‑0.2.11‑cp37‑cp37m‑win_amd64.whl

cp37代表python版本号3.7,amd64代表64位

下载完成后安装
pip install Twisted-18.7.0-cp36-cp36m-win_amd64.whl
pip install pyaudio

你可能感兴趣的:(Python)