Python Forum
Cannot use speechrecognition Please HELP
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cannot use speechrecognition Please HELP
#1
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...
Reply
#2
it should be import speech_recognition as sr
Best would be to look at the examples
https://github.com/Uberi/speech_recognition
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Error with SpeechRecognition module glittergirl 3 2,801 Aug-04-2020, 02:27 PM
Last Post: Gribouillis
  speechrecognition 3.8.1 aibrain 1 3,266 Apr-07-2018, 02:17 PM
Last Post: wavic

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020