Installation
Compilation of the C library
Note
Each release of EPANET-PLUS contains binaries build for all major platforms.
We offer platform-specific scripts for building the C library – note that those require the latest version of gcc:
Linux: compile_linux.sh
MacOS: compile_macos.sh
Installation of the Python Package
Note that EPANET-PLUS supports Python 3.10 - 3.14
Note
The Python package contains the the C library as a C extension and is already pre-build for all major platforms.
PyPI
pip install epanet-plus
Git
Download or clone the repository:
git clone https://github.com/WaterFutures/EPANET-PLUS.git
cd EPANET-PLUS
Install all requirements as listed in REQUIREMENTS.txt:
pip install -r REQUIREMENTS.txt
Build and install the package:
pip install .
Note
This step triggers the build of the C extension, which requires a C compiler to be installed on the system.