Open chong5u opened 2 months ago
(voice_llm) D:\ai\voice_llm>python app.py pygame 2.5.2 (SDL 2.28.3, Python 3.11.9) Hello from the pygame community. https://www.pygame.org/contribute.html Knowledgebase created successfully! Traceback (most recent call last): File "D:\ai\voice_llm\app.py", line 98, in main() File "D:\ai\voice_llm\app.py", line 62, in main stream = audio.open(format=pyaudio.paInt16, channels=1, rate=16000, input=True, frames_per_buffer=1024) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\admin\miniconda3\envs\voice_llm\Lib\site-packages\pyaudio__init__.py", line 639, in open stream = PyAudio.Stream(self, *args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\admin\miniconda3\envs\voice_llm\Lib\site-packages\pyaudio__init.py", line 441, in init__ self._stream = pa.open(arguments) ^^^^^^^^^^^^^^^^^^^^ OSError: [Errno -9996] Invalid input device (no default output device)
(voice_llm) D:\ai\voice_llm>python app.py pygame 2.5.2 (SDL 2.28.3, Python 3.11.9) Hello from the pygame community. https://www.pygame.org/contribute.html Knowledgebase created successfully! Traceback (most recent call last): File "D:\ai\voice_llm\app.py", line 98, in
main()
File "D:\ai\voice_llm\app.py", line 62, in main
stream = audio.open(format=pyaudio.paInt16, channels=1, rate=16000, input=True, frames_per_buffer=1024)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\admin\miniconda3\envs\voice_llm\Lib\site-packages\pyaudio__init__.py", line 639, in open
stream = PyAudio.Stream(self, *args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\admin\miniconda3\envs\voice_llm\Lib\site-packages\pyaudio__init.py", line 441, in init__
self._stream = pa.open(arguments)
^^^^^^^^^^^^^^^^^^^^
OSError: [Errno -9996] Invalid input device (no default output device)