Traceback (most recent call last):


 "cl.py", line 13, in <module>

im.save('000.png', 'PNG')
AttributeError: 'NoneType' object has no attribute 'save'

Traceback (most recent call last):


 "/home/romel/.local/bin/lambda", line 237, in <module>

cli()


 "/home/romel/.local/lib/python3.6/site-packages/click/core.py", line722, in __call__

return self.main(*args, **kwargs)


 "/home/romel/.local/lib/python3.6/site-packages/click/core.py", line697, in main

rv = self.invoke(ctx)


 "/home/romel/.local/lib/python3.6/site-packages/click/core.py", line1066, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))


 "/home/romel/.local/lib/python3.6/site-packages/click/core.py", line895, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "/home/romel/.local/lib/python3.6/site-packages/click/core.py", line535, in invoke

return callback(*args, **kwargs)


 "/home/romel/.local/bin/lambda", line 135, in deploy

preserve_vpc=preserve_vpc,


 "/home/romel/.local/lib/python3.6/site-packages/aws_lambda/aws_lambda.py", line 111, in deploy

local_package=local_package,


 "/home/romel/.local/lib/python3.6/site-packages/aws_lambda/aws_lambda.py", line 301, in build

local_package=local_package,


 "/home/romel/.local/lib/python3.6/site-packages/aws_lambda/aws_lambda.py", line 438, in pip_install_to_target

packages.extend(pkgStr.decode('utf-8').splitlines())
AttributeError: 'int' object has no attribute 'decode'
