Pillow compilation issue during installation on Windows


I have issues to install the paperwork dev env on Windows.
I refer to https://gitlab.gnome.org/World/OpenPaperwork/paperwork/-/blob/develop/doc/devel.windows.markdown

Please could you give the result of the following command in your env : pacman -Ss jpeg
I have no solution to resolve this issue :

  *File "/tmp/easy_install-_vjq8n8l/Pillow-7.2.0/setup.py", line 918, in <module>*
*The headers or library files could not be found for jpeg,*
*a required dependency when compiling Pillow from source.*
*setuptools.sandbox.UnpickleableException: RequiredDependencyException('\n\nThe headers or library files could not be found for jpeg,\na required dependency when compiling Pillow from source.\n\nPlease see the install instructions at:\n   https://pillow.readthedocs.io/en/latest/installation.html\n\n')*
*make[1]: *** [Makefile:55 : install_py] Erreur 1*

It could be due to missing package jpeg…-dev… but nothing is available with pacman -Ss jpeg .

Your feedback will be help me to exclude or to continue on this current way to fix this issue by finding the missing package around jpeg



As a rule of thumb, when using MSYS2, you should first check if what you want to install is already packaged in MSYS2. MSYS2 packagers often have to slightly patch things to make them work.

For Pillow, you can try pacman -S mingw-w64-i686-python3-pillow.
For other dependencies, you can have a look at what is installed with pacman in the CI/CD scripts.

Best regards,