Installing

There are different ways to install Verde:

Using the pip package manager:

python -m pip install verde

Using the conda package manager that comes with the Anaconda/Miniconda distribution:

conda install verde --channel conda-forge

Using pip to install the latest unreleased version from GitHub (not recommended in most situations):

python -m pip install --upgrade git+https://github.com/fatiando/verde

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.

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

The required dependencies should be installed automatically when you install Verde using conda or pip.

Required:

The following are optional dependencies that can make some parts of the code more efficient if they are installed:

  • numba: replaces numpy calculations of predictions and Jacobian matrices in splines with faster and more memory efficient multi-threaded versions.

  • pykdtree: replaces scipy.spatial.cKDTree for better performance in near neighbor calculations used in blocked operations, distance masking, etc.

Our examples use other packages as well which are not used within Verde itself. If you wish to run the examples in the documentation, you will also have to install: