Install

A pyRat wheel installs into a Python environment whose version and platform match the wheel’s name: a pyrat-2.0.1-cp314-cp314-win_amd64.whl wheel needs CPython 3.14 on 64-bit Windows. The machine needs an NVIDIA driver recent enough for the CUDA version the wheel was built with, not the CUDA Toolkit.

Create a virtual environment

A virtual environment isolates the libraries pyRat ships: installed in the global Python, they might conflict with those of the Rat-GUI software.

For Windows:

python -m venv venv
.\venv\Scripts\activate

For Linux and macOS:

python -m venv venv
source ./venv/bin/activate

With UV, uv venv venv --python 3.14 creates one for a given Python version, downloading it if needed.

Install the wheel

python -m pip install ./pyrat-2.0.1-cp314-cp314-win_amd64.whl

or, with UV, uv pip install and the same file.

Check the installation

pyrat --version

This prints the pyRat logo (in a terminal) and the versions of pyRat, of the RAT libraries and of CUDA the wheel was built with, e.g. pyRat 2.0.1 (RAT 3.004.5, CUDA 13).