Import Eve, but upon running run.py, says there is no module named eve
<p>I have recently begun looking at Eve. </p>

<p>I have read the Eve <a href="http://python-eve.org/install.html" rel="nofollow">install guide</a> and imported it successfully. </p>

<p>Then, I tried the <a href="http://python-eve.org/quickstart.html" rel="nofollow">quick start guide</a>, and made a few changes to the settings.py. When I try running run.py, it gives me this error:</p>

<pre><code>Traceback (most recent call last):   File "run.py", line 1, in
&lt;module&gt;     from eve import Eve ImportError: No module named eve
</code></pre>

<p>This is my code for run.py:</p>

<pre><code>from eve import Eve
app = Eve()

if __name__ == '__main__':
    app.run()
</code></pre>

<p>And this is my code for settings.py</p>

<pre><code>MONGO_HOST = 'localhost'
MONGO_PORT = 27017

MONGO_DBNAME = 'clownsighting'

RESOURCE_METHODS = ['GET', 'POST', 'DELETE']
ITEM_METHODS = ['GET', 'PATCH', 'PUT', 'DELETE']

schema = {
    'scarinesslevel' : {'type' : 'string'},
    'date' : {'type' : 'date'},
    'address' : { 'type' : 'string' },
    'city' : {'type' : 'string'},
    'state' : {'type' : 'string'},
    'country' : {'type' : 'string'},
    'continent' : {'type' : 'string'}
}

sightings = {
    'additional_lookup' : {
        'url' : 'regex("[\w]+")',
        'field' : 'date'
        },
    'schema' : schema
}

DOMAIN = {'sightings': sightings,}
</code></pre>

<p>The two files are in the same directory, if that helps.</p>

<p>I figured it out. I was not running the command </p>

<pre><code>python run.py
</code></pre>

<p>inside the virtual environment. I have now, and it works.</p>

python mongodb eve