반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- openAI
- GPT
- no space left on device
- 맛집
- 분당맛집
- ChatGPT
- ubuntu
- 오블완
- opencv
- ROS2
- CLASS
- Torch
- 터미널
- python
- string
- socketio
- ros
- linux
- error
- 판교
- humble
- Android
- pytorch
- 딥러닝
- tensorflow
- timm
- TTS
- 티스토리챌린지
- CUDA
- 스팸
Archives
- Today
- Total
RoBoLoG
PortAudioError: Error querying device -1 본문
sounddevice 라는 python package를 사용하면서 발생하는 문제
원인: 소리 재생 장치가 연결이 안 되어있음
해결: 이어폰이나 소리가 나오는 모니터를 연결하면 끝!
File d:\virtualenv\vision_tts\lib\site-packages\sounddevice.py:179, in play(data, samplerate, mapping, blocking, loop, **kwargs)
176 ctx.write_outdata(outdata)
177 ctx.callback_exit()
--> 179 ctx.start_stream(OutputStream, samplerate, ctx.output_channels,
180 ctx.output_dtype, callback, blocking,
181 prime_output_buffers_using_stream_callback=False,
182 **kwargs)
File d:\virtualenv\vision_tts\lib\site-packages\sounddevice.py:2542, in _CallbackContext.start_stream(self, StreamClass, samplerate, channels, dtype, callback, blocking, **kwargs)
2539 def start_stream(self, StreamClass, samplerate, channels, dtype, callback,
2540 blocking, **kwargs):
2541 stop() # Stop previous playback/recording
-> 2542 self.stream = StreamClass(samplerate=samplerate,
...
--> 569 raise PortAudioError('Error querying device {}'.format(device))
570 assert info.structVersion == 2
571 name_bytes = _ffi.string(info.name)
PortAudioError: Error querying device -1
728x90
반응형