INSTALLATION You will likely need to install the dependencies for matplotlib. sudo apt-get install libpng-dev libfreetype6-dev