Skip to content

Cannot import "EncodingQuality" from "depthai_sdk" #478

@kimjsik08

Description

@kimjsik08

I am having this error:

Traceback (most recent call last):
  File "C:\Users\kimjs\PycharmProjects\OakD\depthai-experiments\gen2-record-replay\record.py", line 12, in <module>
    from depthai_sdk import Record, EncodingQuality
ImportError: cannot import name 'EncodingQuality' from 'depthai_sdk' (C:\Users\kimjs\PycharmProjects\OakD\venv\Lib\site-packages\depthai_sdk\__init__.py)

I tried to manually go through sdk files and find "EncodingQuality" function, but I could not. Am I missing something here?

Maybe it has to do something with the fact that I had a problem installing something from requirements.txt file?

Building wheels for collected packages: depthai
  Building wheel for depthai (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for depthai (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [72 lines of output]

Maybe this error is not an issue because I already had depthai 2.21 installed...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions