Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install superset on empty Centos7 #6060

Closed
funes79 opened this issue Oct 9, 2018 · 3 comments
Closed

Cannot install superset on empty Centos7 #6060

funes79 opened this issue Oct 9, 2018 · 3 comments
Labels
inactive Inactive for >= 30 days

Comments

@funes79
Copy link

funes79 commented Oct 9, 2018

Make sure these boxes are checked before submitting your issue - thank you!

  • [ x] I have checked the superset logs for python stacktraces and included it here as text if any
  • [ x] I have reproduced the issue with at least the latest released version of superset
  • [ x] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version

Latest

Environment

(venv) [centos@ip-10-85-150-47 ~]$ cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)
(venv) [centos@ip-10-85-150-47 ~]$ pip -V
pip 18.1 from /home/centos/venv/lib/python2.7/site-packages/pip (python 2.7)

Expected results

Fabmanager create admin should create the admin user

Actual results

/home/centos/venv/lib/python2.7/site-packages/superset/security.py:12: FSADeprecationWarning: "_BoundDeclarativeMeta" has been renamed to "DefaultMeta". The old name will be removed in 3.0.
from flask_appbuilder.security.sqla import models as ab_models
/home/centos/venv/lib/python2.7/site-packages/superset/security.py:12: FSADeprecationWarning: "_BoundDeclarativeMeta" has been renamed to "DefaultMeta". The old name will be removed in 3.0.
from flask_appbuilder.security.sqla import models as ab_models
/home/centos/venv/lib/python2.7/site-packages/superset/security.py:12: FSADeprecationWarning: "_BoundDeclarativeMeta" has been renamed to "DefaultMeta". The old name will be removed in 3.0.
from flask_appbuilder.security.sqla import models as ab_models
/home/centos/venv/lib/python2.7/site-packages/superset/security.py:12: FSADeprecationWarning: "_BoundDeclarativeMeta" has been renamed to "DefaultMeta". The old name will be removed in 3.0.
from flask_appbuilder.security.sqla import models as ab_models
/home/centos/venv/lib/python2.7/site-packages/superset/security.py:12: FSADeprecationWarning: "_BoundDeclarativeMeta" has been renamed to "DefaultMeta". The old name will be removed in 3.0.
from flask_appbuilder.security.sqla import models as ab_models
/home/centos/venv/lib/python2.7/site-packages/superset/security.py:12: FSADeprecationWarning: "_BoundDeclarativeMeta" has been renamed to "DefaultMeta". The old name will be removed in 3.0.
from flask_appbuilder.security.sqla import models as ab_models
Was unable to import superset Error: make_declarative_base() takes at most 2 arguments (3 given)

Steps to reproduce

Following the tutorial https://superset.incubator.apache.org/installation.html creating virtual env, installing setuptools then installing superset (which contains one warning: pip install superset
flask-appbuilder 1.10.0 has requirement Flask-SQLAlchemy==2.1, but you'll have flask-sqlalchemy 2.3.2 which is incompatible. )

@funes79
Copy link
Author

funes79 commented Oct 9, 2018

Very similar issue on Ubuntu:
(venv) ubuntu@ip-10-85-150-171:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic

(venv) ubuntu@ip-10-85-150-171:~$ fabmanager create-admin --app superset
Username [admin]:
User first name [admin]:
User last name [user]:
Email [admin@fab.org]:
Password:
Repeat for confirmation:
Was unable to import superset Error: markdown() takes exactly 1 argument (2 given)

@robokaso
Copy link

robokaso commented Oct 17, 2018

I retried the installation on ubuntu 18.04 today and fortunately the error is gone:

# apt install build-essential libssl-dev libffi-dev python3-dev python3-pip libsasl2-dev libldap2-dev python3-setuptools python3-wheel
# pip3 install superset
# fabmanager create-admin --app superset                                                                        
Username [admin]:                                                                                                 
User first name [admin]:                                                                                   
User last name [user]:                                                                                     
Email [admin@fab.org]:                                                                                     
Password:                                                                                                                         
Repeat for confirmation:                                                                                   
Recognized Database Authentications.                                                                                                                                                                              
Admin User admin created.        

@stale
Copy link

stale bot commented Apr 10, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
inactive Inactive for >= 30 days
Projects
None yet
Development

No branches or pull requests

2 participants