Installation#

Before installation#

Before installing, please be sure you use Python 3.10 or upper version, you can test with python3 --version.

Optional : you can also create a virtual environment to work (python -m venv pygeodes_env && source pygeodes_env/bin/activate)

Then you’re free to either install from PyPi or from source.

From PyPi#

You can install pygeodes from PyPi by following those steps :

  1. Install pygeodes

pip install pygeodes

Build from source#

To build from source, follow those steps :

  1. Clone the repository

git clone https://github.com/CNES/pyGeodes
  1. Install from source

pip install pygeodes/pygeodes

Tip

If you come across an error installing pygeodes with Python 3.11, please refer to ‘numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject’.