During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\Users\Windows\Desktop\progs\virtualassistant.py", line 130, in
except speech_recognition.UnknownValueError():
TypeError: catching classes that do not inherit from BaseException is not allowed
While I run this code:
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "c:\Users\Windows\Desktop\progs\virtualassistant.py", line 130, in
except speech_recognition.UnknownValueError():
TypeError: catching classes that do not inherit from BaseException is not allowed
Thanks in advance.