chtefi
12/7/2016 - 11:56 PM

git-of-theseus install on Windows with ubuntu bash

git-of-theseus install on Windows with ubuntu bash

Because there are so much crap to install that you discover one by one thanks to SO, here it is:

sudo apt-get build-dep python-matplotlib
sudo apt-get install python-pip libpng-dev libfreetype6-dev pkg-config python-dev libblas-dev liblapack-dev libatlas-base-dev gfortran scipy python-tk 
sudo pip install smmap git

Then you got this error, and you must edit this file:

_tkinter.TclError: no display name and no $DISPLAY environment variable $ nano /usr/local/lib/python2.7/dist-packages/matplotlib/mpl-data/matplotlibrc

backend: Agg

Done!

$ python analyze.py .
$ python stack_plot.py cohorts.json
$ python survival_plot.py survival.json