Python 3.6.0 |Anaconda 4.3.0 (64-bit)| (default, Dec 23 2016, 12:22:00)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import superset
/var/opt/softwares/anaconda3/lib/python3.6/site-packages/flask_sqlalchemy/__init__.py:30: ExtDeprecationWarning: Importing flask.ext.sqlalchemy is deprecated, use flask_sqlalchemy instead.
from flask.ext.sqlalchemy._compat import iteritems, itervalues, xrange, \
Traceback (most recent call last):
File "/var/opt/softwares/anaconda3/lib/python3.6/site-packages/werkzeug/utils.py", line 434, in import_string
return getattr(module, obj_name)
AttributeError: module 'superset' has no attribute 'config'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/opt/softwares/anaconda3/lib/python3.6/site-packages/werkzeug/utils.py", line 436, in import_string
raise ImportError(e)
ImportError: module 'superset' has no attribute 'config'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/var/opt/softwares/anaconda3/lib/python3.6/site-packages/superset/__init__.py", line 25, in <module>
app.config.from_object(CONFIG_MODULE)
File "/var/opt/softwares/anaconda3/lib/python3.6/site-packages/flask/config.py", line 168, in from_object
obj = import_string(obj)
File "/var/opt/softwares/anaconda3/lib/python3.6/site-packages/werkzeug/utils.py", line 443, in import_string
sys.exc_info()[2])
File "/var/opt/softwares/anaconda3/lib/python3.6/site-packages/werkzeug/_compat.py", line 137, in reraise
raise value.with_traceback(tb)
File "/var/opt/softwares/anaconda3/lib/python3.6/site-packages/werkzeug/utils.py", line 436, in import_string
raise ImportError(e)
werkzeug.utils.ImportStringError: import_string() failed for 'superset.config'. Possible reasons are:
- missing __init__.py in a package;
- package or module path not included in sys.path;
- duplicated package or module name taking precedence in sys.path;
- missing module, class, function or variable;
Debugged import:
- 'superset' found in '/var/opt/softwares/anaconda3/lib/python3.6/site-packages/superset/__init__.py'.
- 'superset.config' not found.
Original exception:
ImportError: module 'superset' has no attribute 'config'
>>>
Was unable to import superset Error: import_string() failed for 'superset.config'. Possible reasons are:
- missing __init__.py in a package;
- package or module path not included in sys.path;
- duplicated package or module name taking precedence in sys.path;
- missing module, class, function or variable;
Debugged import:
- 'superset' found in '/var/opt/softwares/anaconda3/lib/python3.6/site-packages/superset/__init__.py'.
- 'superset.config' not found.
Original exception:
Superset is tested using Python 2.7 and Python 3.4+. Python 3 is the recommended version, Python 2.6 won’t be supported."
Thanks