Installation
The current stable release is v0.4.43 (opens in a new tab). Python installations require Python 3.11 or newer; Python 3.12 is recommended.
Create a dedicated AnyLabeling environment. ONNX Runtime CPU and hardware-specific distributions replace one another and should not be mixed in the same environment.
1. Download a binary
Use the Download page for direct links, or choose the correct artifact from the latest GitHub release (opens in a new tab):
| Platform | CPU | Accelerated |
|---|---|---|
| Linux x64 | AnyLabeling-Linux-CPU-x64 | AnyLabeling-Linux-GPU-x64 (NVIDIA CUDA) |
| Windows x64 | AnyLabeling-Windows-CPU-x64.exe | AnyLabeling-Windows-GPU-x64.exe (NVIDIA CUDA) |
| Apple Silicon macOS | AnyLabeling-macOS-CPU.zip | AnyLabeling-macOS-GPU.zip (CoreML) |
The six v0.4.43 artifacts publish SHA-256 digests and were launch-smoke-tested on native Linux, Windows, and macOS runners before upload. Do not use the v0.4.40 macOS or Linux artifacts; they were superseded because of packaging defects.
On Linux, make the downloaded file executable:
chmod +x AnyLabeling-Linux-CPU-x64
./AnyLabeling-Linux-CPU-x64On macOS, extract the ZIP without flattening or replacing its symlinks, then launch the included binary:
ditto -x -k AnyLabeling-macOS-CPU.zip .
./AnyLabeling-macOS-CPU/anylabelingUse the GPU archive instead to enable CoreML. If macOS blocks the first launch, open System Settings → Privacy & Security and allow the application.
2. Install from PyPI
Create and activate an isolated environment:
conda create -n anylabeling python=3.12
conda activate anylabelingCPU
python -m pip install anylabeling
anylabelingNVIDIA CUDA on Linux or Windows
Use the GPU distribution in a fresh environment:
python -m pip install anylabeling-gpu
anylabelingThe GPU distribution includes pip-managed CUDA 12 and cuDNN runtime libraries. A compatible NVIDIA driver is required, but a system CUDA toolkit is not.
Apple Silicon CoreML
Install Qt through Conda and the macOS extra through pip:
conda install -c conda-forge pyqt=6
python -m pip install "anylabeling[macos]"
export ANYLABELING_DEVICE=COREML
anylabelingSee Hardware Acceleration for DirectML, OpenVINO, TensorRT, and NPU setup.
3. Install from source
git clone https://github.com/vietanhdev/anylabeling.git
cd anylabeling
python -m pip install -e .
anylabelingFor NVIDIA CUDA development, replace the final install command with:
python -m pip install -e ".[gpu]"