• Forums
  • Help
  • Blog
  • Pricing & signup
  • Log in
PythonAnywhere logo

How to configure a Dash web app as a pythonanywhere wsgi application

Dash apps have a app.server that you need to pass to WSGI. Your wsgi.py will have something like this:

from myapp import app
application = app.server

We followed this Dash tutorial and created this website using the code from the first example. You can take a look at the git repo here.

Other than that, be sure to check out our guide to Debugging import errors for general tips on dealing with problems in your wsgi config.

Want to improve this page? Submit a pull request!

Copyright © 2011-2025 PythonAnywhere LLP — Terms — Privacy & Cookies
"Python" is a registered trademark of the Python Software Foundation.