attribute error in Flask when I run (AttributeError: ‘NoneType’ object has no attribute ‘run’ ) Flask flyf35 — 8 April 2023 · Comments off Solution def create_app(): # your other code return app # add this