Skip to content

Commit d367a31

Browse files
committed
update installation instructions for MSYS2 UCRT64
1 parent 0546eb9 commit d367a31

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

docs/installation.rst

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -285,9 +285,9 @@ Many of Pillow's features require external libraries:
285285

286286
.. tab:: Windows using MSYS2/MinGW
287287

288-
The following instructions are for the **MSYS2 MINGW64** system.
288+
The following instructions are for the **MSYS2 UCRT64** system.
289289
To build Pillow on one of the other MSYS2 systems, replace all occurences of
290-
``mingw-w64-x86_64`` with the corresponding prefix:
290+
``mingw-w64-ucrt-x86_64`` with the corresponding prefix:
291291

292292
.. list-table::
293293
:header-rows: 1
@@ -306,23 +306,23 @@ Many of Pillow's features require external libraries:
306306
Make sure you have Python and GCC installed::
307307

308308
pacman -S \
309-
mingw-w64-x86_64-gcc \
310-
mingw-w64-x86_64-python3 \
311-
mingw-w64-x86_64-python3-pip \
312-
mingw-w64-x86_64-python3-setuptools
309+
mingw-w64-ucrt-x86_64-gcc \
310+
mingw-w64-ucrt-x86_64-python3 \
311+
mingw-w64-ucrt-x86_64-python3-pip \
312+
mingw-w64-ucrt-x86_64-python3-setuptools
313313

314-
Prerequisites are installed on **MSYS2 MINGW64** with::
314+
Prerequisites are installed on **MSYS2 UCRT64** with::
315315

316316
pacman -S \
317-
mingw-w64-x86_64-libjpeg-turbo \
318-
mingw-w64-x86_64-zlib \
319-
mingw-w64-x86_64-libtiff \
320-
mingw-w64-x86_64-freetype \
321-
mingw-w64-x86_64-lcms2 \
322-
mingw-w64-x86_64-libwebp \
323-
mingw-w64-x86_64-openjpeg2 \
324-
mingw-w64-x86_64-libimagequant \
325-
mingw-w64-x86_64-libraqm
317+
mingw-w64-ucrt-x86_64-libjpeg-turbo \
318+
mingw-w64-ucrt-x86_64-zlib \
319+
mingw-w64-ucrt-x86_64-libtiff \
320+
mingw-w64-ucrt-x86_64-freetype \
321+
mingw-w64-ucrt-x86_64-lcms2 \
322+
mingw-w64-ucrt-x86_64-libwebp \
323+
mingw-w64-ucrt-x86_64-openjpeg2 \
324+
mingw-w64-ucrt-x86_64-libimagequant \
325+
mingw-w64-ucrt-x86_64-libraqm
326326

327327
https://www.msys2.org/docs/python/ states that setuptools >= 60 does not work with
328328
MSYS2. To workaround this, before installing Pillow you must run::

0 commit comments

Comments
 (0)