Closed lycantropos closed 1 year ago
@lycantropos I think this does not happen only to aiohttp but all of the packages that use GraphQLView
:
❯ pip install graphql-server[sanic]
>>> from graphql_server.sanic import GraphQLView
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/theo.despoudis/Workspace/graphene/.venv/lib/python3.9/site-packages/graphql_server/sanic/__init__.py", line 1, in <module>
from .graphqlview import GraphQLView
File "/Users/theo.despoudis/Workspace/graphene/.venv/lib/python3.9/site-packages/graphql_server/sanic/graphqlview.py", line 21, in <module>
from graphql_server.render_graphiql import (
File "/Users/theo.despoudis/Workspace/graphene/.venv/lib/python3.9/site-packages/graphql_server/render_graphiql.py", line 7, in <module>
from jinja2 import Environment
ModuleNotFoundError: No module named 'jinja2'
After installation
with output
then attempt to import
gives
so it looks like it needs to be included in
install_aiohttp_requires
?