Installation¶
Installing from PyPI¶
Default installation¶
Install the latest version with python3 (>= 3.10) and pip as follows:
python3 -m pip install earthkit-geo
This will not install the optional dependencies.
Installing all the optional packages¶
You can install earthkit-geo with all the optional packages in one go by using:
python3 -m pip install earthkit-geo[all]
Please note in zsh you need to use quotes around the square brackets:
python3 -m pip install "earthkit-geo[all]"
Installing individual optional packages¶
Alternatively, you can install the following components (on top of the default installation) individually:
cartography: enables the usage of the
earthkit.geo.cartography.country_polygons()method
Usage:
python3 -m pip install "earthkit-geo[cartography]"