On Tue, Nov 19, 2024 at 4:31 PM AbdelRahman Yossef <abdelrahmanyossef12@xxxxxxxxx> wrote: > > Hi, > > After installing the dependencies (swig and python3-dev), I still get > ModuleNotFoundError: No module named 'libfdt'. > > I install using pip (pip install > git+git://git.kernel.org/pub/scm/utils/dtc/dtc.git@main) and I got > that It's "Successfully installed" In general, I don't think pip works with pylibfdt in dtc repo. I gave up trying to get something that worked with pip. And make. And meson. So I packaged pylibfdt for pip/pypi here: https://github.com/devicetree-org/pylibfdt/ Rob