Skip to content

Installation Guide

Prerequisites

  • Python 3.11, 3.12, or 3.13Download from python.org
  • Python 3.14 is not yet supported (pyarrow lacks wheels)
  • Check your version: python --version

  • uv (recommended package manager) — Install uv

    # Windows (PowerShell)
    powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
    
    # macOS/Linux
    curl -LsSf https://astral.sh/uv/install.sh | sh
    

Installation

git clone https://github.com/saiko-psych/rrational.git
cd rrational
uv sync

If you have Python 3.14 installed, install a compatible version first:

uv python install 3.11
uv sync

Alternative: pip

pip install -e .

Launching

uv run streamlit run src/rrational/gui/app.py

The app opens at http://localhost:8501.

Lightweight Inspector (no install required)

If you only need a fast signal browser for a single .rrational file, the Inspector is available as a standalone executable for Windows, macOS, and Linux — no Python install required. See the Inspector Standalone App page for downloads and usage.

Test Mode (Demo Data)

uv run streamlit run src/rrational/gui/app.py -- --test-mode

Updating

cd rrational
git pull origin main
uv sync

Troubleshooting

Failed to build pyarrow

You likely have Python 3.14. Run uv python install 3.11 first, then uv sync again.

failed to canonicalize script path

Your virtual environment may be corrupted. Delete and re-sync:

# Windows
rmdir /s /q .venv
uv sync

# macOS/Linux
rm -rf .venv
uv sync

Slow startup

  • Close other browser tabs
  • Reduce plot resolution in Settings
  • Use "Analyze Folder" to load data; previews load on demand per participant

Port already in use

If port 8501 is busy, Streamlit will try 8502, 8503, etc. Check the terminal output for the actual URL.