Skip to content

Pillow recipe is causing errors #3219

Closed

Description

@kuzeyron

To reproduce with Buildozer:

requirements = python3,kivy==master,pillow
android.api = 33
p4a.bootstrap = sdl3
p4a.branch = develop

With pillow it causes:

/home/user/Projects/test/.buildozer/android/platform/build-arm64-v8a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Include/Python.h:14:10: fatal error: 'pyconfig.h' file not found
   14 | #include "pyconfig.h"
      |    

And the latter continues to grow even when using requirements = hostpython3==3.13.x,python3==3.13.x,kivy==master,pillow,bzlib.

The logs I'm getting: https://gist.github.com/kuzeyron/0626a1ab9b200c8ab7cc4d288acc23a6

Activity

  1. added theissue type on Oct 1, 2025
  2. kuzeyron commented on Oct 3, 2025

    @kuzeyron
    ContributorAuthor

    @T-Dynamos It seems to be the patch that is causing this. I changed the top lines of the patch with the previous patch and the logs are different but still halts on _img_sdl3.cpp:69:10: fatal error: 'Python.h' file not found.

    https://gist.github.com/kuzeyron/f63defdede71b3956da958ec13fd8d84

    Downgrading the pillow recipe works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions