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 Installation section)
- Python 3.6+ (x64)
- Cython 0.26+
- Numpy 1.13+
- 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
A Python script is available in the ZED SDK installation folder and can automatically detect your platform, CUDA and Python version and download the corresponding pre-compiled Python API package.
On Linux systems, this script can be run automatically when running the SDK installer. Press Y if you want to do so:
Running the install script
Windows
The Python install script is located in C:\Program Files (x86)\ZED SDK\.
Make sure you have admin access to run it in the Program Files folder, otherwise, you will have a Permission denied error.
You can still copy the file into another location to run it without permissions.
Linux
The Python install script is located in /usr/local/zed/.
Run the script:
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 Numpy isn’t installed. To install it, simply run these commands :

