Search code examples
pythonspeech-recognitionpyaudio

Not able to import speech_recognition


I have installed SpeechRecognition and PyAudio successfully (using pip), but whenever I try to import speech_recognition it spits out this error:

Unable to import 'speech_recognition' pylint(import-error)

Solution

  • To ensure python3 -m speech_recognition if you were installed by pip3, or python -m speech_recognition if using pip correctly working.

    The other hand, ensure you using correct interpreter who has been installed speech_recognition