You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "vietvudanh (via GitHub)" <gi...@apache.org> on 2024/12/04 06:54:51 UTC

Re: [I] ModuleNotFoundError: No module named 'superset.cli'; 'superset' is not a package flask fab create-admin [superset]

vietvudanh commented on issue #7942:
URL: https://github.com/apache/superset/issues/7942#issuecomment-2516351104

   It's hilarious that this error still exists to this day. I have followed guide in [document](https://superset.apache.org/docs/installation/docker-compose/) for docker compose.
   
   Made sure to run `down -v` a couple of times, use TAG image, still got this error.
   
   What works for me is to ssh into `superset` container, with one of these approach:
   1. run command with `PYTHONPATH=/app`.
   2. pip install -e .
   
   So in the Dockerfile, I see the path set to `PYTHONPATH="/app/pythonpath"`, but that path is empty and is reserved for user mount config, so it looks like we meant to do this.
   
   So we miss a step to install the package?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org