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