CODE
import pyttsx3
import datetime
import speech_recognition as sr
import wikipedia
OUTPUT
import speech_recognition as sr
ModuleNotFoundError: No module named 'speech_recognition'
I am using Python3.10.0, Windows 11, and IDLE.
You did not actually ask a question. For an answer to the implied 'Why?', read the doc for the import statement . In summary, there is no speech-recognition
located in the current working directory, nor in Lib/site-packages
for the python binary you are running.
For more, search the python
tag for ModuleNotFoundError and read some of the duplicate answered questions.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.