qilingframework / qilingframework/qiling

cannot install qiling: Failed building wheel for pillow

Open
#1,609 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
6.1k
Forks
798
Avg merge
1d 1h
Merged PRs (30d)
9

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the documented pip install . flow on Arch with the latest development branch and inspect the Pillow build output preceding the GCC exit code. Compare the installation instructions with the dependency and packaging configuration; done means the documented installation completes successfully or clearly documents the required Arch/Python prerequisites.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.