[Python] Fail during installation of Pillow (Python module) in Linux

Discussão em 'Python' iniciado por Stack, Janeiro 30, 2025.

  1. Stack

    Stack Membro Participativo

    I'm trying to install Pillow (Python module) using pip, but it throws this error:

    ValueError: jpeg is required unless explicitly disabled using --disable-jpeg, aborting


    So as the error says, I tried:

    pip install pillow --global-option="--disable-jpeg"


    But it fails with:

    error: option --disable-jpeg not recognized


    Any hints how to deal with it?

    Continue reading...

Compartilhe esta Página