pallets / jinja

A very fast and expressive template engine.

Home Page:https://jinja.palletsprojects.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A loader was not found

CCCDDDEEEFFF opened this issue · comments

commented

I am trying to load a package in a docker container but for some reason it is not able to find the loader. loaders.py is in the folder where is says it is but it is not able to find it.

File "/usr/local/lib/python3.6/dist-packages/edalize/edatool.py", line 183, in init
loader=PackageLoader(package, "templates"),
File "/usr/local/lib/python3.6/dist-packages/jinja2/loaders.py", line 291, in init
assert loader is not None, "A loader was not found for the package."
AssertionError: A loader was not found for the package.

Environment:

  • Python version: 3.6
  • Jinja version: 3.1.3