Installation#

PINA requires requires torch, lightning, torch_geometric and matplotlib.

Installing via PIP#

Mac and Linux users can install pre-built binary packages using pip. To install the package just type:

$ pip install pina-mathlab

To uninstall the package:

$ pip uninstall pina-mathlab

Installing from source#

The official distribution is on GitHub, and you can clone the repository using

$ git clone https://github.com/mathLab/PINA

To install the package just type:

$ pip install -e .

Install with extra packages#

To install extra dependencies required to run tests or tutorials directories, please use the following command:

$ pip install "pina-mathlab[extras]"

Available extras include:

  • dev for development purpuses, use this if you want to Contribute.

  • test for running test locally.

  • doc for building documentation locally.

  • tutorial for running tutorials