You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@mmumshad getting the same error while running FLASK_APP=app.py flask run --host=0.0.0.0 command.
When tried running this command FLASK_APP=app.py FLASK_ENV=development DEBUG=True flask run got error as below
* Environment: development
* Debug mode: on
Usage: flask run [OPTIONS]
Try 'flask run --help' for help.
Error: While importing 'app', an ImportError was raised.
C:\Windows\System32\my-webapp>docker run -p 8080:8080 my-webapp
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
Usage: flask run [OPTIONS]
Try 'flask run --help' for help.
Error: Could not import 'app'.
The text was updated successfully, but these errors were encountered: