module named 'distutils.spawn' not found (triggered by ../../wpt lint call) #27180
Dear fellow advanced GitHub colleagues,
I was creating PR27179 and did what I always do : '../../wpt lint' and I got this response:
The good news is I was still able to submit such PR (but without a prior lint validation check).
All the best to you in 2021 (and lots of vaccination in 2021)
The text was updated successfully, but these errors were encountered:
I can’t reproduce in my macOS environment — neither in my existing wpt clone nor after cloning the repo from scratch and testing in that. But I guess that’s unsurprising, because it just means I have python distutils installed.
I think you can solve this by installing distutils — either using whatever package manager your OS/system provides, or else pip.
As far as I can from looking at that wpt infra bits, there’s nothing in there which installs distutils; instead the code just expects it to be installed in whatever python environment you’re using to run wpt stuff.
Thank you for your quick response.
From what I can see, python3-distutils package has to be the package to install.
Okay... I just installed
https://packages.debian.org/buster/python3-distutils version 3.7.3-1
https://packages.debian.org/buster/python3-lib2to3 version 3.7.3-1
Michael, do you know of a way by which I can verify that everything is in order now and functionning accordingly?