SyntaxError: Invalid syntax During easy install

Hi,
while trying to easy install erpnext on ubuntu 16.04, I was faced a challenge.
After clean install of Ubunt 16.04, I used the following commands:

  1. wget https://raw.githubusercontent.com/frappe/bench/master/playbooks/install.py
  2. Sudo python install.py --production

After this, I get this :

File “install.py”, line 35
print(“Install script run at {0} on {1}\n\n”.format(execution_time, execution_day), file=log_stream)
^
SyntaxError: invalid syntax

I would appreciate if some one helps

Thansk

Please ensure you use python3 instead of python while executing the easy install script, like so:

sudo python3 install.py --production

If you’re performing a clean install, it might make more sense to use Ubuntu 18.04 instead.
Refer the guide here.