Installation
Install the package directly from PyPI:
pip install qrl-qai
FFmpeg Requirement
To save the episodes as mp4 videos, it is essential to have ffmpeg installed on your system. Without ffmpeg, environments can run but episodes can only be saved as gif, not mp4.
To check if ffmpeg is installed (Windows / Linux / macOS):
ffmpeg -version
To install ffmpeg:
Using Conda
You can install FFmpeg inside a conda environment:
conda install -c conda-forge ffmpeg
Windows
Option 1: Using Chocolatey (recommended)
choco install ffmpeg
Option 2: Manual installation
Click Windows, then choose gyan.dev or BtbN builds.
Download the latest full build ZIP.
Extract it (for example, to
C:\ffmpeg).Add
C:\ffmpeg\binto your systemPATH.
Linux
Debian / Ubuntu:
sudo apt update
sudo apt install ffmpeg -y
Fedora:
sudo dnf install ffmpeg -y
Arch Linux:
sudo pacman -S ffmpeg
macOS
Using Homebrew:
brew install ffmpeg