Camera not detected unless run as root

The Python SDK (4.1.1) fails to detect the camera on Ubuntu 22 unless I run my Zed application as root.

After I successfully detect the camera by running as root, it then suddenly starts working even if I’m not root. Until I unplug and replug the camera again, then I have to run it as root once again.

What could be the problem? Is there some udev rule I need to set up?

Hi @JC31,

First of all, is this issue only happening when using the Python API? Can you use the zed tools without root access?

What version of python are you using, and how have you installed the python API?