Install

The pyRat wheel can easily be installed into an Python environment with a version and architecture matching that of the wheel.

  1. Create a Python virtual environment with matching Python version and activate it:


For Windows:

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

For Linux:

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

This can also be done with UV as uv venv venv.

Virtual environments allow to isolate libraries used by the pyRat Python module.

Installing pyRat in global Python might conflict with libraries from the Rat-GUI software.

  • Install the wheel into the virtual environment:

python -m pip install ./pyrat-....whl
  • Check installation via CLI:

python -m pyrat --version

This should print the version of pyRat tied to the wheel use for installation into the virtual environment.