ImportError: cannot import name 'get_default_backend'
See original GitHub issueIn a fresh env I get the below:
Mikkos-Air:Studio-Stream mikko$ python app.py
Traceback (most recent call last):
File "app.py", line 3, in <module>
from flask_graphql import GraphQLView
File "/Users/mikko/miniconda3/lib/python3.6/site-packages/Flask_GraphQL-2.0.0-py3.6.egg/flask_graphql/__init__.py", line 1, in <module>
from .blueprint import GraphQL
File "/Users/mikko/miniconda3/lib/python3.6/site-packages/Flask_GraphQL-2.0.0-py3.6.egg/flask_graphql/blueprint.py", line 5, in <module>
from .graphqlview import GraphQLView
File "/Users/mikko/miniconda3/lib/python3.6/site-packages/Flask_GraphQL-2.0.0-py3.6.egg/flask_graphql/graphqlview.py", line 7, in <module>
from graphql_server import (HttpQueryError, default_format_error,
File "/Users/mikko/miniconda3/lib/python3.6/site-packages/graphql_server_core-1.1.1-py3.6.egg/graphql_server/__init__.py", line 5, in <module>
from graphql import get_default_backend
ImportError: cannot import name 'get_default_backend'
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:8 (3 by maintainers)
Top Results From Across the Web
ImportError: cannot import name 'backend' - Other - PsychoPy
In this instance, the window module imports the backends package using relative imports because the backends package is in the same directory as ......
Read more >How to Fix ImportError: Cannot Import Name in Python - Rollbar
The Python ImportError: cannot import name error occurs when an imported class is not accessible or is in a circular dependency.
Read more >What can I do about "ImportError: Cannot import name X" or ...
You have circular dependent imports. physics.py is imported from entity before class Ent is defined and physics tries to import entity that is...
Read more >How to Fix : “ImportError: Cannot import name X” in Python?
You can solve the “ ImportError : Cannot import name X” Error by resolving the circular dependencies. You can do that either by...
Read more >How do I fix the ImportError: cannot import name 'delayed'?
delay imported delayed. However, I am still getting the following error: ImportError: cannot import name 'delayed'. I appreciate your help and ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Workaround is to:
@jkimbo I see Travis builds were failing, so I created https://github.com/graphql-python/flask-graphql/pull/65