Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5164

Python • Re: Python Sounddevice problems

$
0
0
Did you install the venv with access to system site packages? (https://learn.adafruit.com/python-virtu ... nv-details)

Did the steps here, altough i think its not the problem as it's not that the venv can't access stuff on the outside but the other way around.

Also, see the next page to make sure you are invoking sudo properly (https://learn.adafruit.com/python-virtu ... -with-sudo).
Also did all of the steps here, still the same error. I even got the correct path output when doing commands like "sudo -E env PATH=$PATH which python" inside the venv just like it's shown in the tutorial. I'm really at a loss here, it seems the paths are correct, the necessary modules are installed but i still get the PortAudioError: Error querying device -1 0 clue what that even means and the internet can't tell me either.
I think if no one else has any idea I'll just try to reinstall another OS like debian or ubuntu on the RPi instead of the native OS as that might change stuff up and i really have no reason to use the Raspberry OS.
Thanks anyway ^^

Statistics: Posted by Tesremin — Tue Dec 10, 2024 12:04 pm



Viewing all articles
Browse latest Browse all 5164

Trending Articles