I deleted the installed bench and then re-install using
git clone https://github.com/frappe/bench bench-repo
pip install --user -e bench-repo
bench init frappe-bench
sudo python install.py --develop --python python3
While installing i also got error related to testfm , resolve running below script.
$ sudo apt-get install gfortran libatlas-base-dev liblapack-dev python-dev build-essential
(Note: I was installing python3 ERPNEXT V12 ) Finally up and running now
I contacted the maintainer for frontmatter and he has made a release for 3.0.6. He should soon be making a PYPI release for the same as well, post that we can update that in frappe too.