I'm trying to run a python script in the linux kernel that uses libfdt. I guess I'm just expecting to run successfully. I mean I can't import in a simple python script, I just get this error. Thanks, On Wed, Nov 20, 2024 at 2:57 AM David Gibson <david@xxxxxxxxxxxxxxxxxxxxx> wrote: > > On Wed, Nov 20, 2024 at 12:31:09AM +0200, AbdelRahman Yossef wrote: > > Hi, > > > > After installing the dependencies (swig and python3-dev), I still get > > ModuleNotFoundError: No module named 'libfdt'. > > There's not much to go on here. What are the steps you're taking, and > what are the results you're expecting? > > > > > 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". > > > > Thanks, > > Abdelrahman > > > > -- > David Gibson (he or they) | I'll have my music baroque, and my code > david AT gibson.dropbear.id.au | minimalist, thank you, not the other way > | around. > http://www.ozlabs.org/~dgibson