To install dependencies in a Debian based Linux distribution, just run the following command as superuser: sudo apt-get install texlive texlive-lang-spanish python-opencv \ python-jinja2 python-qrcode ...