Skip to content

Commit 86e7dfe

Browse files
golowanowlgirdwood
authored andcommitted
docbuild: Add a note on additional libraries
Add a note on additional libraries needed to build the hardcoded version of pillow package. Signed-off-by: Dmitrii Golovanov <[email protected]>
1 parent 6e56ea9 commit 86e7dfe

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

contribute/process/docbuild.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,20 @@ tools:
163163
164164
PIP_IGNORE_INSTALLED=0 pip3 install --user -r scripts/requirements-lax.txt
165165
166+
The hardcoded package versions might need additional libraries installed
167+
in order to compile them. For example, to resolve the following error:
168+
169+
.. code-block:: bash
170+
171+
ERROR: Could not build wheels for pillow, which is required to install pyproject.toml-based projects
172+
173+
you should install:
174+
175+
.. code-block:: bash
176+
177+
sudo apt install libjpeg-dev zlib1g-dev
178+
179+
166180
For Windows, install the needed tools manually:
167181

168182
* Python (3.7+) from https://www.python.org/downloads/

0 commit comments

Comments
 (0)