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

wrong graphql-core version installed #13

Open
cscetbon opened this issue Jun 18, 2018 · 1 comment
Open

wrong graphql-core version installed #13

cscetbon opened this issue Jun 18, 2018 · 1 comment

Comments

@cscetbon
Copy link

Hey,

I'm testing sonic-graphql and I've noticed that when I install it, it tries to install graphql-core>=2.1rc1 but installs graphql-core 2.0 instead https://pastebin.com/raw/BhAyEWCd

which then makes sanic-graphql fail on :

from graphql import get_default_backend
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-01959c5bc935> in <module>()
----> 1 from graphql import get_default_backend

ImportError: cannot import name 'get_default_backend'

If instead I first install graphql-core==2.1rc1 I don't have any issue

@ilyakitaev
Copy link

pip3 install graphql-core==2.0; pip3 install graphql-core==2.1; solves issue for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants