pytelebot
pytelebot copied to clipboard
AWS Error Message "errorMessage": "Unable to import module 'bot'"
Hi, i tried to follow your instructions. In my environment everything works fine, but when I'm going to run it with AWS lambda and run the test-function i get the following errors: "errorMessage": "Unable to import module 'bot'" START RequestId: c825e4f7-03d6-11e6-a946-39cea203c18e Version: $LATEST Unable to import module 'bot': No module named telepot
END RequestId: c825e4f7-03d6-11e6-a946-39cea203c18e
Do you have an idea, what i've done wrong and how to fix this?
I had some issue, but it was not code problem. I figured out what was the cause by http://docs.aws.amazon.com/lambda/latest/dg/lambda-python-how-to-create-deployment-package.html My mistake was the bot.py was not on the root of .zip