I have used pip to install PyAudio, yet when I try to import it using import pyaudio
, I get the following error message
ImportError : No module named PyAudio.
I tried to reinstall PyAudio, and it says that I already have it installed.
I have used pip to install PyAudio, yet when I try to import it using import pyaudio
, I get the following error message
ImportError : No module named PyAudio.
I tried to reinstall PyAudio, and it says that I already have it installed.
import pyaudio
, and not import PyAudio
(as the error message suggests). Python is case sensitive.Some of the environment problems can be checked in the following way - open cmd
and run:
where python
where pip
pip should be in the same directory as Python, under the "Scripts" folder.
If you find that the path to pip and the path to Python are completely different, some possible solutions are:
cd
. Make it point to the location of the correct pip
. Then run pip install
.conda
, virtualenv
etc)