Hi,
I am trying to run the luxonis/depthai-experimentsblob/master/gen2-record-replay/record.py example using:
python record.py
But I get the below error:
Traceback (most recent call last):
File "<PATH>/gen2-record-replay/record.py", line 12, in <module>
from depthai_sdk import Record, EncodingQuality
ImportError: cannot import name 'EncodingQuality' from 'depthai_sdk' (<path>/lib/python3.11/site-packages/depthai_sdk/__init__.py)
Sentry is attempting to send 1 pending error messages
Waiting up to 2 seconds
I saw this issue and am guessing I need to install that specific version of depthai_sdk in the requirements.txt file. When I try running
python3 -m pip install -r requirements.txt
it just freezes at the point:
Building wheel for depthai (pyproject.toml) ...
My guess is that it is something to do with the way I have installed depthai. I had to install it from x86 MacOS wheels (please see this post for more details). But am not sure if these two are connected.
Please could someone let me know how to resolve this?
Best,
AB