Skip to content

cannot install qiling: Failed building wheel for pillow #1609

@k4lizen

Description

@k4lizen

Following these installation instructions https://docs.qiling.io/en/latest/install/#:~:text=Pyenv%20Installation%20with%20latest%20dev%20branch%20%28recommended

I get:

$ pip install .
# snip
14/src/libImaging/codec_fd.o build/temp.linux-x86_64-cpython-314/src/map.o build/temp.linux-x86_64-cpython-314/src/outline.o build/temp.linux-x86_64-cpython-314/src/path.o -L/usr/lib -L/home/user/code/lakectf-25-26-internal/pwn-lots-of-patches/source/qilingenv/lib -L/opt/libjpeg-turbo/lib64 -L/usr/lib/libfakeroot -L/usr/local/lib -L/usr/lib -ltiff -ljpeg -lopenjp2 -lz -limagequant -lxcb -o build/lib.linux-x86_64-cpython-314/PIL/_imaging.cpython-314-x86_64-linux-gnu.so
      error: command '/usr/sbin/gcc' failed with exit code 1
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pillow
  Building wheel for unicodecsv (pyproject.toml) ... done
  Created wheel for unicodecsv: filename=unicodecsv-0.14.1-py3-none-any.whl size=10790 sha256=696fe0893ebd40c18ae17efcd87b2d2cfa3f65579571afa3303d04f7991d9ddc
  Stored in directory: /home/user/.cache/pip/wheels/09/0c/b4/99e61c0fd58e75cdb0679f413c17b8387a5fa7b7979c58f3cc
Successfully built qiling unicodecsv
Failed to build pillow

[notice] A new release of pip is available: 25.3 -> 26.0.1
[notice] To update, run: pip install --upgrade pip
error: failed-wheel-build-for-install

× Failed to build installable wheels for some pyproject.toml based projects
╰─> pillow
$ 

I'm on arch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions