Holoscan SDK
The Holoscan SDK Python Wheel is part of NVIDIA Holoscan, the AI sensor processing platform that combines hardware systems for low-latency sensor and network connectivity, optimized libraries for data processing and AI, and core microservices to run streaming, imaging, and other applications, from embedded to edge to cloud. It can be used to build streaming AI pipelines for a variety of domains, including Medical Devices, High Performance Computing at the Edge, Industrial Inspection and more.
Getting Started
Visit the Holoscan User Guide to get started with the Holoscan SDK.
Prerequisites
- Prerequisites for each supported platform are documented in the user guide. Note that the python wheels have a lot of optional dependencies which you may install manually based on your needs (see compatibility matrix at the bottom).
- The Holoscan SDK python wheels are only formally tested on Ubuntu 22.04. They are, however, expected to work on any Linux distribution with glibc 2.35 or above (see output of
ldd --version
) and CUDA Runtime 12.2 or above. - Python: 3.9 to 3.12
Troubleshooting
Version 0.6.0 gets installed instead of the latest version
The latest version of the wheels were built and tested on Ubuntu 22.04 with glibc 2.35. You'll need to switch to a Linux distribution with a more recent version of glibc to use the Holoscan SDK python wheels 1.0 or above (check your version with ldd --version
), or use the Holoscan SDK NGC container instead.
ERROR: Could not find a version that satisfies the requirement holoscan==<version>
ERROR: No matching distribution found for holoscan==<version>
Same as above, OR incompatible python version.
libc.so.6: version 'GLIBC_2.32 not found
libstdc++.so.6: version `GLIBCXX_3.4.29` not found
Same as above.
ImportError: libcudart.so.12: cannot open shared object file: No such file or directory
CUDA runtime is missing from your system (required even for CPU only pipelines).
Error: libnvinfer.so.8: cannot open shared object file: No such file or directory
...
Error: libnvonnxparser.so.8: cannot open shared object file: No such file or directory
TensorRT is missing from your system (note that it is only needed by the holoscan.operators.InferenceOp
operator.).
from pip._internal.models.scheme import SCHEME_KEYS
ModuleNotFoundError: No module named 'pip'
...
ImportError: libholoscan_core.so.2: cannot open shared object file: No such file or directory
Your version of pip
is either too old (< 20.2) or you are trying to install holoscan
with system pip
which cannot be found to resolve the Holoscan library symlinks.
To resolve, either:
- install
holoscan
in a virtual environment, or - uninstall
holoscan
, upgrade pip on your system with python3 -m pip install --upgrade pip
, and reinstall holoscan