Installation

This page outlines how to install one of the officially distributed AgriFoodPy releases and its dependencies, or install and test the latest development version.

From PyPI

AgriFoodPy is distributed through the Python Package Index (PyPI), and can be installed using pip:

$ pip install agrifoodpy

From GitHub

The latest development version of AgriFoodPy can be found on the main branch of the FixOurFood/AgriFoodPy GitHub repository. This and any other branch or tag can be installed directly from GitHub using a recent version of pip:

$ pip install agrifoodpy@git+https://github.com/FixOurFood/AgriFoodPy.git@main

Dependencies

AgriFoodPy has been tested to be compatible with Python versions 3.9 or later on Linux, macOS and Windows operating systems. It has the following core dependencies:

Installing using pip will automatically install or update these core dependencies if necessary.