I am using a OAK-D SR PoE for a project that I am working on for my job. I am using the M8 port/connector via usb c to connect and power the camera. However, the camera is not streaming through depthai viewer. My goal is to use the tool to display some dimensional data but depthai fails repeatedly with installing the proper dependencies for the tool. I have uninstalled and reinstalled depthai and nothing changed, still failure at the installation. Reading through a few documentation led me to the github page. I followed the instructions and installed via vs code terminal and still the same issue. I was able to get live footage from the camera from one of the python scripts that were in the github depthai files. Is there any solution to my problem? I am urgently in need of some assistances.
DepthAi Viewer: "Error Installing Dependencies"
Here is the error I am getting whenever i run the command "python -m depthai_viewer":
Looking in indexes: https://anu9rng:\*\*\*\*@rb-artifactory.bosch.com/artifactory/api/pypi/python-virtual/simple
Requirement already satisfied: pip in c:\users\deg6fni\.conda\envs\camera\lib\site-packages\depthai_viewer\venv-0.2.0\lib\site-packages (24.0)
Looking in indexes: https://anu9rng:\*\*\*\*@rb-artifactory.bosch.com/artifactory/api/pypi/python-virtual/simple, https://artifacts.luxonis.com/artifactory/luxonis-python-snapshot-local/
Creating virtual environment...
Error occurred during dependency installation: Command '['C:\\Users\\deg6fni\\.conda\\envs\\camera\\Lib\\site-packages\\depthai_viewer\\venv-0.2.0\\Scripts\\python', '-m', 'pip', 'install', 'depthai-sdk==1.13.1.dev0+dd1a6d8a797107d24b9b91b7b63c3fcffb932712', '--extra-index-url', 'https://artifacts.luxonis.com/artifactory/luxonis-python-snapshot-local/']' returned non-zero exit status 1.
Traceback (most recent call last):
File "C:\Users\deg6fni\.conda\envs\camera\Lib\site-packages\depthai_viewer\install_requirements.py", line 88, in create_venv_and_install_dependencies
subprocess.run(
File "C:\Users\deg6fni\.conda\envs\camera\Lib\subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['C:\\Users\\deg6fni\\.conda\\envs\\camera\\Lib\\site-packages\\depthai_viewer\\venv-0.2.0\\Scripts\\python', '-m', 'pip', 'install', 'depthai-sdk==1.13.1.dev0+dd1a6d8a797107d24b9b91b7b63c3fcffb932712', '--extra-index-url', 'https://artifacts.luxonis.com/artifactory/luxonis-python-snapshot-local/']' returned non-zero exit status 1.
Deleting partially created virtual environment: C:\Users\deg6fni\.conda\envs\camera\Lib\site-packages\depthai_viewer\venv-0.2.0
Has anyone run into similar errors? If so how did you solve them, I am using windows 10.
- Edited
Hi @gdeanrexroth
Should be fixed by Sunday if the issue is SDK version (discussed in mail). But just incase, try again; maybe the artifactory was down at the time.
Thanks,
Jaka
jakaskerl Tried again and same error: "Error Installing Dependencies" . I will continue to wait. Thanks
Hey @gdeanrexroth the new version is out and it now uses the depthai sdk published on pypi. You can try to give it a shot again: https://pypi.org/project/depthai-viewer/
pip install depthai-viewer==0.2.1 -U
Nothing worked for me. I have updated the bootloader and I am still running into some issues running into the python files.
Hi @gdeanrexroth
We will try and fix it asap. The issue is that viewer uses external modules that predownload the models which look to be a problem on your network.
Thanks,
Jaka
jakaskerl
I want to get in on this discussion if possible.
I am trying to run the DepthAI viewer on a windows machine not connected to internet so it can not download the external modules as well.
Is there be an (update or) version that can run stand-alone without the need to download updates?