I tried to record the user voice of my app with soundevice:
audio_input = sd.rec(frames=int(sampling_rate * duration), samplerate=sampling_rate, channels=1)
It works on my computer, but not on the cloud. Here is the message I received:
File "/home/user/.local/lib/python3.10/site-packages/sounddevice.py", line 71, in <module>
raise OSError('PortAudio library not found')
I tried also to use PyAudio, without success…
What should I do ? (Is there a way to import PortAudio…)
Thanks