Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
FLASK_APP create-admin not working #8886
A clear and concise description of what the bug is.
what you expected to happen.
what actually happens.
If applicable, add screenshots to help explain your problem.
How to reproduce the bug
(please complete the following information):
Make sure these boxes are checked before submitting your issue - thank you!
Add any other context about the problem here.
Please follow install instruction in detail: https://superset.apache.org/installation.html#installation-configuration
If the problem persists, post all your commands and output, thank you
Below are the steps i have followed post installation
Step 1 : sudo superset db upgrade
/usr/local/lib/python3.7/site-packages/SQLAlchemy-1.3.8-py3.7-linux-x86_64.egg/sqlalchemy/sql/functions.py:67: SAWarning: The GenericFunction 'array_agg' is already registered and is going to be overriden.
Step 2 : sudo flask fab create-admin
Username [admin]: admin
Error: Could not locate a Flask application. You did not provide the "FLASK_APP" environment variable, and a "wsgi.py" or "app.py" module was not found in the current directory.