SDKPython SDK

Installation & requirements

Environment, Core pairing, installation, and verification for Glove Python SDK.

Current version · 2.0.0

Installation & requirements

The QnBot Python SDK connects to QnBot devices, manages gloves, reads glove poses and SDK-processed data, and controls glove fingertip vibration.

Requirements

  • Python 3.10 or later
  • QnBot VetraSense Glove, VetraGlove Nano, Helix or the Tactile ENF Positioning Glove (VetraGlove HMP-MX)
  • A qnbot-sdk-glove wheel matching the current operating system and CPU architecture
  • macOS 14+, glibc Linux, or Windows

The SDK provides Glove wheels for the following platforms:

Operating systemArchitecturewheel platform tag
macOS 14+arm64macosx_14_0_arm64
glibc 2.34+ Linuxx86_64manylinux_2_34_x86_64
glibc 2.34+ Linuxaarch64manylinux_2_34_aarch64
Windows 10 x64x86_64win_amd64

Linux x86_64 and ARM64 Gloves both require glibc 2.34 or later; musl is not supported.

To change the SDK's application data directory, or to make the CLI and the SDK share one, see Application data directory.

Installation

macOS

PyPI currently provides a macOS ARM64 wheel:

python -m pip install "qnbot-sdk-glove==2.0.0"
python -m pip check

Linux

PyPI currently provides Linux x86_64 and ARM64 wheels. Both architectures require glibc 2.34 or later; musl Linux is not supported:

python -m pip install "qnbot-sdk-glove==2.0.0"
python -m pip check

Windows

Windows x86_64 uses PowerShell:

py -m pip install "qnbot-sdk-glove==2.0.0"
py -m pip check

Offline installation

Download the platform archive for this release. It contains both the Core and Glove wheels, which you need to install in the same command:

Download Glove release assets

Extract the archive, then install using the actual Core and Glove wheel filenames:

python -m pip install "./qnbot_sdk_core-<version-and-platform-tags>.whl" "./qnbot_sdk_glove-<version-and-platform-tags>.whl"

Replace <version-and-platform-tags> with the corresponding part of each extracted wheel filename. Use Core and Glove from the same delivery archive.

The platform tags of Core and Glove may differ; use the actual names of the delivered files, and do not infer one from the file name of the other. In Windows PowerShell, replace python at the beginning of the command with py.

Verify the installation

On macOS and Linux, run:

python -m pip check
python -c "from qnbot_sdk import Sdk; from qnbot_sdk.glove import GloveConfig; print('QnBot Python SDK ready')"

On Windows PowerShell, run:

py -m pip check
py -c "from qnbot_sdk import Sdk; from qnbot_sdk.glove import GloveConfig; print('QnBot Python SDK ready')"

Expected output:

No broken requirements found.
QnBot Python SDK ready