Any ideas on why the pins don't work without sudo ?
I'm also running into another issue when using sudo being that running the object detection code using sudo fails to find modules like tflite-runtime and cv2. From what I understood, using sudo takes the system modules instead of the modules present in the virtual environment. So I think installing tflite-runtime in the system fixes the issue. This can't be solved as I can't install tflite-runtime outside the virtual environment for some reason. Sorry for the late response because I thought using sudo would solve the issue Image may be NSFW.
Clik here to view.
I'm also running into another issue when using sudo being that running the object detection code using sudo fails to find modules like tflite-runtime and cv2. From what I understood, using sudo takes the system modules instead of the modules present in the virtual environment. So I think installing tflite-runtime in the system fixes the issue. This can't be solved as I can't install tflite-runtime outside the virtual environment for some reason. Sorry for the late response because I thought using sudo would solve the issue Image may be NSFW.
Clik here to view.

Statistics: Posted by wasedxs — Wed Apr 03, 2024 5:57 pm