EDIpy2 Install

Anaconda

We provide Linux and MacOS packages for the Anaconda distribution. Packages are available for Python version 3.10 and later. The EDIpack2.0 package contains the edipy2 python module as well as the EDIpack2.0 and SciFortran libraries. Once a command-line tool such as conda or mamba is installed, an environment using one of the available python version can be created, and then the EDIpack2.0 package can be installed:

conda create -n edipack
conda activate edipack
conda install -c conda-forge -c edipack edipack2

the edipy2 python module can then be directly imported.

Install with pip

See the package page on pypi .

Install from source

The python module edipy2 requires the

libraries to be installed beforehand, please see related documentation to install such Fortran libraries. Once both are set up, the python module can be installed from the root repository folder via

pip install . --break-system-packages

The latter option may not be required in all cases, but it is in recent versions of Debian and OSX. Since no edipy2 package is provided by any distro, this will not create problems. If the user is using a virtual environment, the option is not necessary.