How do I install PyAudio on Python 3.7?

后端 未结 9 1152
小鲜肉
小鲜肉 2020-12-06 02:06

I am currently trying to install PyAudio on Python 3.7 but when I use the command "pip install pyaudio", an error message appears:

相关标签:
9条回答
  • 2020-12-06 03:08

    Simply Download wheel file from https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyaudio , get the file for your Python version and bitness. Change the directory location to the download file location or copy downloaded file to the working location.

    Install it with pip install filename.whl

    0 讨论(0)
  • 2020-12-06 03:09

    Use this link to download .whl file according to the python version it supports. For Python -3.7 use PyAudio‑0.2.11‑cp37‑cp37m‑win32.whl

    Go and run this command on the Windows command prompt:

    pip install PyAudio-0.2.11-cp37-cp37m-win32.whl
    
    0 讨论(0)
  • 2020-12-06 03:10

    WINDOWS

    1. pip install pipwin
    2. pipwin install pyaudio

    This will install pyaudio

    0 讨论(0)
提交回复
热议问题