encode/starlette-example

The Jinja

raghavendrajain opened this issue · 2 comments

I face the following error.

Traceback (most recent call last):
  File "app.py", line 4, in <module>
    from starlette.templating import Jinja2Templates
ModuleNotFoundError: No module named 'starlette.templating'

The starlette was installed using conda but the templating module is not present in that.

Double check that you’ve got the latest version of Starlette installed.

pip install -U starlette