Skip to content

Installation

Installation for regular use

Fewspy can be installed with pip in any environment with the following Python-packages properly installed:

  • requests
  • aiohttp
  • pandas
  • geopandas

In that environment you can add fewspy via pip by:

pip install fewspy

If you don't have such an environment, we recommend to build your environment using Anaconda. You can build an environment ánd install fewspy by conda in one go using this environment.yml from the command-line:

conda env create -f environment.yml

An eloborated installation instruction can be found on: installation tutorial

Installation for development

For development we recommend the following approach:

  1. Make sure you have git Git installed.
  2. Make sure you have a copy of Anaconda or Miniconda installed.
  3. Clone the fewspy, e.g. via GIT:

    git clone https://github.com/d2hydro/fewspy.git

  4. Make sure you have the fewspy development environment installed, using the environment_dev.yml. By e.g. Anaconda:

    conda env create -f environment_dev.yml

  5. Activate the environment in the Command Prompt (or Anaconda Prompt) by:

    conda activate fewspy

  6. Now cd to the clone on your disk and install fewspy in dev-mode (so with -e):

    cd path\to\fewspy pip install -e .

    010 7036559