You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to run ./depthai_demo.py -app record fails after building its venv with NameError: name 'EncodingQuality' is not defined
This happens whether using the venv that gets built in apps/record (which builds with a different error with version of av) or using the 'base' venv built using the requirements.txt in the root.
Minimal Reproducible Example
./depthai_demo.py -app record
also
❯ cd apps/record
❯ mv requirements.txt requirements.SAV # to use the environment from the root, or leave it, it won't build because of bugs in `av`, you can update the version of `av` so it will build, but then the same error appears. *)
❯ python ./main.py
Traceback (most recent call last):
File "/home/flip/GitHub/depthai/apps/record/./main.py", line 13, in <module>
**from depthai_sdk import Record, EncodingQuality**
ImportError: cannot import name 'EncodingQuality' from 'depthai_sdk' (/home/flip/GitHub/depthai/venv/lib/python3.11/site-packages/depthai_sdk/__init__.py)
Expected behavior
Clean launch.
Screenshots
na
Pipeline Graph
na
Attach system log
na
Additional context
This bug appears in a different repo, luxonis/depthai-experiments#478 . It appears there is some merge problem where EncodingQuality got dropped. It doesn't exist in the API documentation, and doesn't appear in the develop branch either.
The text was updated successfully, but these errors were encountered:
Check if issue already exists
There are references in other repos - luxonis/depthai-experiments#478
Describe the bug
Attempting to run
./depthai_demo.py -app record
fails after building itsvenv
withNameError: name 'EncodingQuality' is not defined
This happens whether using the
venv
that gets built inapps/record
(which builds with a different error with version ofav
) or using the 'base'venv
built using therequirements.txt
in the root.Minimal Reproducible Example
./depthai_demo.py -app record
also
Expected behavior
Clean launch.
Screenshots
na
Pipeline Graph
na
Attach system log
na
Additional context
This bug appears in a different repo, luxonis/depthai-experiments#478 . It appears there is some merge problem where
EncodingQuality
got dropped. It doesn't exist in the API documentation, and doesn't appear in thedevelop
branch either.The text was updated successfully, but these errors were encountered: