I have installed PyAudio but whenever i try to import it, it throws an error called "no module named PyAudio".
I have also googled abt it but didn't find any useful answers. Anybody have solution for this...

  • 5
    Pip install pyaudio? 🤔 Perhaps you're in a virtual environment
  • 4
    Will need some extra context:
    - Have you installed pyAudio using pip or just by downloading the files by hand?
    - Are you using virtualenv or something alike?

    Damn, @alexbrooklyn beat me to it while I was typing. xD
  • 1
    @theKarlisK pip install didn't worked out i have installed a whl file
  • 3
    @shivv what's the pip error?
  • 6
    Maybe you've installed the python 2 version while you're trying to use it with a python 3 interpreter?

    Happened to me with pip.
    Always install via pip3
Add Comment