Installation

Before Installation

Warning

geodefi Python SDK (as of v2.0.0) only supports the Python versions bigger than 3.8.

Note

We recommend that you read protocol’s documentation to become familiar with the terms.

Note

Following examples that start with a $ is meant to run on your terminal.


1. Check your python version

$ python3 --version
# Python 3.8.0

2. Create a virtual environment

Using a virtual environment is advised

On Linux and MacOS:

$ python3 -m venv {environment_name} # creates virtual environment
$ source {environment_name}/bin/activate # activates the virtual environment

On Windows:

$ python3 -m venv {environment_name} # creates virtual environment
$ {environment_name}\Scripts\activate # activates the virtual environment

3. Install the package

$ python3 -m pip install geodefi
Successfully installed.
Next step: configuration of the enviroment variables.