Trying to install pyaudio using pip

后端 未结 2 1035
渐次进展
渐次进展 2020-12-12 06:48

I try to install pyaudio in pycharm, and

I get this error

error: command \'C:\\\\Program Files (x86)\\\\Microsoft Visual Stu         


        
相关标签:
2条回答
  • 2020-12-12 07:01

    Try this:

    pip install pipwin
    pipwin install pyaudio
    

    pipwin is like pip, but it installs precompiled Windows binaries provided by Christoph Gohlke. Saves you a lot of manual googling and downloading.

    0 讨论(0)
  • 2020-12-12 07:22

    Maybe this is not a solution to your error, but it is one of the easiest ways to install it on Windows.

    You can simply grab the proper Wheel package based on current Python version from here and then install it with pip install <PyAudio‑0.2.11-...>. Also, there is no need to have MSVC installed.

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