Unable to start home assistant

Installed home assistant on my raspberry pi running Jessie. Getting the following errorTraceback (most recent call last):
File “/usr/local/bin/hass”, line 7, in
from homeassistant.main import main
File “/usr/local/lib/python2.7/dist-packages/homeassistant/main.py”, line
21
def validate_python() -> None:
^
SyntaxError: invalid syntax

Please help to resolve this

Your trying to run HA under a python 2.7 environment.
I would recommend you setup HA in a virtualenv.
It’s fairly straight forward and documentation is written for Debian.

It worked. Thank you!

More specifically, HA requires at least python 3.4 as noted in Getting Started