Installation#
Prerequisites#
Python 3.9 to 3.13
Windows: Conda (Miniconda or Anaconda) for reliable pygrib installation
A working environment with required scientific and weather dependencies
Install from PyPI (recommended)#
pip install biwipy
pygrib is a required dependency for biwipy.
Windows Installation (Required: conda-forge)#
On Windows, pygrib must be installed via conda-forge before using pip,
because it requires the ECCODES C library which conda provides automatically.
Step-by-step installation:
# Create environment
conda create -n biwipy-env python=3.13
conda activate biwipy-env
# Install pygrib from conda-forge FIRST
conda install -c conda-forge pygrib
# Then install biwipy
pip install biwipy
For development mode (with dev and doc extras):
pip install -e ".[dev]"
# To also build the documentation locally:
pip install -e ".[dev,docs]"
If you encounter ``boot.def`` errors, define the environment variable:
conda env config vars set ECCODES_DEFINITION_PATH=$env:CONDA_PREFIX\Library\share\eccodes\definitions
conda deactivate
conda activate biwipy-env
Install from source#
From repository root:
pip install .
Install documentation dependencies:
pip install ".[docs]"
Build documentation#
From the docs directory:
make html
On Windows (PowerShell):
./build_docs.ps1 # Build
./build_docs.ps1 -Clean # Clean and rebuild
./build_docs.ps1 -Open # Build and open in browser
./build_docs.ps1 -Clean -Open # Clean, rebuild, and open
The generated HTML files are available in docs/build/html.