Keep this handy! Print it or save it to your phone.
python3 --versiongit --version# 1. Create workspace
cd ~
mkdir piper-morgan-workspace
cd piper-morgan-workspace
# 2. Download Piper Morgan
git clone https://github.com/mediajunkie/piper-morgan-product.git
cd piper-morgan-product
# 3. Create virtual environment
python3 -m venv venv
# 4. Activate virtual environment
source venv/bin/activate # Mac/Linux
# OR
venv\Scripts\activate # Windows
# 5. Install dependencies (CRITICAL STEP - DON'T SKIP!)
pip install --upgrade pip
pip install -r requirements.txt
# 6. Verify installation
pip list | grep structlog # Should show: structlog 23.2.0
# 7. Create config
cp config/PIPER.example.md config/PIPER.user.md
# 8. Edit config (add your API key)
open config/PIPER.user.md # Mac
# OR
notepad config/PIPER.user.md # Windows
# Find: anthropic_api_key: "your-key-here"
# Replace with your actual key
# 9. Verify everything
python -c "from services.container.service_container import ServiceContainer; print('β
Ready!')"
# 10. Start Piper Morgan!
python main.py
β±οΈ Total time: 20-30 minutes (mostly waiting for downloads)
# 1. Navigate to folder
cd ~/piper-morgan-workspace/piper-morgan-product
# 2. Activate virtual environment
source venv/bin/activate # Mac/Linux
# OR
venv\Scripts\activate # Windows
# 3. Start
python main.py
Key: You must see (venv) in your prompt before running python main.py
| Problem | Solution |
|---|---|
ModuleNotFoundError: structlog |
Run pip install -r requirements.txt |
No (venv) in prompt |
Run the activation command (see above) |
command not found: python3 |
Install Python 3.12 from python.org |
command not found: git |
Install Git from git-scm.com |
Invalid API key |
Update config/PIPER.user.md with correct key |
Address already in use |
Close other Piper Morgan window |
More help? See docs/installation/troubleshooting.md
~/piper-morgan-workspace/piper-morgan-product/
βββ venv/ # Virtual environment (created during install)
βββ config/
β βββ PIPER.user.md # Your configuration (created from example)
βββ requirements.txt # Dependencies list
βββ main.py # Start Piper Morgan here
βββ docs/installation/
βββ step-by-step-installation.md # Full instructions
βββ troubleshooting.md # Common problems & fixes
βββ quick-reference.md # This file!
After installation, you should be able to:
python main.py and see startup messages| Command | What It Does |
|---|---|
python3 --version |
Check Python version |
git --version |
Check Git version |
python3 -m venv venv |
Create virtual environment |
source venv/bin/activate |
Activate (Mac/Linux) |
venv\Scripts\activate |
Activate (Windows) |
pip install -r requirements.txt |
Install all dependencies |
pip list \| grep structlog |
Verify structlog installed |
python main.py |
Start Piper Morgan |
Ctrl+C |
Stop Piper Morgan |
(venv) before pip/python commandspip install -r requirements.txt takes 3-5 mintroubleshooting.md for your specific errorLast updated: October 27, 2025 For: Piper Morgan v0.8.0-alpha