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:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to