Unable to install pyAudio package

前端 未结 4 1048
再見小時候
再見小時候 2021-01-14 17:39

I am building a speech recognition program but can\'t install pyAudio.

I have installed Microsoft visual c++ 14.0.0 but still, I am getting another error. I can\'t u

4条回答
  •  滥情空心
    2021-01-14 18:16

    These are notes for installation on Microsoft Windows:

    pip will fetch and install PyAudio wheels (prepackaged binaries). Currently, there are wheels compatible with the official distributions of Python 2.7, 3.4, 3.5, and 3.6. For those versions, both 32-bit and 64-bit wheels are available.

    You are using Python 3.7, which is not compatible with PyAudio. However...

    EDIT:

    As user @Dalen states, there are prebuilt binaries (.exe files) for pyAudio. I installed from their archive stated in documentation but importing pyAudio had an output:

    There are unofficial binaries for Windows on this site: https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyaudio .

    Download the proper one and install it.

提交回复
热议问题