I'M having trouble with connecting my camera to the depthai_demo.py script or any of my other working scripts. I am on a MAC M2. Everything was working fine just last week so I'm not sure what happened. Let me know if there is anything else I can try, I tried reinstalling dependencies from the depthai repo but that didn't do anything. Here is my error code:
Using depthai module from: /Users/adrien/Library/Python/3.10/lib/python/site-packages/depthai.cpython-310-darwin.so
Depthai version installed: 2.21.2.0
Setting up demo...
Available devices:
[0] 194430102186771300 [X_LINK_UNBOOTED]
Traceback (most recent call last):
File "/Users/adrien/Repos/depthai/depthai_demo.py", line 1053, in <module>
runOpenCv()
File "/Users/adrien/Repos/depthai/depthai_demo.py", line 1043, in runOpenCv
demo.run_all(confManager)
File "/Users/adrien/Repos/depthai/depthai_demo.py", line 132, in run_all
self.setup(conf)
File "/Users/adrien/Repos/depthai/depthai_demo.py", line 209, in setup
self._device = dai.Device(self._pm.pipeline.getOpenVINOVersion(), self._deviceInfo, usb2Mode=self._conf.args.usbSpeed == "usb2")
RuntimeError: Failed to find device after booting, error message: X_LINK_DEVICE_NOT_FOUND
Exception ignored in atexit callback: <bound method Demo.stop of <__main__.Demo object at 0x128c75510>>
Traceback (most recent call last):
File "/Users/adrien/Repos/depthai/depthai_demo.py", line 336, in stop
self._pv.closeQueues()
AttributeError: 'Demo' object has no attribute '_pv'
Sentry is attempting to send 2 pending error messages
Waiting up to 2 seconds
Press Ctrl-C to quit