Installation Guide¶
Requirements¶
- Python: >=3.12, <4.0
- Operating System: Linux, macOS, Windows
- Package Manager: pip or Poetry (recommended)
Installation Methods¶
Using pip (Recommended for Users)¶
# Install latest version
pip install rite
# Install specific version
pip install rite==1.0.0
# Upgrade to latest version
pip install --upgrade rite
Using Poetry (Recommended for Development)¶
# Add to project
poetry add rite
# Add specific version
poetry add [email protected]
# Add with development dependencies
poetry add rite --group dev
From Source¶
# Clone the repository
git clone https://github.com/scape-agency/rite.git
cd rite
# Install with Poetry
poetry install
# Or install with pip
pip install -e .
Verify Installation¶
Or from command line:
Virtual Environment¶
It's recommended to use a virtual environment:
Using venv¶
# Create virtual environment
python -m venv .venv
# Activate (Linux/macOS)
source .venv/bin/activate
# Activate (Windows)
.venv\\Scripts\\activate
# Install rite
pip install rite
Using Poetry¶
Poetry automatically creates and manages virtual environments:
Docker¶
Use the provided Dev Container for a complete development environment:
# Open in VS Code with Dev Containers extension
# Or build manually
cd .devcontainer
docker-compose build
docker-compose up
See .devcontainer/README.md for details.
Troubleshooting¶
Python Version Issues¶
Ensure you have Python 3.10 or higher:
If you have multiple Python versions:
Permission Errors¶
On Linux/macOS, you might need to use --user:
Or use a virtual environment (recommended).
Poetry Issues¶
If Poetry is not found:
# Install Poetry
curl -sSL https://install.python-poetry.org | python3 -
# Add to PATH
export PATH="$HOME/.local/bin:$PATH"