problem building theh project. ModuleNotFoundError: No module named 'jinja2'

After yesterday update of some tools in pip3 and brew I lost a possibility to build any projects of our device firmware. Any previously working commits doesn't build now. I even made the same setup on my second macbook.

Install everything that is necessary to develop
Automatic installation + Manual installatioin according to this and this

Create a folder in ~ for our project, e.g. ~/biig-fw-ws

I do this:
west init -m github.com/.../biig-fw ~/biig-fw-ws
cd ~/biig-fw-ws
west update
west build -b bvmb_cpuapp_ns -- -DBOARD_ROOT=/Users/el314biig/biig-fw-ws/biig-fw/

And it says that I don't have jinja2. I have already checked it. It exists and work from python.

Traceback (most recent call last):
File "/Users/el314biig/biig-fw-ws/modules/tee/tf-m/trusted-firmware-m/tools/tfm_parse_manifest_list.py", line 14, in <module>
from jinja2 import Environment, BaseLoader, select_autoescape, TemplateNotFound
ModuleNotFoundError: No module named 'jinja2'
CMake Error at tools/CMakeLists.txt:161 (message):
File generation failed


-- Configuring incomplete, errors occurred!
See also "/Users/el314biig/biig-fw-ws/biig-fw/build/tfm/CMakeFiles/CMakeOutput.log".
See also "/Users/el314biig/biig-fw-ws/biig-fw/build/tfm/CMakeFiles/CMakeError.log".
[63/406] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
ninja: build stopped: subcommand failed.

I can share west -vvv log file as well.

Parents Reply Children
No Data
Related