OSError: [Errno -9996] Invalid input device (no default output device)
2024-07-06 19:24:57.432 503 GET /script-health-check (127.0.0.1) 3.16ms
If you’re creating a debugging post, please include the following info:
-
Share the link to the public app (deployed on Community Cloud).
https://chartease.streamlit.app/ -
Share the link to your app’s public GitHub repository (including a requirements file).
GitHub - PeddiBharath/ChartEase -
Share the full text of the error message (not a screenshot).
Traceback:
File "/home/adminuser/venv/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 589, in _run_script
exec(code, module.__dict__)File "/mount/src/chartease/main.py", line 32, in <module>
stream = p.open(
^^^^^^^File "/home/adminuser/venv/lib/python3.11/site-packages/pyaudio/__init__.py", line 639, in open
stream = PyAudio.Stream(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "/home/adminuser/venv/lib/python3.11/site-packages/pyaudio/__init__.py", line 441, in __init__
self._stream = pa.open(**arguments)
^^^^^^^^^^^^^^^^^^^^
- Share the Streamlit and Python versions.
streamlit==1.36.0
streamlit-chat==0.1.1
streamlit-extras==0.4.3
st-pages==0.5.0
websockets==12.0
pyaudio==0.2.14
packages.txt
portaudio19-dev python3-all-dev