Sort:  

I ended up doing sudo apt-get install python3-jinja2 to fix cmake errors.

Thanks. I had to do it too.