Installation¶
HOLMES can be installed via pip (recommended for users) or from source (for development).
Requirements¶
- Python 3.11 or newer
- A modern web browser
- Operating systems: Linux, macOS, or Windows
Installing via pip¶
The simplest way to install HOLMES is using pip:
This installs both the holmes-hydro Python package and the holmes-rs Rust extension that provides high-performance model computations.
Verify Installation¶
After installation, verify that HOLMES is correctly installed:
This should display the installed version number.
Installing from Source¶
For development or to access the latest features, install from the GitHub repository.
Step 1: Install uv¶
HOLMES uses uv for package management:
Step 2: Clone the Repository¶
Step 3: Install Dependencies¶
This creates a virtual environment and installs all dependencies, including building the Rust extension.
Step 4: Run HOLMES¶
With the virtual environment activated:
Or activate the environment first:
Troubleshooting¶
Common Issues¶
"Command not found: holmes"¶
If you installed via pip but the holmes command isn't found:
- Ensure your Python scripts directory is in your PATH
- Try running with the full path:
python -m holmes
Rust Compilation Errors¶
If installing from source and encountering Rust errors:
- Ensure you have Rust installed:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh - Update Rust:
rustup update - Retry the installation
Port Already in Use¶
If port 8000 is already occupied:
See Configuration for more options.
Getting Help¶
If you encounter issues:
- Check the GitHub Issues for known problems
- Open a new issue with your error message and system information
Next Steps¶
- Follow the Quickstart to run your first calibration
- Configure the server using Configuration options