i can verify i am on the branch:
* rvc3_develop
i can verify i am on the branch:
* rvc3_develop
(DepthAIEnv39) feroze@Ferozes-MBP utilities % python3 cam_test.py
Enabled cameras:
rgb : color
left : mono
right : mono
camd : color
DepthAI version: 2.23.0.0
DepthAI path: /opt/homebrew/Caskroom/miniconda/base/envs/DepthAIEnv39/lib/python3.9/site-packages/depthai.cpython-39-darwin.so
Traceback (most recent call last):
File "/Users/feroze/DepthAI/depthai-python/utilities/cam_test.py", line 271, in <module>
with dai.Device() as device:
RuntimeError: No available devices
How can I fix:
Installing collected packages: depthai
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
depthai-sdk 1.13.1 requires depthai==2.22.0, but you have depthai 2.22.0.0.dev0+acdd2024533cf8375db55c3d3137bf4ce750c54a which is incompatible.
Ok so I deleted the python package cache, uninstalled depthai and depthai-sdk
I ran python3 install_requirements in the examples folder and everything installed successfully.
Still it is not recognizing the device here it the output:
(DepthAIEnv39) feroze@Ferozes-MBP utilities % python3 cam_test.py
Enabled cameras:
rgb : color
left : mono
right : mono
camd : color
DepthAI version: 2.22.0.0.dev+acdd2024533cf8375db55c3d3137bf4ce750c54a
DepthAI path: /Users/feroze/.local/lib/python3.9/site-packages/depthai.cpython-39-darwin.so
Traceback (most recent call last):
File "/Users/feroze/DepthAI/depthai-python/utilities/cam_test.py", line 271, in <module>
with dai.Device() as device:
RuntimeError: No available devices
Still can not get the device to be recognized after starting with a fresh environment and codebase, switched to the rvc3_develop branch and installed the requirements in examples/install_requirements.py and utilities/install_requirements.py
But I still can not get the device to recognize. What do I do now?
(rvc3) feroze@Ferozes-MBP utilities % python3 cam_test.py
Enabled cameras:
rgb : color
left : mono
right : mono
camd : color
DepthAI version: 2.22.0.0.dev+acdd2024533cf8375db55c3d3137bf4ce750c54a
DepthAI path: /Users/feroze/.local/lib/python3.11/site-packages/depthai.cpython-311-darwin.so
Traceback (most recent call last):
File "/Users/feroze/RVC3/depthai-python/utilities/cam_test.py", line 278, in <module>
with dai.Device() as device:
^^^^^^^^^^^^
RuntimeError: No available devices
(rvc3) feroze@Ferozes-MBP utilities % git branch
main
origin/rvc3_develop
* rvc3_develop
@erik could this be related - and why was the ticket closed there seemed to be no resolution to it
Here is the no devices error with the debug level env variable added:
(rvc3) feroze@Ferozes-MBP utilities % DEPTHAI_LEVEL=debug python3 cam_test.py --cameras rgb,c
[2023-10-10 09:31:41.221] [depthai] [debug] Python bindings - version: 2.22.0.0.dev+acdd2024533cf8375db55c3d3137bf4ce750c54a from 2023-09-21 16:40:52 +0300 build: 2023-09-21 13:57:52 +0000
[2023-10-10 09:31:41.221] [depthai] [debug] Library information - version: 2.22.0, commit: 1c35bec502b32c36f3eb9996e83044709e88f32e from 2023-09-21 16:17:23 +0300, build: 2023-09-21 13:57:50 +0000
[2023-10-10 09:31:41.226] [depthai] [debug] Initialize - finished
Enabled cameras:
rgb : color
DepthAI version: 2.22.0.0.dev+acdd2024533cf8375db55c3d3137bf4ce750c54a
DepthAI path: /Users/feroze/.local/lib/python3.11/site-packages/depthai.cpython-311-darwin.so
[2023-10-10 09:31:41.287] [depthai] [debug] Resources - Archive 'depthai-bootloader-fwp-0.0.26.tar.xz' open: 2ms, archive read: 62ms
[2023-10-10 09:31:41.553] [depthai] [debug] Resources - Archive 'depthai-device-fwp-76532066ec0f87f63db465974dfbff71163da5ca.tar.xz' open: 2ms, archive read: 329ms
Traceback (most recent call last):
File "/Users/feroze/RVC3/depthai-python/utilities/cam_test.py", line 278, in <module>
with dai.Device() as device:
^^^^^^^^^^^^
RuntimeError: No available devices
Nearpoint Are you on the same subnet as the device (have you changed static IP to it)? As per gdocs below, device has static IP, so your host needs to be in same subnet.
https://docs.google.com/document/d/1r3en4EqgDG3hum8o5yS1DJ5vSCb6aNqyA38tIM8723U/edit