Skip to content

Cannot import zed python sdk using non-root user #56

@CL107

Description

@CL107

Preliminary Checks

  • This issue is not a duplicate. Before opening a new issue, please search existing issues.
  • This issue is not a question, feature request, or anything other than a bug report directly related to this project.

Description

The zed sdk install process both inside the zed docker image and install manually in a basic dockerfile utilises root to achieve this. Consequently PIP permissions are broken, and non-root users are unable to import the python sdk. Additionally, this also breaks all of pips permissions and prevents the install of any pip packages without root.

Steps to Reproduce

  1. Create container with non-root using zed sdk image
  2. Open python
  3. import pyzed.sl
    ...

Expected Result

no error message displayed.

Actual Result

Module not found error displayed.

ZED Camera model

ZED2i

Environment

OS: KDE neon 6.0 x86_64
CPU: 11th Gen Intel i5-1135G7 (8) @ 4.200GHz
GPU: 4070

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions