Using AWS Lambda to send push notifications to Pusher app in Python. When I install Pusher and all its dependencies to a directory and zip up to Lambda I run a simple test and g
This might sound silly, but don't name your local variable pusher. The binding of variables in the lambda function happens late, during its execution, and in a scope that you might not be expecting.
I'm not suggesting this is the full answer, but do an import pusher
and change to myPusher = pusher.Pusher...
to see if the error message changes. If it doesn't, then the problem lies elsewhere.