I have this tiny bit of code:
import speech_recognition as sr
r = sr.Recognizer()
with sr.Microphone() as source:
audio = sr.listen(source)
End up with the following error:
r = sr.Recognizer()
AttributeError: 'module' object has no attribute 'Recognizer'