Re: ModuleNotFoundError: No module named 'libfdt' after Installing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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





[Index of Archives]     [Device Tree]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux