Python 2.7 & emulambda
<p>Just installed emulambda today, using the command:</p>

<pre><code>pip install git+https://github.com/fugue/emulambda.git
</code></pre>

<p>and created a simple python file test.py:</p>

<pre><code>from __future__ import print_function

def lambda_handler(event, context):
    print("Hello world")
</code></pre>

<p>when I try and run this with the command</p>

<pre><code>emulambda test.lambda_handler test-event.json
</code></pre>

<p>I get the errors</p>

<pre><code>Oops! There was a problem finding your function.

Traceback (most recent call last):
  File "/usr/local/bin/emulambda", line 5, in &lt;module&gt;
    emulambda.main()
  File "/usr/local/lib/python2.7/dist-packages/emulambda/__init__.py", line 37, in main
    lfunc = import_lambda(args.lambdapath)
  File "/usr/local/lib/python2.7/dist-packages/emulambda/__init__.py", line 121, in import_lambda
    raise e
AttributeError: 'module' object has no attribute 'lambda_handler'
</code></pre>

<p>I'm running python 2.7.12 - can anyone suggest what the problem is?</p>