Installation
Get started with pyAgrum using one of the following installation methods. Choose the one that best suits your environment.
Install pyAgrum using Python’s package manager.
pip install pyAgrumpoetry add pyagrumAnaconda
Section titled “Anaconda”Install pyAgrum via conda-forge for Anaconda environments.
conda install -c conda-forge pyagrumDocker
Section titled “Docker”Run pyAgrum in a Docker container for a pre-configured environment.
Jupyter Notebook with pyAgrum
Section titled “Jupyter Notebook with pyAgrum”Launch a Jupyter notebook with pyAgrum pre-installed:
docker pull agrumery/pyagrum-notebook:latestdocker run -it --rm -p 8888:8888 -v <workfolder>:/home/jovyan/work --user root -e NB_UID=1000 agrumery/pyagrum-notebookThen, open your browser and navigate to:
http://127.0.0.1:8888pyAgrum CLI
Section titled “pyAgrum CLI”For a lightweight pyAgrum environment:
docker pull agrumery/pyagrum:latestdocker run -it agrumery/pyagrumFrom Source
Section titled “From Source”Build and install pyAgrum from source for Windows, Linux, or macOS.
# 1. Clone the pyAgrum repositorygit clone https://gitlab.com/agrumery/aGrUM.git
# 2. Install dependenciespip install numpy scipy matplotlib pydotplus
# 3. Build pyAgrumcd aGrUMpython act release test -t quick pyAgrum
# 4. Install pyAgrumpython act install pyAgrum -d <installation_folder>