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 [[[email protected]](mailto:[email protected])]: 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 [[[email protected]](mailto:[email protected])]: 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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to