alexis_speech_assistant icon indicating copy to clipboard operation
alexis_speech_assistant copied to clipboard

ModuleNotFoundError: No module named 'speech_recognition'

Open jcrommar opened this issue 5 years ago • 9 comments

ModuleNotFoundError: No module named 'speech_recognition'

Getting this error when running my application. All kinds of information out there but no real fixes.

I've upgraded pip, speechrecognition, uninstall and reinstalled and no luck so far.

jcrommar avatar Feb 06 '20 05:02 jcrommar

try this command pip install SpeechRecognition

rayavarapuvikram1 avatar Feb 11 '20 04:02 rayavarapuvikram1

@rayavarapuvikram1 oh trust me I've been on just about every site and tried pip, pip3, upgraded pip and then pip install, SpeechRecognition, speechrecognition.

Thanks,

jcrommar avatar Feb 11 '20 04:02 jcrommar

paste your error here

what's your operating system?

rayavarapuvikram1 avatar Feb 11 '20 05:02 rayavarapuvikram1

C:\Users\rayav>pip search SpeechRecognition SpeechRecognition (3.8.1) - Library for performing speech recognition, with support for several engines and APIs, online and offline. INSTALLED: 3.8.1 (latest)

copied from my CMD

rayavarapuvikram1 avatar Feb 11 '20 05:02 rayavarapuvikram1

paste your error here

what's your operating system?

Using MacOs

jcrommar avatar Feb 16 '20 00:02 jcrommar

@rayavarapuvikram1 using MacOS, seems to be a big issue out in the community. I guess this project is much easier on Windows OS

jcrommar avatar Feb 16 '20 00:02 jcrommar

@jcrommar I am using macOS. I had to deactivate the virtual environment and reinstall the packages. Then importing the packages worked. Don't know if it is the best practice to work outside of a virtual environment or not but it worked.

chetjones003 avatar Apr 02 '20 04:04 chetjones003

I think you have not installed speech_recognition module Try installing it in the terminal by:- pip install speechrecognition

jjena560 avatar May 08 '20 07:05 jjena560

I think you have not installed speech_recognition module Try installing it in the terminal by:- pip install speechrecognition

It should be SpeechRecognition

rayavarapuvikram1 avatar May 11 '20 04:05 rayavarapuvikram1