[libcamera-devel] ninja build breaks out of venv

Brian Olson icic at bolson.org
Sun Dec 5 14:05:42 CET 2021


$ ninja -C build install
...
/usr/bin/python3
/blah/blah/blah/libcamera/utils/tracepoints/./gen-tp-header.py ...
Traceback (most recent call last):
  File "/blah/blah/blah/libcamera/utils/tracepoints/./gen-tp-header.py",
line 10, in <module>
    import jinja2
ModuleNotFoundError: No module named 'jinja2'

Yeah, I don't have it installed at the root level, but I have jinja2
installed in the venv I was running ninja from. I don't know how to say
"use this python3" other than putting it in the PATH, which it was, but
ninja ignored that and went with /usr/bin/python3, and that failed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.libcamera.org/pipermail/libcamera-devel/attachments/20211205/f3ceda2b/attachment.htm>


More information about the libcamera-devel mailing list