ZED SDK 5.4: AttributeError: module 'pyzed.sl' has no attribute 'VoxelMeasureParameters'

Hi StereoLabs Team,

I recently updated to ZED SDK 5.4.0 on Windows and am running into an issue where sl is missing VoxelMeasureParameters. This is cloned from master on the official ZED SDK github.
I do not have this issue on ZED SDK 5.4 on an AGX Orin 64Gb Jetpack 6.2.2

zed-sdk\depth sensing\depth sensing\python> python3 .\depth_sensing.py
Running Depth Sensing sample … Press ‘Esc’ to quit
Press ‘s’ to save the point cloud
Press ‘v’ to toggle voxel display
[Sample] Using default resolution
[2026-06-22 14:29:19 UTC][ZED][INFO] Logging level INFO
[2026-06-22 14:29:20 UTC][ZED][INFO] Using USB input… Switched to default resolution HD720
[2026-06-22 14:29:21 UTC][ZED][INFO] [Init] Camera successfully opened.
[2026-06-22 14:29:21 UTC][ZED][INFO] [Init] Camera FW version: 1523
[2026-06-22 14:29:21 UTC][ZED][INFO] [Init] Video mode: HD720@30
[2026-06-22 14:29:21 UTC][ZED][INFO] [Init] Serial Number: S/N 5759446
[2026-06-22 14:29:21 UTC][ZED][INFO] [Init] Depth mode selected: NEURAL. Ensure this mode matches your application’s performance and accuracy requirements. See Depth Modes | StereoLabs for help.
[2026-06-22 14:29:21 UTC][ZED][WARNING] [Init] Self-calibration was skipped due to low texture or occlusion in the scene. Tracking accuracy may be affected.
[2026-06-22 14:29:21 UTC][ZED][INFO] Please wait while the AI model is being optimized for your graphics card
This operation will be run only once and may take a few minutes
Optimizing neural_depth_5 | 100.0% [===================>] ETA: 0min 0s
Current .ply file saving succeed
Traceback (most recent call last):
zed-sdk\depth sensing\depth sensing\python\depth_sensing.py”, line 136, in
main(opt)
zed-sdk\depth sensing\depth sensing\python\depth_sensing.py”, line 106, in main
voxel_params = sl.VoxelMeasureParameters()
^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module ‘pyzed.sl’ has no attribute ‘VoxelMeasureParameters’

Hi @Ozone
Have you installed the latest Python API when requested by the ZED SDK installer?

What’s the output of this Python code?

import pyzed.sl as sl
print(sl.Camera.get_sdk_version())

Hi @Myzhar ,

Turns out when I installed the new SDK version the python download got blocked by my company’s firewall on the windows machine.

It’s working now under SDK 5.4 on windows.

Thanks!

1 Like