HydrOffice news

BAG library on Linux Mint

March 17, 2016, 2:27 p.m., author: gmasetti

This document describes a tested configuration to install the BAG library on Linux Mint.

For use with a VM image:


  • Download 64-bit Python 2.7 miniconda: http://conda.pydata.org/miniconda.html
  • Install it from terminal: bash Miniconda-latest-Linux-x86_64.sh
  • Install dependencies using conda (since with pip they may fail): conda install numpy matplotlib gdal lxml h5py spyder
  • Finally use pip for hydroffice.bag: pip install hydroffice.bag


  • Open Spyder using the terminal: spyder
  • Write in the temp.py:
from hydroffice import bag
print("BAG version: %s" % bag.__version__)
  • Run the script and you should get the library version without errors:


tags: mint; installation; bag; linux