Python Forum

Full Version: Cannot use speechrecognition Please HELP
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I want to use speech to text tutorial however I get a problem related with SpeechRecognition, I installed but problem is still continue, I use Anaconda the last version and Pycharm 3.7, with these two software I cannot use this sound application,

tutorial code is

import SpeechRecognition as sr
voice = sr.Recognizer()

here is the error code

File "...\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 110, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)

File ".../Spyder/SoundProcessingTut03.py", line 1, in <module>
import SpeechRecognition as sr

ModuleNotFoundError: No module named 'SpeechRecognition'

I am new user for the Python, can anybody help me please,

thanks so much for everything...
it should be import speech_recognition as sr
Best would be to look at the examples
https://github.com/Uberi/speech_recognition