Skip to content

Commit d8fa227

Browse files
PiotrRybakdanielleadams
authored andcommitted
doc: add note about pip being required
Clean install requires pip to make coverage but instructions didn't mention it. PR-URL: #40669 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 78894fa commit d8fa227

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

BUILDING.md

+8-6
Original file line numberDiff line numberDiff line change
@@ -233,24 +233,26 @@ The Node.js project supports Python >= 3 for building and testing.
233233

234234
#### Unix prerequisites
235235

236-
* `gcc` and `g++` >= 8.3 or newer, or
236+
* `gcc` and `g++` >= 8.3 or newer
237237
* GNU Make 3.81 or newer
238238
* Python 3.6, 3.7, 3.8, 3.9, or 3.10 (see note above)
239+
* For test coverage, your Python installation must include pip.
239240

240241
Installation via Linux package manager can be achieved with:
241242

242-
* Ubuntu, Debian: `sudo apt-get install python3 g++ make`
243-
* Fedora: `sudo dnf install python3 gcc-c++ make`
244-
* CentOS and RHEL: `sudo yum install python3 gcc-c++ make`
245-
* OpenSUSE: `sudo zypper install python3 gcc-c++ make`
246-
* Arch Linux, Manjaro: `sudo pacman -S python gcc make`
243+
* Ubuntu, Debian: `sudo apt-get install python3 g++ make python3-pip`
244+
* Fedora: `sudo dnf install python3 gcc-c++ make python3-pip`
245+
* CentOS and RHEL: `sudo yum install python3 gcc-c++ make python3-pip`
246+
* OpenSUSE: `sudo zypper install python3 gcc-c++ make python3-pip`
247+
* Arch Linux, Manjaro: `sudo pacman -S python gcc make python-pip`
247248

248249
FreeBSD and OpenBSD users may also need to install `libexecinfo`.
249250

250251
#### macOS prerequisites
251252

252253
* Xcode Command Line Tools >= 11 for macOS
253254
* Python 3.6, 3.7, 3.8, 3.9, or 3.10 (see note above)
255+
* For test coverage, your Python installation must include pip.
254256

255257
macOS users can install the `Xcode Command Line Tools` by running
256258
`xcode-select --install`. Alternatively, if you already have the full Xcode

0 commit comments

Comments
 (0)