SyntaxError: Invalid syntax During easy install

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
  2. Sudo python --production

After this, I get this :

File “”, 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


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

sudo python3 --production

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