GitHub user user1500177 created a discussion: Unable to Create Admin User in 
Apache Superset

I’m running Apache Superset in a Python 3.9 virtual environment on Linux. I’m 
trying to create the default admin user but keep running into import errors. 
Here’s what I’ve tried:

cd /apps/venv/lib/python3.9/site-packages/superset/
export FLASK_APP=superset
export 
SUPERSET_CONFIG_PATH=/apps/venv/lib/python3.9/site-packages/superset/superset_config.py
export 
CONFIG_FILE_PATH=/apps/venv/lib/python3.9/site-packages/superset/configs.json
source /apps/venv/bin/activate
superset fab create-admin

The error I get is:

/apps/venv411/lib64/python3.9/site-packages/superset/config.py:42: UserWarning: 
pkg_resources is deprecated
Loaded your LOCAL configuration at 
[/apps/venv411/lib/python3.9/site-packages/superset/superset_config.py]
Usage: superset [OPTIONS] COMMAND [ARGS]...
Try 'superset --help' for help.
Error: Could not import 'superset.superset'.

GitHub link: https://github.com/apache/superset/discussions/34807

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


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

Reply via email to