flask.cli.NoAppException on fresh installation of superset via docker
See original GitHub issueI’m trying to install superset using docker and followed the instructions mentioned in installation.rst
After running docker-compose
up and opening http://localhost:8088
I’m getting following error.
Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/flask/cli.py", line 95, in find_best_app module=module.__name__ flask.cli.NoAppException: Failed to find Flask application or factory in module "app". Use "FLASK_APP=app:name to specify one.
Issue #6505 looks similar and installing python-dotenv resolved the issue for it. I checked the requirements-dev.txt file and it mentions python-dotenv and I assume same has been installed. I’m not very familiar with docker and not sure how to proceed.
Thanks
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (2 by maintainers)
Top Results From Across the Web
flask.cli.NoAppException on fresh installation of superset via ...
I'm trying to install superset using docker and followed the instructions mentioned in installation.rst After running docker-compose up and ...
Read more >Error: Could not locate a Flask application - Stack Overflow
I have the same issue, setting environment variable using $env:FLASK_APP="base.py". then flask run. This worked for me. This works for flask ...
Read more >Installing Locally Using Docker Compose - Apache Superset
The fastest way to try Superset locally is using Docker and Docker Compose on a Linux or Mac OSX computer. Superset does not...
Read more >[GitHub] [incubator-superset] sridharj-in commented on issue ...
[GitHub] [incubator-superset] sridharj-in commented on issue #11081: Installation Error - Docker-Compose Up on Ubuntu VM on Windows 10.
Read more >Installation & Configuration - apache-superset - Read the Docs
Once that command completes successfully, you should see a new incubator-superset folder in your current directory. Step 2 - Launch Superset via `docker-compose ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@sushan-upadhyay , @krdeepak Are you guys sure you rebuilt docker without a cache and not just pop it up from docker images?
sudo docker-compose build --no-cache superset
- should do the job, but to be 100% sure do also trydocker rm
on the container,docker rmi
on the image@lhyundeadsoul, Thank you that works for me also!
@MarcusSorealheis, didn’t solve it for my case