# Setup

Quick start for installing `qairt-dev` and preparing your environment. For full environment management and CLI details see [QAIRT Version Manager (QAIRT VM)](https://docs.qualcomm.com/doc/80-87189-2/topic/qairt_vm.html).

## Prerequisites

- Python: `>=3.10,<3.11`
- Supported installation platforms: Windows-x86 (10+), Windows-arm64 (10+), Linux-x86 (Ubuntu 22.04)
- Recommend an isolated virtual environment per project

Note

On Windows-arm64 use an AMD64 Python/pip distribution.

Warning

Do not source a Qualcomm SDK `envsetup.sh` (or `dev_setup.sh`) inside the same Python
virtual environment where `qairt-dev` is installed. Doing so overrides environment
variables and library paths that `qairt-dev` relies on, which can cause silent failures
or import errors. Use a separate shell or virtual environment for SDK environment setup.

## Install qairt-dev package

Base install:

pip install qairt-dev
    Copy to clipboard

Optionally, framework dependencies, required for conversion and certain core workflows, can be installed along with `qairt-dev` as follows:

pip install qairt-dev[onnx]         # Add ONNX tooling
    pip install qairt-dev[torch,onnx]   # Torch + ONNX
    Copy to clipboard

Warning

- `qairt-dev[torch]` alone is not yet supported; include ONNX.
- `qairt-dev[onnx, torch]` are not supported on arm-linux (aarch64). Install `qairt-dev` without extras for runtime-only usage.

### Gen AI requirements

Gen AI Builder workflows (building and deploying LLMs) additionally require Torch and ONNX extras:

pip install qairt-dev[torch,onnx]
    Copy to clipboard

## Run environment inspection (recommended)

Use the QAIRT VM CLI before first import to review checks and fixes:

qairt-vm -i -v      # Inspect (no changes)
    qairt-vm -f -v      # Apply fixes interactively
    qairt-vm -f -y -v   # Auto-approve all fixes (CI / automation)
    Copy to clipboard

See [QAIRT VM custom QAIRT SDK setup](https://docs.qualcomm.com/doc/80-87189-2/topic/qairt_vm.html#fetch-sdk) for fetching and setting custom QAIRT SDK.

## Import QAIRT and Verify

After inspection / fixes, import `qairt` and verify `qairt-dev` and QAIRT SDK versions:

python -c "import qairt; print(qairt.__dev_version__, qairt.__sdk_version__)"
    Copy to clipboard

Note

Importing `qairt` will auto-run an inspection + fixes silently. This works for quick experiments but hides details; prefer running `qairt-vm` explicitly first.

## Next steps

- [QAIRT Version Manager (QAIRT VM)](https://docs.qualcomm.com/doc/80-87189-2/topic/qairt_vm.html) – Full CLI and SDK management.
- [Tutorials](https://docs.qualcomm.com/doc/80-87189-2/topic/tutorials.html) – Guided examples.
- [API Documentation](https://docs.qualcomm.com/doc/80-87189-2/topic/api.html) – API reference.

## Support

Contact [qairt-dev-support](mailto:qairt-dev-support&#37;&#52;&#48;qti&#46;qualcomm&#46;com) including verbose inspection output for environment issues.

Last Published: May 26, 2026

[Previous Topic
Next steps](https://docs.qualcomm.com/bundle/publicresource/80-87189-2/topics/overview.md) [Next Topic
QAIRT Version Manager (QAIRT VM)](https://docs.qualcomm.com/bundle/publicresource/80-87189-2/topics/qairt_vm.md)