.. _install:
Installing
==========
There are different ways to install Ensaio:
.. tabbed:: pip
Using the `pip `__ package manager:
.. code:: bash
python -m pip install ensaio
.. tabbed:: conda
Using the `conda `__ package manager that comes with the
Anaconda/Miniconda distribution:
.. code:: bash
conda install ensaio --channel conda-forge
.. tabbed:: Development version
Using ``pip`` to install the latest **unreleased** version from GitHub
(**not recommended** in most situations):
.. code:: bash
python -m pip install --upgrade git+https://github.com/fatiando/ensaio
.. note::
The commands above should be executed in a terminal. On Windows, use the
``cmd.exe`` or the "Anaconda Prompt" app if you're using Anaconda.
Which Python?
-------------
You'll need **Python >= 3.6** (see :ref:`python-versions` for information on
Python version compatibility).
We recommend using the
`Anaconda `__
or `Miniconda `__
Python distributions to ensure you have all dependencies installed and the
``conda`` package manager available.
Installing Anaconda does not require administrative rights to your computer and
doesn't interfere with any other Python installations in your system.
.. _dependencies:
Dependencies
------------
The required dependencies should be installed automatically when you install
Ensaio using ``conda`` or ``pip``.
Required:
* `Pooch `__
Our examples use other packages to load and plot the data.
If you wish to **run the examples in the documentation**, you will also have to
install:
* `numpy `__
* `pandas `__
* `xarray `__
* `netcdf4 `__
* `PyGMT `__