Answer the question
In order to leave comments, you need to log in
Voice assistant. no module name "_portaudio", how to solve this problem?
I am writing a voice assistant in python 3.10.
I struggled with installing pyAudio for a long time, installed it via the
source https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyaudio portaudio is installed but gives the same error
Device listing program using pyaudio
import pyaudio
p = pyaudio.PyAudio()
for i in range(p.get_device_count()):
print(p.get_device_info_by_index(i)['name'])
Answer the question
In order to leave comments, you need to log in
I advise you not to use PyAudio in 3.10 yet. I
tried it myself, it's still a hemorrhoid.
You can see in my questions how I did my voice. assistant, there you will immediately find the reproduction of his speech and so that he can see the micro, but I will say right away that the program is very laggy, I did not understand why, sometimes it just freezes
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question