 <p><code>route</code> is part of the <code>bottle</code> module. </p> <p>The following should fix the problem</p> <pre><code>import bottle ... @bottle.route('/hello') def hello(): return "Hello World!" ... </code></pre>