Install the ZED Python API
This section explains how to use the ZED SDK in Python 3 on Windows and Linux platforms.
Getting Started
The Python API is a wrapper around the ZED SDK which is written in C++ optimized code. We make the ZED SDK accessible from external Python code using Cython.
To start using the ZED SDK in Python, you will need to install the following dependencies on your system:
- ZED SDK (see the installation guides)
- A CUDA-capable NVIDIA® GPU with Compute Capability 7.5 or higher, as required by the ZED SDK itself. The Python API is a wrapper around the SDK and cannot be installed or used without CUDA and a compatible GPU.
- Python 3.8 to 3.14 (x64)
- Cython 3.0+
- NumPy 2.x (NumPy 1.x on Python 3.8)
- OpenCV Python (optional)
- PyOpenGL (optional)
Make sure to install Python (x64 version) and the pip package manager. Then install the dependencies via pip in a terminal.
Linux:
Windows:
Installing the Python API
The Python API (pyzed) is not a standalone package: the ZED SDK must be installed on your machine first. The get_python_api.py install script is part of the SDK and lives in its installation folder (/usr/local/zed/ on Linux, C:\Program Files (x86)\ZED SDK\ on Windows).
The script automatically detects your platform, CUDA and Python version, and downloads the corresponding pre-compiled Python API package.
On Linux, the SDK installer offers to run this script for you at the end of the installation. Press Y when prompted:
If you answered n at that step, or want to install the API in another Python environment, run the script manually at any time as described below.
Running the install script
Windows
The Python install script is located in C:\Program Files (x86)\ZED SDK\.
Open an Administrator PowerShell and run the script:
Admin access is required to run the script in the Program Files folder. If you see a Permission denied error, right-click PowerShell and choose Run as administrator, or copy get_python_api.py to another folder (e.g. your Desktop) and run it from there.
Linux
The Python install script is located in /usr/local/zed/.
Run the script:
Example output (from an older ZED SDK 4.2 installation; the versions shown depend on your ZED SDK, Python and CUDA versions):
That’s it! The Python API is now installed. To get started, check out our Tutorials and Samples.
If you are using a virtual environment, make sure to activate it before running the script. Refer to this page for more information.
Troubleshooting
”Numpy binary incompatibility”
This error usually means the installed NumPy version does not match the one pyzed was built against (an ABI/version mismatch). Reinstalling or upgrading NumPy (and reinstalling pyzed with the install script) resolves it. Run these commands:

