Installation fails in Easy Install

I was trying to do installation on fresh ubuntu machine, but installation fails.
I was trying the following commands,
$ wget https://raw.githubusercontent.com/frappe/bench/develop/install.py
$ python3 install.py --production
error log