You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2019/08/21 19:00:15 UTC

[GitHub] [incubator-superset] Kir89 commented on issue #7942: ModuleNotFoundError: No module named 'superset.cli'; 'superset' is not a package flask fab create-admin

Kir89 commented on issue #7942: ModuleNotFoundError: No module named 'superset.cli'; 'superset' is not a package  flask fab create-admin
URL: https://github.com/apache/incubator-superset/issues/7942#issuecomment-523604246
 
 
   I think there might be some kind of a problem in the installation procedure. I am working on Ubuntu 18.04.2 LTS and I faced the same issue. The point is Flask wants a *.py file but if you rename it then you will get another error after you type in the admin user details: "ModuleNotFoundError: No module named 'superset.cli'; 'superset' is not a package". Having both versions of the file (with and without ".py") does not help.
   I worked around this by keeping the file named "superset.py" until the CLI prompted for the username and the password. Then, before filling the user details, I renamed back the file to "superset". Hope this could be of some help

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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