question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ModuleNotFoundError 'cachelib' during Docker setup for Superset

See original GitHub issue

I’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:closed
  • Created 3 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
janko-zpengcommented, Sep 23, 2020

@janko-zpeng can you try to pull down the latest master and then run docker-compose up --build

Perfect,Thanks,I add params “–build” for docker-compose up, it is successful.

0reactions
nytaicommented, Sep 23, 2020

@janko-zpeng can you try to pull down the latest master and then run docker-compose up --build

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found