Python Forum
Cannot use speechrecognition Please HELP - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Cannot use speechrecognition Please HELP (/thread-20446.html)



Cannot use speechrecognition Please HELP - Simurg - Aug-11-2019

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...


RE: Cannot use speechrecognition Please HELP - buran - Aug-11-2019

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