Skip to content

Install

Ben Young edited this page Jan 13, 2022 · 8 revisions

Prerequisites

  1. Python 3.7 or greater - https://www.python.org/downloads/
  2. pip. Included with Python installation.
  3. setuptools version >= 39. Install via the command line
  4. git. https://git-scm.com/downloads

>pip install setuptools

Installation of python module and dependencies for use

We recommend installing a 'release' rather than the latest code in the master branch. Install a release directly from github using pip. From a command line interface, run:

pip install git+https://github.com/USEPA/[email protected]#egg=StEWI

where you can replace 'v1.0.0' with the tag of the version you wish to use under Releases. We generally recommend the latest release.

This will install the four python modules that are part of this package and their dependencies.

You can test the installation by opening up a Python console and entering

import stewi import chemicalmatcher import facilitymatcher import stewicombo

If no error code is returned, the libraries are installed correctly.