Installation
Follow comprehensive installation guides for PySDK, covering virtual environments, Docker images, and hardware verification to launch your AI projects.
Last updated
Was this helpful?
Follow comprehensive installation guides for PySDK, covering virtual environments, Docker images, and hardware verification to launch your AI projects.
Last updated
Was this helpful?
PySDK currently supports these operating systems, CPU architectures, and Python versions.
Below is a summary of what hardware we support, including the runtime, devices, and model binary formats.
pip
in a Virtual EnvironmentWe recommend installing PySDK in a virtual environment.
To install PySDK from PyPI.org, activate the Python virtual environment and run this command:
We also provide Docker images for the DeGirum AI server and PySDK AI client installations.
Please follow this GitHub link to DeGirum Docker repo for details on how to run these images and for corresponding source Dockerfiles.
We support multiple hardware options and runtime environments. PySDK comes with support for N2X and TFLite runtimes. Follow this link for more details.
After installing required runtimes and any needed device drivers, you can verify PySDK access to the runtimes and the devices by running this command in a terminal:
The output should contain all the devices available to PySDK and some information about them.
If you encounter errors such as:
Try upgrading the pip
package with the following command:
Additionally, on Windows, ensure you have installed the Visual C++ Redistributable for Visual Studio 2015 and above.
Hailo
HAILORT
HAILO8, HAILO8L
.hef
TFLITE
EDGETPU
.tflite
Intel
OPENVINO
CPU, GPU, NPU
.onnx, .bin & .xml
BrainChip
AKIDA
NSoC_v2, AKD1500
.bin
DeGirum
N2X
ORCA1
.n2x
Rockchip
RKNN
RK3588, RK3568, RK3566
.rknn
MemryX
MEMRYX
MX3
.dfp
AMD
ONNX
VITIS_NPU
.onnx
NVIDIA
TENSORRT
DLA, GPU
.onnx
Ubuntu Linux 20.04, 22.04, 24.04
x86-64
3.9 ... 3.12
Ubuntu Linux 20.04, 22.04, 24.04
ARM AArch64
3.9 ... 3.12
Raspberry Pi OS (64 bit)
ARM AArch64
3.9
Windows 10/11
x86-64
3.9 ... 3.12
macOS 12
ARM AArch64
3.9