On Mon, Aug 25, 2025 at 12:02 PM Tom Rini <tr...@konsulko.com> wrote: > > On Mon, Aug 25, 2025 at 11:49:35AM -0700, Tony Dinh wrote: > > > Hi Tom, > > > > I've just done a git pull on the master branch. And then ran patman > > and got this error. > > > > ./tools/patman/patman -c1 -s2 send -n > > Traceback (most recent call last): > > File "/usr/src/u-boot-marvell/./tools/patman/patman", line 21, in <module> > > from patman import control > > File "/usr/src/u-boot-marvell/tools/patman/../patman/control.py", > > line 24, in <module> > > from patman import cseries > > File "/usr/src/u-boot-marvell/tools/patman/../patman/cseries.py", > > line 19, in <module> > > from patman import cser_helper > > File "/usr/src/u-boot-marvell/tools/patman/../patman/cser_helper.py", > > line 18, in <module> > > import aiohttp > > ModuleNotFoundError: No module named 'aiohttp' > > > > I'm on Debian 12.11 and have Python 3.11.2. Is there something I might > > be missing? > > Ideally you should be using a virtualenv or whatever is recommended on > Debian 12 and then pip (or pipx?) install -r > tools/patman/requirements.txt
Strange! I did not have to do anything extra like that before. I always thought u-boot did that automatically. Also, I've just tested it on u-boot-2025.07-rc5 on another u-boot git clone (on the same system), and patman ran without this problem. I'll dig some more, but if you have any idea please let me know. Thanks, Tony > > -- > Tom