Installation
Requires Python 3.11 or higher.
Prerequisites
- Python 3.11, 3.12, or 3.13
- OpenAI API key (get one here)
- Microphone (for recording)
Using uv
Install shh:
# Clone the repository
git clone https://github.com/mpruvot/shh.git
cd shh
# Install in editable mode
uv pip install -e .
Using pip
# Clone the repository
git clone https://github.com/mpruvot/shh.git
cd shh
# Create a virtual environment
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
# Install in editable mode
pip install -e .
Development Installation
For development, install with dev dependencies:
This includes: - pytest and testing tools - mypy for type checking - ruff for linting and formatting - pre-commit hooks
Verify Installation
Next Steps
Troubleshooting
Command not found
If shh isn't found, ensure your virtual environment is activated:
Audio issues
If recording doesn't work, check your microphone permissions:
- macOS: System Preferences → Security & Privacy → Microphone
- Linux: Ensure ALSA or PulseAudio is configured
- Windows: Settings → Privacy → Microphone
Import errors
If you see import errors, reinstall dependencies: