Troubleshooting All Tiers

Common issues and their solutions.

Installation Issues

"command not found: bpsai-pair"

The CLI isn't in your PATH.

bash
# Check if installed
pip show bpsai-pair

# If installed, find the location
python -m site --user-base
# Add the bin directory to your PATH

# Or run directly
python -m bpsai_pair.cli --help

"Python version not supported"

PairCoder requires Python 3.10 or higher.

bash
# Check your Python version
python --version

# If too old, install a newer version
# macOS:
brew install python@3.12

# Ubuntu:
sudo apt install python3.12

# Then reinstall
pip3.12 install bpsai-pair

"Permission denied" during installation

bash
# DON'T use sudo pip install
# Instead, use --user flag or pipx

# Option 1: User install
pip install --user bpsai-pair

# Option 2: pipx (recommended)
pip install pipx
pipx install bpsai-pair

License Issues

"License not found"

bash
# Check license location
ls -la ~/.paircoder/license.json

# Install or reinstall license
bpsai-pair license install ~/Downloads/license.json

# Verify license
bpsai-pair license status

"License expired" or "License invalid"

bash
# Verify your license
bpsai-pair license verify

# If invalid, re-download from your email
# Then reinstall
bpsai-pair license install ~/Downloads/new-license.json

Configuration Issues

"Not in a PairCoder project"

bash
# Initialize the project
bpsai-pair init

# Or run wizard for guided setup
bpsai-pair wizard

"Config file corrupted"

bash
# Validate config
bpsai-pair config validate

# Regenerate default config
bpsai-pair config reset

# Or manually fix .paircoder/config.yaml
# Check for YAML syntax errors

Trello Integration Issues

"Trello authentication failed"

bash
# Check environment variables are set
echo $TRELLO_API_KEY
echo $TRELLO_TOKEN

# If empty, set them:
export TRELLO_API_KEY="your-api-key"
export TRELLO_TOKEN="your-token"

# Test connection
bpsai-pair trello boards

"Board not found"

bash
# List available boards
bpsai-pair trello boards

# Set board in config
bpsai-pair config set trello.board_id "YOUR_BOARD_ID"

# Or set via environment
export TRELLO_BOARD_ID="YOUR_BOARD_ID"

WSL-Specific Issues

Path issues between Windows and WSL

bash
# PairCoder auto-detects WSL and provides hints
# If paths aren't resolving:

# Check WSL detection
bpsai-pair system info

# Convert paths manually if needed
wslpath -u "C:\Users\name\project"
# Output: /mnt/c/Users/name/project

Editor not opening in WSL

bash
# For VS Code, use the WSL extension
code .  # Should open in WSL mode

# Set editor explicitly
export PAIRCODER_EDITOR="code"

# Or for Windows apps from WSL
export PAIRCODER_EDITOR="/mnt/c/Users/name/AppData/Local/Programs/cursor/Cursor.exe"

Terminal encoding issues

bash
# Set UTF-8 encoding in WSL
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8

# Add to ~/.bashrc for persistence

Claude Code Issues

"ANTHROPIC_API_KEY not set"

bash
# Set your API key
export ANTHROPIC_API_KEY="sk-ant-..."

# Add to shell config for persistence
echo 'export ANTHROPIC_API_KEY="sk-ant-..."' >> ~/.bashrc
source ~/.bashrc

Claude not reading CLAUDE.md

bash
# Regenerate CLAUDE.md
bpsai-pair claude-md generate

# Check it exists in project root
ls -la CLAUDE.md

# Ensure you're running Claude Code from project root
cd /path/to/project
claude-code .

Performance Issues

Commands running slowly

bash
# Enable debug logging to see what's slow
export PAIRCODER_DEBUG=1
bpsai-pair status

# Check for large files in .paircoder/
du -sh .paircoder/*

# Clear cache if needed
bpsai-pair cache clear

Getting Help

Debug Information

bash
# Get system info for bug reports
bpsai-pair system info

# Output:
# PairCoder: 2.20.0
# Python: 3.12.0
# Platform: Linux (WSL2)
# License: Solo (valid)
# Config: /home/user/project/.paircoder/config.yaml

Contact Support

Still stuck? Open a support ticket directly from your terminal:

bash
bpsai-pair support

This authenticates you with your license key and opens the Support Portal where you can create tickets, track progress, and communicate with our team.

When Reporting Issues

Include the output of bpsai-pair system info and any error messages you're seeing.