patman: ModuleNotFoundError

Maxim Cournoyer maxim.cournoyer at savoirfairelinux.com
Fri Jan 13 02:22:29 CET 2023


Hi,

----- Original Message -----
> From: "Tony Dinh" <mibodhi at gmail.com>
> To: "Simon Glass" <sjg at chromium.org>, "Maxim Cournoyer" <maxim.cournoyer at savoirfairelinux.com>, "U-Boot Mailing List"
> <u-boot at lists.denx.de>
> Cc: "Stefan Roese" <sr at denx.de>
> Sent: Thursday, January 12, 2023 7:07:20 PM
> Subject: patman: ModuleNotFoundError

> Hi Simon,
> 
> I've updated to the latest u-boot master, and saw this error.
> 
> ./tools/patman/patman --help
> 
> Traceback (most recent call last):
>  File "/usr/src/u-boot-master/./tools/patman/patman", line 23, in <module>
>    from patman import func_test
>  File "/usr/src/u-boot-master/tools/patman/../patman/func_test.py",
> line 31, in <module>
>    from patman import status
>  File "/usr/src/u-boot-master/tools/patman/../patman/status.py", line
> 17, in <module>
>    import requests
> ModuleNotFoundError: No module named 'requests'
> 
> My Linux host is Debian bullseye (11.3). Am I missing some newly
> required Python packages? I  have not run patman since about 3 months
> ago.

patman requires pygit2 and requests, yes.

HTH,

Maxim


More information about the U-Boot mailing list