In Ubuntu or Debian you need to install the following packages: apt-get install texlive apt-get install texlive-latex-extra apt-get install latex-xcolor apt-get install texlive-fonts-extra easy_install sphinx In other Linux distros you will also need to install LiveTeX and, optionally, the Sphinx tool (http://sphinx.pocoo.org/) In MacOSX you can use MacTex (https://www.tug.org/mactex/). In Windows you can use MiKTeX