Installing understat

The recommended way to install understat is via pip.

pip install understat

Note

Depending on your system, you may need to use pip3 to install packages for Python 3.

Updating understat with pip

To update understat you can run:

pip install --upgrade understat

Example output:

Installing collected packages: understat
  Found existing installation: understat 0.1.0
    Uninstalling understat-0.1.0:
      Successfully uninstalled understat-0.1.0
Successfully installed understat-0.1.1

Installing older versions

Older versions of understat can be installed by specifying the version number as part of the installation command:

pip install understat==0.1.1

Installing from GitHub

The source code for understat is available on GitHub repository https://github.com/amosbastian/understat. To install the most recent version of understat from here you can use the following command:

$ git clone git://github.com/amosbastian/understat.git

You can also install a .tar file or .zip file

Once it has been downloaded you can easily install it using pip:

$ cd understat
$ pip install .