stereolabs / zed-docker

Docker images for the ZED SDK

Home Page:https://hub.docker.com/r/stereolabs/zed/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot import zed python sdk using non-root user

CL107 opened this issue · comments

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