System Requirements
The Python SDK and C SDK support these environments:- Linux: Ubuntu 20.04 LTS (glibc 2.31) or later, on x86_64 or arm64
- macOS: 11.0 or later, on a Mac with Apple silicon (arm64)
Installation
Choose the SDK for your project language. You can install the Python SDK or the C SDK independently, and you don’t need to install both.Install the Python SDK
The Python SDK provides prebuilt wheels for CPython 3.8–3.14. On a Mac with Apple silicon, use an arm64 Python interpreter. Before installing the SDK, check the Python process architecture:arm64. The wheel doesn’t support Intel Macs or x86_64 Python running under Rosetta.
Install wuji-sdk from PyPI. pip selects the wheel for your Python version, operating system, and architecture, so supported platforms use the same installation command:
Install the C SDK
Compiling C programs requires gcc or clang. On macOS, install Xcode Command Line Tools first. The CMake example below also requires CMake. Select the package for your target platform:
Download the tarball for your target platform from GitHub Releases. Linux packages contain
lib/libwuji_sdk_c.so, and macOS packages contain lib/libwuji_sdk_c.dylib. Both include include/wuji_sdk.h and the license file.
Replace <TAG> with the Release tag you want to download, and choose your platform:
- Linux x86_64
- macOS arm64
${SDK} is the extracted tarball root. Check that it contains the header and the shared library for your platform:
examples/ directory from the wuji-sdk repository, and run these commands from the repository root:
libwuji_sdk_c.dylib when you first load it, confirm that the file comes from an official SDK release. In System Settings › Privacy & Security › Security, click Open Anyway, then run the program again.
Device Discovery and Connection
After installing the SDK, configure the network, USB permissions, and connection for your device type. See Device Discovery and Connection. macOS needs neither Linux udev rules nor adialout group.
After installing Wuji CLI, check device discovery with: