How to install#
Installing with mamba (recommended)#
mamba install -c conda-forge geoutils
Tip
Solving dependencies can take a long time with conda, mamba significantly speeds up the process. Install it with:
conda install mamba -n base -c conda-forge
Once installed, the same commands can be run by simply replacing conda by mamba. More details available in the mamba documentation.
Installing with pip#
pip install geoutils
Warning
Updating packages with pip (and sometimes mamba) can break your installation. If this happens, re-create an environment from scratch pinning directly all your other dependencies during initial solve (e.g., mamba create -n geoutils-env -c conda-forge geoutils myotherpackage==1.0.0).
Installing for contributors#
git clone https://github.com/GlacioHack/geoutils.git
mamba env create -f geoutils/dev-environment.yml
After installing, you can check that everything is working by running the tests: pytest -rA.
Dependencies#
GeoUtils’ required dependencies are:
which themselves depend notably on NumPy, pandas, pyproj and pyogrio.
Optional dependencies are: