kiryaka commented on issue #6543: flask.cli.NoAppException on fresh 
installation of superset via docker
URL: 
https://github.com/apache/incubator-superset/issues/6543#issuecomment-448096714
 
 
   @lhyundeadsoul, Thank you that works for me also!
   
   @MarcusSorealheis, didn't solve it for my case
   ```
   contrib/docker$ sudo docker-compose build --no-cache superset
   ...
   Collecting python-dotenv==0.10.1 (from -r requirements-dev.txt (line 2))
     Downloading 
https://files.pythonhosted.org/packages/8c/14/501508b016e7b1ad0eb91bba581e66ad9bfc7c66fcacbb580eaf9bc38458/python_dotenv-0.10.1-py2.py3-none-any.whl
   ...
   superset_1  | Traceback (most recent call last):
   superset_1  |   File "/usr/local/lib/python3.6/site-packages/flask/cli.py", 
line 330, in __call__
   superset_1  |     rv = self._load_unlocked()
   superset_1  |   File "/usr/local/lib/python3.6/site-packages/flask/cli.py", 
line 317, in _load_unlocked
   superset_1  |     self._app = rv = self.loader()
   superset_1  |   File "/usr/local/lib/python3.6/site-packages/flask/cli.py", 
line 384, in load_app
   superset_1  |     'Could not locate a Flask application. You did not provide 
'
   superset_1  | flask.cli.NoAppException: 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.
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to