ModuleNotFoundError 'cachelib' during Docker setup for Superset
See original GitHub issueI’m trying to setup the Superset environment to for development purposes. According to the documentation below, it can be easily setup using docker
https://superset.incubator.apache.org/installation.html
git clone https://github.com/apache/incubator-superset/
cd incubator-superset
# you can run this command everytime you need to start superset now:
docker-compose up
I get the following error when I docker-compose up
and not able to run the app. I know its dependency related but not sure where to include the library. I’m new to python so any help is appreciated.
superset_app | ModuleNotFoundError: No module named 'cachelib'
superset_app | 127.0.0.1 - - [15/Jun/2020 19:08:14] "GET /health HTTP/1.1" 500 -
superset_app | Traceback (most recent call last):
superset_app | File "/app/superset/__init__.py", line 21, in <module>
superset_app | from superset.app import create_app
superset_app | File "/app/superset/app.py", line 30, in <module>
superset_app | from superset.extensions import (
superset_app | File "/app/superset/extensions.py", line 26, in <module>
superset_app | from cachelib.base import BaseCache
superset_app | ModuleNotFoundError: No module named 'cachelib'
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
ModuleNotFoundError 'cachelib' during Docker setup ... - GitHub
I'm trying to setup the Superset environment to for development purposes. According to the documentation below, it can be easily setup using ...
Read more >Installation & Configuration - apache-superset - Read the Docs
Step 2 - Launch Superset via `docker-compose up`. Next, cd into the folder you created in Step 1: $ cd incubator-superset. Once you're...
Read more >ModuleNotFoundError: No module named 'superset.cli.main'
2 using docker compose on mac os. but it fails with below error. looks like superset_init container is failing while applying db migration....
Read more >error: could not build wheels for pyarrow, which is required to ...
I am installing streamlit with pypy3 as interpreter in pycharm and stuck at this ERROR: Failed building wheel for pyarrow I tried every...
Read more >[GitHub] [incubator-superset] ravijabe commented on issue ...
pip install -r requirements/docker.txt && pip install -r ... (3.2.1) Requirement already satisfied: cachelib<0.2,>=0.1.1 in ...
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
Perfect,Thanks,I add params “–build” for docker-compose up, it is successful.
@janko-zpeng can you try to pull down the latest master and then run
docker-compose up --build