Hi erik,
I have already tried that, but the install script examples/install_requirements.py
installs the newest version 2.21.2
. It seems to be wrong. Could you check it, please? I have downloaded the rvc3-support
branch https://github.com/luxonis/depthai-python/tree/rvc3_support.
I have run the install_requiremenst.py
script and manually installed the correct version with python3 -m pip install depthai==2.19.1
.
I tried to run the utilities/cam_test.py
script as before, and the result is the same.
root@keembay:~/git/depthai-python-rvc3_support/utilities# python3 cam_test.py --cameras rgb,m
[2023-04-20 10:37:58.290] [warning] USB protocol not available - If running in a container, make sure that the following is set: "-v /dev/bus/usb:/dev/bus/usb --device-cgroup-rule='c 189:* rmw'"
Enabled cameras:
rgb : mono
DepthAI version: 2.19.1.0
DepthAI path: /home/root/.local/lib/python3.8/site-packages/depthai.cpython-38-aarch64-linux-gnu.so
Traceback (most recent call last):
File "cam_test.py", line 184, in <module>
with dai.Device(pipeline) as device:
RuntimeError: No available devices
I also noticed, that there is an install script in utilites/install_requirements.py
but this script does not work as below
root@keembay:~/git/depthai-python-rvc3_support/utilities# python3 install_requirements.py
Requirement already satisfied: pip in /home/root/.local/lib/python3.8/site-packages (23.1)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Requirement already satisfied: PySimpleGUI==4.60.3 in /home/root/.local/lib/python3.8/site-packages (from -r requirements.txt (line 1)) (4.60.3)
Requirement already satisfied: Pillow==9.2.0 in /home/root/.local/lib/python3.8/site-packages (from -r requirements.txt (line 2)) (9.2.0)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3.8/tkinter/__init__.py", line 36, in <module>
import _tkinter # If this fails your Python may not be configured for Tk
ModuleNotFoundError: No module named '_tkinter'
Missing `python3-tk` on the system. Install with `sudo apt install python3-tk`
I tried to install the python3-tk
but I do not have apt
and I could not install it on the camera.
Now I tried to run the examples/ColorCamera/rgb_preview.py
, and it still cannot see the cameras. I
root@keembay:~/git/depthai-python-rvc3_support/examples/ColorCamera# python3 rgb_preview.py
[2023-04-20 10:34:23.567] [warning] USB protocol not available - If running in a container, make sure that the following is set: "-v /dev/bus/usb:/dev/bus/usb --device-cgroup-rule='c 189:* rmw'"
Traceback (most recent call last):
File "rgb_preview.py", line 24, in <module>
with dai.Device(pipeline) as device:
RuntimeError: No available devices
Could you give me some hints, how to proceed?
Thanks!