Answer the question
In order to leave comments, you need to log in
I can't fix the error, what's the problem?
help me solve the problem... reinstalled python, installed new, old versions of python, updated all modules. but the error is...
Traceback (most recent call last):
File "C:\Users\Roman\AppData\Local\Programs\Python\Python39\lib\site-packages\
speech_recognition\__init__.py", line 108, in get_pyaudio
import pyaudio
ModuleNotFoundError: No module named 'pyaudio'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "R:\vik\Viktoria.py", line 911, in
command = listen_command( )
File "R:\vik\Viktoria.py", line 99, in listen_command
with sr.Microphone() as source:
File "C:\Users\Roman\AppData\Local\Programs\Python\Python39\lib\site-packages\
speech_recognition\__init__.py", line 79, in __init__
self.pyaudio_module = self.get_pyaudio()
File "C: \Users\Roman\AppData\Local\Programs\Python\Python39\lib\site-packages\
speech_recognition\__init__.py", line 110, in get_pyaudio
raise AttributeError("Could not find PyAudio; check installation")
AttributeError: Could not find PyAudio; check installation
Answer the question
In order to leave comments, you need to log in
Currently, there are wheels compatible with the official distributions of Python 2.7, 3.4, 3.5, and 3.6
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question