Frappe Framework Not Working on Ubuntu 14.04

I tried to run bench init TestApp

and the below traceback error resulted.

Traceback (most recent call last):
File “/usr/local/bin/bench”, line 9, in
load_entry_point(‘bench==2.1.0’, ‘console_scripts’, ‘bench’)()
File “/home/jeffrey/src/bench-repo/bench/cli.py”, line 40, in cli
bench_command()
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 716, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 696, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 534, in invoke
return callback(*args, **kwargs)
File “/home/jeffrey/src/bench-repo/bench/commands/make.py”, line 17, in init
no_auto_update=no_auto_update, frappe_path=frappe_path, frappe_branch=frappe_branch, verbose=verbose)
File “/home/jeffrey/src/bench-repo/bench/utils.py”, line 67, in init
FRAPPE_VERSION = get_current_frappe_version(bench=path)
File “/home/jeffrey/src/bench-repo/bench/utils.py”, line 430, in get_current_frappe_version
return fv(bench=bench)
File “/home/jeffrey/src/bench-repo/bench/app.py”, line 111, in get_current_frappe_version
return get_major_version(get_current_version(‘frappe’, bench=bench))
File “/home/jeffrey/src/bench-repo/bench/app.py”, line 126, in get_current_version
return get_version_from_string(f.read())
File “/home/jeffrey/src/bench-repo/bench/app.py”, line 195, in get_version_from_string
return match.group(2)
AttributeError: ‘NoneType’ object has no attribute ‘group’

Please help me I am out of options here and the solutions i found online are not working.