EDIpack2py Installation

Anaconda

We provide Linux and MacOS packages for the Anaconda distribution. Packages are available for Python version 3.10 and later. The EDIpack package contains the edipack2py python module as well as the EDIpack 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 EDIpack package can be installed:

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

the edipack2py python module can then be directly imported.

Install with pip

See the package page on pypi .

Install from source

The python module edipack2py 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 EDIpack2py is currently not packaged by any distro, this will not create problems. If the user is using a virtual environment, the option is not necessary.