You’ll need Python 3.6 or greater.
We recommend using the
Anaconda Python distribution
to ensure you have all dependencies installed and the
conda package manager
Installing Anaconda does not require administrative rights to your computer and
doesn’t interfere with any other Python installations in your system.
The following are optional dependencies that can make some parts of the code faster if they are installed:
numba: replaces numpy calculations of predictions and Jacobian matrices in splines with faster and more memory efficient multi-threaded versions.
Installing with conda¶
You can install Verde using the conda package manager that comes with the Anaconda distribution:
conda install verde --channel conda-forge
Installing the latest development version¶
You can use
pip to install the latest source from Github:
pip install https://github.com/fatiando/verde/archive/master.zip
Alternatively, you can clone the git repository locally and install from there:
git clone https://github.com/fatiando/verde.git
pip install .
Testing your install¶
We ship a full test suite with the package. To run the tests, you’ll need to install some extra dependencies first:
After that, you can test your installation by running the following inside a Python interpreter: