start refactoring
This commit is contained in:
committed by
Nicola Demo
parent
66b49ea438
commit
777af3a264
34
docs/source/_installation.rst
Normal file
34
docs/source/_installation.rst
Normal file
@@ -0,0 +1,34 @@
|
||||
Installation
|
||||
============
|
||||
|
||||
**PINA** requires requires `numpy`, `matplotlib`, `torch`, `lightning`, `sphinx` (for the documentation) and `pytest` (for local test). The code is tested for Python 3, while compatibility of Python 2 is not guaranteed anymore. It can be installed using `pip` or directly from the source code.
|
||||
|
||||
Installing via PIP
|
||||
__________________
|
||||
|
||||
Mac and Linux users can install pre-built binary packages using pip.
|
||||
To install the package just type:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ pip install pina-mathlab
|
||||
|
||||
To uninstall the package:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ pip uninstall pina-mathlab
|
||||
|
||||
Installing from source
|
||||
______________________
|
||||
The official distribution is on GitHub, and you can clone the repository using
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ git clone https://github.com/mathLab/PINA
|
||||
|
||||
To install the package just type:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ pip install -e .
|
||||
Reference in New Issue
Block a user