The solution can be found here: https://stackoverflow.com/questions/7880827/werkzeug-attributeerror-module-object-has-no-attribute-interactiveinterprete