File "<string>", line 162 print('Error in generated code:', file=sys.stderr) ^ SyntaxError: invalid syntax An error occurred when trying to install decorator 5.0.9. Look above this message for any errors that were output by easy_install. While: Installing scripts. Getting distribution for 'decorator>=3.3.2'. Error: Couldn't install: decorator 5.0.9