SpeechRecognition mikrofonu algılamıyor

Merhabalar benim şu şekilde sorunum var. Linux kullanıyorum ve kendime sanal asistan yazıyorum. Ama SpeechRecognition’da mikrofonu algılamıyor hata mesajı:

` ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear

ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory)
attempt to connect to server failed
Birşeyler Söyle!
python: src/hostapi/alsa/pa_linux_alsa.c:3636: PaAlsaStreamComponent_BeginPolling: Assertion ret == self->nfds' failed. [1] 325907 abort (core dumped) python pythonasistantforlinux.py

Bu bir uyari aslinda bende de pygame kullanirken oluyordu alsayi bastan baslatmayi dene

Pulseaudio ile denedim ondada olmadı.