-1

I have installed Speech_Recognition :

enter image description here

and tried to import it
enter image description here

this error shows up
enter image description here

Omar Shawky
  • 1,242
  • 1
  • 12
  • 25
  • 4
    sending images like this is bad practise. Try restarting your Editor. If that doesn't help, it has it's own interpreter, and you either have to install the package there, or change the interpreter to your default python – Mahrkeenerh Oct 20 '21 at 08:15
  • Check your pip and python versions using `--version` flag. It seems they are not paired. You can use `python -m pip` instead of just `pip` to make sure it's executed by the same python. – h4z3 Oct 20 '21 at 08:19
  • The program looks like it is called `SpeechRecognition` not `Speech_Recognition`. You may just need to remove the underscore. – Tyberius Oct 20 '21 at 17:45

1 Answers1

-1
import Speech_Recognition as sr

I just written the wrong statement it should be

import speech_recognition as sr