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

flask-appbuilder dependency out of date for Python3 #891

Closed
EricSchles opened this issue Aug 7, 2016 · 2 comments
Closed

flask-appbuilder dependency out of date for Python3 #891

EricSchles opened this issue Aug 7, 2016 · 2 comments
Labels
install:docker Installation - docker container

Comments

@EricSchles
Copy link

Hello all,

I received the following error:

Was unable to import caravel Error: make_declarative_base() takes 1 positional argument but 2 were given

Until I did:

sudo pip3 install flask-appbuilder

which resolved things.

@mistercrunch mistercrunch added the install:docker Installation - docker container label Aug 8, 2016
@mistercrunch
Copy link
Member

mistercrunch commented Aug 8, 2016

I'd strongly recommend using virutalenv. From seeing that sudo I'm guessing your python environment has some conflicting versions/ incompatible history.

Python fails at managing "diamond dependencies" (when 2 different packages need different version of a the same package). Knowing this, it makes a lot of sense to use virtualenv to keep insulated Python environment for each project.

@xrmx
Copy link
Contributor

xrmx commented Aug 10, 2016

Closing after b48101c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
install:docker Installation - docker container
Projects
None yet
Development

No branches or pull requests

3 participants