Giter VIP home page Giter VIP logo

Comments (6)

dacort avatar dacort commented on May 4, 2024 6

Looks like for some reason, installing caravel from scratch using pip installs the wrong version of flask-sqlalchemy.

I found this bug on the Flask-AppBuilder project referencing the same error. Even though caravel has flask-sqlalchemy pinned at 2.0, 2.1 got installed for me.

You can work around it by installing flask-sqlalchemy v2.0 first:

pip uninstall flask-sqlalchemy
pip install flask-sqlalchemy==2.0

After doing that, the create-admin step worked fine.

note: I'm using a virtualenv specifically for caravel and python 2.7

from superset.

mistercrunch avatar mistercrunch commented on May 4, 2024

Diamond dependencies? I've seen that bug before too. I'm not sure where the 2.1 gets picked up from. I didn't see it when digging in using the pipdeptree utility

from superset.

mistercrunch avatar mistercrunch commented on May 4, 2024

I have no way of testing things on windows though, so I'm surprised it even works. I think Travis (our build system) can do windows build. It would be nice if someone added windows to the build matrix.

from superset.

dacort avatar dacort commented on May 4, 2024

My build was on Ubuntu 14.04.4 LTS, experienced the same issue.

from superset.

xrmx avatar xrmx commented on May 4, 2024

Closing after b48101c

from superset.

bcambel avatar bcambel commented on May 4, 2024

I am having the same issue with Python 2.7 on Ubuntu 16. Here is my frozen pip

alembic==0.8.8
amqp==1.4.9
anyjson==0.3.3
Babel==2.3.4
billiard==3.3.0.23
celery==3.1.23
cffi==1.9.1
click==6.6
colorama==0.3.7
cryptography==1.5.3
enum34==1.1.6
Flask==0.11.1
Flask-AppBuilder==1.8.1
Flask-Babel==0.11.1
Flask-Cache==0.13.1
Flask-Login==0.2.11
Flask-Migrate==1.5.1
Flask-OpenID==1.2.5
Flask-Script==2.0.5
Flask-SQLAlchemy==2.0
Flask-Testing==0.5.0
Flask-WTF==0.13.1
future==0.16.0
gunicorn==19.6.0
humanize==0.5.1
idna==2.1
ipaddress==1.0.17
itsdangerous==0.24
Jinja2==2.8
kombu==3.0.37
Mako==1.0.6
Markdown==2.6.6
MarkupSafe==0.23
numpy==1.12.0b1
pandas==0.18.1
parsedatetime==2.0
pyasn1==0.1.9
pycparser==2.17
pydruid==0.3.0
PyHive==0.2.1
python-dateutil==2.5.3
python-editor==1.0.2
python-openid==2.2.5
pytz==2016.7
requests==2.10.0
sasl==0.2.1
simplejson==3.8.2
six==1.10.0
SQLAlchemy==1.0.13
SQLAlchemy-Utils==0.32.7
sqlparse==0.1.19
superset==0.13.2
thrift==0.9.3
thrift-sasl==0.2.1
Werkzeug==0.11.10
WTForms==2.1

from superset.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.