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 2020/05/29 06:39:43 UTC

[GitHub] [incubator-superset] youguanxinqing commented on issue #9907: 安装错误

youguanxinqing commented on issue #9907:
URL: https://github.com/apache/incubator-superset/issues/9907#issuecomment-635790488


   > (superset) D:\python\envs\superset\Lib\site-packages\superset\bin>set FLASK_APP=main
   > 
   > (superset) D:\python\envs\superset\Lib\site-packages\superset\bin>flask fab create-admin
   > Username [admin]: admin
   > User first name [admin]: admin
   > User last name [user]: admin
   > Email [[admin@fab.org](mailto:admin@fab.org)]: admin
   > Password:
   > Repeat for confirmation:
   > Usage: flask fab create-admin [OPTIONS]
   > 
   > Error: Could not import "superset.bin.main".
   > 
   > (superset) D:\python\envs\superset\Lib\site-packages\superset\bin>set FLASK_APP=superset
   > 
   > (superset) D:\python\envs\superset\Lib\site-packages\superset\bin>flask fab create-admin
   > Username [admin]: admin
   > User first name [admin]: admin
   > User last name [user]: admin
   > Email [[admin@fab.org](mailto:admin@fab.org)]: admin
   > Password:
   > Repeat for confirmation:
   > Usage: flask fab create-admin [OPTIONS]
   > 
   > Error: Could not import "superset.bin.superset".
   
   也许你可以试试:
   ```bash
   $ superset fab create-admin
   ```


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



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