You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File ".../main.py", line 9, in <module>
from graphql_server.aiohttp import GraphQLView
File ".../venv/lib/python3.9/site-packages/graphql_server/aiohttp/__init__.py", line 1, in <module>
from .graphqlview import GraphQLView
File ".../venv/lib/python3.9/site-packages/graphql_server/aiohttp/graphqlview.py", line 19, in <module>
from graphql_server.render_graphiql import (
File ".../venv/lib/python3.9/site-packages/graphql_server/render_graphiql.py", line 7, in <module>
from jinja2 import Environment
ModuleNotFoundError: No module named 'jinja2'
@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
?The text was updated successfully, but these errors were encountered: