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

Python • Sound not working when programming using Python over SSH on Raspberry Pi 4.

$
0
0
I have a weird problem where the Sound will play when using Python over VNC using Thonny but not when using SSH and Python through VSCODE. Has anyone experienced this. Im assuming there is permission problem.

I should mention that, I cant run Python over SSH using VSCODE without typing: sudo python filename.py. Otherwise it doesnt run. It says permission denied: /mem/dev

Likewise, the Camera does not load using open_cv through SSH with VSCODE but I believe the issue has something to do with Port Forwarding.

anyway, insight into any of these quirks would be greatly appreciated, otherwise i'm going to advise my students to simply use Thonny over VNC.

Statistics: Posted by brad_nielsen29 — Sun Feb 11, 2024 8:18 am — Replies 0 — Views 49



Viewing all articles
Browse latest Browse all 4451

Trending Articles