ImportError: libnvcuvid.so.1: cannot open shared object file: No such file or directory

Hi I recently bought zed 2i camera but unable to use it

while trying to run hello_zed.py file in docker
File “/app/python/hello_zed.py”, line 21, in
2024-11-04 09:57:43 import pyzed.sl as sl
2024-11-04 09:57:43 ImportError: libnvcuvid.so.1: cannot open shared object file: No such file or directory i have been trying both mac and windows
my docker file

FROM --platform=linux/arm64 stereolabs/zed:3.7-gl-devel-cuda11.4-ubuntu20.04

Set the working directory

WORKDIR /app

Install Python and dependencies

RUN apt-get update &&
apt-get install -y python3 python3-pip &&
pip3 install --upgrade pip

Install ZED SDK Python API

RUN pip3 install pyzed

RUN ln -s /usr/local/cuda/lib64/stubs/libcuda.so /usr/local/cuda/lib64/libcuda.so.1 || true

Copy the Python source files from the host to the container

COPY python/ /app/python/

Set the default command to run your Python script

CMD [“python3”, “/app/python/hello_zed.py”]

i have tried run locally also then also iam getting similar issue

Urgent help required! import pyzed.sl as sl ImportError: DLL load failed while importing sl

and one more thing i observed while zed diagonestic its Automatically getting shut down
please someone help me with these issue

Hi @karthikreddy157,

First of all, the ZED SDK is not available on Mac OS, as the ZED SDK requires an Nvidia GPU to work.

For Windows, it is possible to use the ZED SDK with WSL in docker, please take a look at the NVIDIA documentation: See the doc here CUDA on WSL

To install the nvidia container runtime in WSL.

Hi @mattrouss

sorry for late reply

Subject: Using ZED 2i Camera with AWS GPU (NVIDIA T4 Tensor Core)

Description:
I am a macOS user and also have access to a Windows machine that lacks a GPU. I use an AWS account with an NVIDIA T4 Tensor Core GPU and have the flexibility to upgrade the GPU as needed.

I am working with a ZED 2i camera and would like to know if it is feasible to use this camera with the AWS GPU instance. Specifically:

  1. Is there a way to connect the ZED 2i camera to an AWS instance via USB over the network?
  • Would tools like VirtualHere or USB Network Gate be suitable for this setup?
  1. Are there alternative methods for integrating the ZED 2i camera with AWS GPU for processing, if direct USB connectivity is not recommended?

Objective:
To leverage the AWS GPU resources for tasks involving the ZED 2i camera while ensuring smooth and efficient data transfer and processing.

I look forward to your guidance on the best approach for this setup.