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

**URL:** <https://community.stereolabs.com/t/importerror-libnvcuvid-so-1-cannot-open-shared-object-file-no-such-file-or-directory/7370>\
**Category:** Python\
**Tags:** python, sdk\
**Created:** [November 5, 2024, 10:07am UTC](https://community.stereolabs.com/t/importerror-libnvcuvid-so-1-cannot-open-shared-object-file-no-such-file-or-directory/7370 "2024-11-05T10:07:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![karthikreddy157](https://community.stereolabs.com/user_avatar/community.stereolabs.com/karthikreddy157/32/3555_2.png) [@karthikreddy157](https://community.stereolabs.com/u/karthikreddy157)\
**Post date:** [November 5, 2024, 10:07am UTC](https://community.stereolabs.com/t/importerror-libnvcuvid-so-1-cannot-open-shared-object-file-no-such-file-or-directory/7370/1 "2024-11-05T10:07:04Z")

</div>

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](https://www.stereolabs.com/)/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](https://community.stereolabs.com/t/urgent-help-required-import-pyzed-sl-as-sl-importerror-dll-load-failed-while-importing-sl/855)

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

---

<div class="post-metadata">

**Author:** ![mattrouss](https://community.stereolabs.com/user_avatar/community.stereolabs.com/mattrouss/32/2452_2.png) [@mattrouss](https://community.stereolabs.com/u/mattrouss)\
**Post date:** [November 5, 2024, 10:29am UTC](https://community.stereolabs.com/t/importerror-libnvcuvid-so-1-cannot-open-shared-object-file-no-such-file-or-directory/7370/2 "2024-11-05T10:29:24Z")

</div>

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](https://docs.nvidia.com/cuda/wsl-user-guide/index.html)

To install the nvidia container runtime in WSL.

---

<div class="post-metadata">

**Author:** ![karthikreddy157](https://community.stereolabs.com/user_avatar/community.stereolabs.com/karthikreddy157/32/3555_2.png) [@karthikreddy157](https://community.stereolabs.com/u/karthikreddy157)\
**Post date:** [November 19, 2024, 7:01am UTC](https://community.stereolabs.com/t/importerror-libnvcuvid-so-1-cannot-open-shared-object-file-no-such-file-or-directory/7370/3 "2024-11-19T07:01:57Z")

</div>

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.
