I am trying to run my OAK-lite camera with the DepthAI Viewer as per instructions here, but I am running into the following error - returned non-zero exit status 1 when launching the viewer.
I have seen recent threads here and here, but didn't see a clear resolution.
Thank you,
What I've done so far
1/ Created a virtual environment
2/ Installed dependencies
curl -fL https://docs.luxonis.com/install_dependencies.sh | bash
3/ Installed DepthAI
python3 -m pip install depthai
4/ Installed the viewer
python3 -m pip install depthai-viewer
5/ Launched the viewer
python3 -m depthai_viewer
The viewer (first launch) then starts "building wheel for depthai" for a solid 20 minutes…
… until it fails with the following error log below.
Error log
Building wheel for depthai (pyproject.toml): finished with status 'error'
Successfully built PyTurboJPEG
Failed to build depthai
Creating virtual environment...
Error occurred during dependency installation: Command '['/opt/anaconda3/envs/venv_4/lib/python3.10/site-packages/depthai_viewer/venv-0.2.3/bin/python', '-m', 'pip', 'install', 'depthai-sdk==1.14.0']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/opt/anaconda3/envs/venv_4/lib/python3.10/site-packages/depthai_viewer/install_requirements.py", line 88, in create_venv_and_install_dependencies
subprocess.run(
File "/opt/anaconda3/envs/venv_4/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/opt/anaconda3/envs/venv_4/lib/python3.10/site-packages/depthai_viewer/venv-0.2.3/bin/python', '-m', 'pip', 'install', 'depthai-sdk==1.14.0']' returned non-zero exit status 1.
Deleting partially created virtual environment: /opt/anaconda3/envs/venv_4/lib/python3.10/site-packages/depthai_viewer/venv-0.2.3