ImportError No module named pyaudio

后端 未结 4 649
轮回少年
轮回少年 2020-12-10 15:19

I am writing a program in Python on RaspberryPi, But I am getting an error

ImportError No module named pyaudio

After that I tried



        
4条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-10 15:55

    download suitable version of PyAudio File: https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyaudio

    Then Open CMD type : C:\Users\Programs\Python\Python37\Scripts add "pip install"

    file location where you download the PyAudio whl file add File name

    example:C:\Users\Programs\Python\Python37\Scripts>pip install C:\Users\Desktop\Projects\PyAudio-0.2.11-cp37-cp37m-win_amd64.whl

提交回复
热议问题