我已经使用pip install superset
命令安装了superset。然后我尝试超级设置数据库升级,但它说superset: command not found
有人能帮我吗?
最佳答案
从Superset documentation开始,您应该执行以下操作:
# Install superset
pip install superset
# Create an admin user (you will be prompted to set username, first and last name before setting a password)
fabmanager create-admin --app superset
# Initialize the database
superset db upgrade
# Load some data to play with
superset load_examples
# Create default roles and permissions
superset init
# Start the web server on port 8088, use -p to bind to another port
superset runserver
注意:仅在虚拟环境中运行此命令,否则
fabmanager
将无法正常工作。