All of lore.kernel.org
 help / color / mirror / Atom feed
* patman: ModuleNotFoundError
@ 2023-01-13  0:07 Tony Dinh
  2023-01-13  1:22 ` Maxim Cournoyer
  0 siblings, 1 reply; 3+ messages in thread
From: Tony Dinh @ 2023-01-13  0:07 UTC (permalink / raw)
  To: Simon Glass, Maxim Cournoyer, U-Boot Mailing List; +Cc: Stefan Roese

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.

Thanks,
Tony

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: patman: ModuleNotFoundError
  2023-01-13  0:07 patman: ModuleNotFoundError Tony Dinh
@ 2023-01-13  1:22 ` Maxim Cournoyer
  2023-01-13  1:49   ` Tony Dinh
  0 siblings, 1 reply; 3+ messages in thread
From: Maxim Cournoyer @ 2023-01-13  1:22 UTC (permalink / raw)
  To: Tony Dinh; +Cc: Simon Glass, U-Boot Mailing List, Stefan Roese

Hi,

----- Original Message -----
> From: "Tony Dinh" <mibodhi@gmail.com>
> To: "Simon Glass" <sjg@chromium.org>, "Maxim Cournoyer" <maxim.cournoyer@savoirfairelinux.com>, "U-Boot Mailing List"
> <u-boot@lists.denx.de>
> Cc: "Stefan Roese" <sr@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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: patman: ModuleNotFoundError
  2023-01-13  1:22 ` Maxim Cournoyer
@ 2023-01-13  1:49   ` Tony Dinh
  0 siblings, 0 replies; 3+ messages in thread
From: Tony Dinh @ 2023-01-13  1:49 UTC (permalink / raw)
  To: Maxim Cournoyer; +Cc: Simon Glass, U-Boot Mailing List, Stefan Roese

Hi Maxim,

On Thu, Jan 12, 2023 at 5:22 PM Maxim Cournoyer
<maxim.cournoyer@savoirfairelinux.com> wrote:
>
> Hi,
>
> ----- Original Message -----
> > From: "Tony Dinh" <mibodhi@gmail.com>
> > To: "Simon Glass" <sjg@chromium.org>, "Maxim Cournoyer" <maxim.cournoyer@savoirfairelinux.com>, "U-Boot Mailing List"
> > <u-boot@lists.denx.de>
> > Cc: "Stefan Roese" <sr@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.

Thanks Maxim! works fine after installing pygit2 and requests.

All the best,
Tony

> HTH,
>
> Maxim

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-01-13  3:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-13  0:07 patman: ModuleNotFoundError Tony Dinh
2023-01-13  1:22 ` Maxim Cournoyer
2023-01-13  1:49   ` Tony Dinh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.