pallets / jinja

A very fast and expressive template engine.
https://jinja.palletsprojects.com
BSD 3-Clause "New" or "Revised" License
10.28k stars 1.61k forks source link

A loader was not found #1948

Closed CCCDDDEEEFFF closed 6 months ago

CCCDDDEEEFFF commented 6 months ago

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: