Installation
To install the example, ensure that you have Python version 3.11 or higher.
From PyPI
$ pip install pyml-regression-example1
From GitHub
Download the git source:
$ git clone --depth=1 https://github.com/hakonhagland/pyml-regression-example1.git
$ cd pyml-regression-example1
$ python -m venv .venv # optionally create venv
$ source .venv/bin/activate
$ pip install .
$ source shell_completion/bash.sh # On Linux/macOS: optionally enable shell completion
Note
On Windows (powershell) type .\.venv\Scripts\Activate.ps1 to activate the venv
Note
For development installation from GitHub see: Development
Verify that the installation was successful:
$ life-expectancy --help