Open sciencehope opened 1 year ago
I have the same issue. I think it has to do with collections.MutableMapping is moved to collections.abc.MutableMapping: https://stackoverflow.com/questions/70870041/cannot-import-name-mutablemapping-from-collections
Any workaround or patches?
For people following tutorials and still landing here, use this instead of flask_graphql
:
from graphql_server.flask import GraphQLView
Example: https://github.com/graphql-python/graphql-server/blob/master/docs/flask.md
Unable to import this library into my project. I always get an ImportError even if I create a new project with only one import.
My code api.py
My requirements.txt In the beginning, I specify the version of each library, but there was an error. To solve the error, I removed the FLask-GraphQL because it is in conflict with other graphene dependency. As it said, _could not import flaskgraphql I remove graphene version and specify the last version in the Flask-GraphQL so that my project use the last version of this library and solve the dependency conflict with graphene. But always the same error.
Error message