As per the commenter, first make sure you've installed bottle with pip install bottle
.
Then, instead of:
from bottle import GET, POST, REQUEST, RUN, bottle
application = app = bottle()
Use:
from bottle import get, post, request, run, Bottle
application = app = Bottle()
Tested on the latest pip
-able version of bottle.