pyaudio无法安装

时间:2020-06-20 16:02:47

标签: python-3.x pyaudio

我正在尝试使用pip命令pip3 install PyAudio安装pyaudio 但我遇到了这个错误

 Failed building wheel for pyaudio

还有

Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-6wyv5apg/pyaudio/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-mfb7gpm9-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-6wyv5apg/pyaudio/

然后我尝试使用滚轮文件进行安装

使用此命令pip3 install PyAudio-0.2.11-cp36-cp36m-win_amd64.whl

但是我遇到了这个错误

PyAudio-0.2.11-cp36-cp36m-win_amd64.whl is not a supported wheel on this platform.

我该如何解决?

我正在使用python 3.6.9

0 个答案:

没有答案