Setup Guide
January 16, 2025 ยท View on GitHub
This guide will walk you through setting up StationBench on your local machine.
Prerequisites
- Python 3.11 or higher
Installation
The simplest way to install StationBench is via pip:
pip install stationbench
Verifying Installation
You can verify the installation by running:
# Using CLI
stationbench-calculate --help
stationbench-compare --help
# Or in Python
python -c "import stationbench; print(stationbench.__version__)"
Troubleshooting
Common Issues
-
Installation fails
- Ensure you have Python 3.11+ installed
- Try upgrading pip:
pip install --upgrade pip
-
Development installation issues
- Update Poetry:
poetry self update - Clear Poetry's cache:
poetry cache clear . --all - Remove the
.venvdirectory and reinstall:rm -rf .venv poetry install
- Update Poetry:
Getting Help
If you encounter any issues:
- Check the project issues
- Create a new issue with:
- Your system information
- The command you ran
- The full error message
- Steps to reproduce the problem
Next Steps
Once you have completed the setup:
- Read through the tutorial
- Start benchmarking your weather forecasts!