Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: Failed building wheel for Pillow #572

Open
mhub-c opened this issue Feb 19, 2024 · 1 comment
Open

ERROR: Failed building wheel for Pillow #572

mhub-c opened this issue Feb 19, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@mhub-c
Copy link

mhub-c commented Feb 19, 2024

Running Python 3.9.6 on Mac OS Sonoma
newest Version of Pillow 10.02 get to following error:

ile "/Users/******/Documents/GitHub/my-tgcf/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/build_ext.py", line 345, in run
self.build_extensions()
File "/private/var/folders/6p/h81ttrks5md3x09m7cs1wtxr0000gn/T/pip-install-kjntm51b/pillow_daa0181a8a6e435789ddcc7b62ba913b/setup.py", line 809, in build_extensions
raise RequiredDependencyException(f)
RequiredDependencyException: jpeg

  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "<string>", line 2, in <module>
    File "<pip-setuptools-caller>", line 34, in <module>
    File "/private/var/folders/6p/h81ttrks5md3x09m7cs1wtxr0000gn/T/pip-install-kjntm51b/pillow_daa0181a8a6e435789ddcc7b62ba913b/setup.py", line 1010, in <module>
      raise RequiredDependencyException(msg)
  RequiredDependencyException:
  
  The headers or library files could not be found for jpeg,
  a required dependency when compiling Pillow from source.
  
  Please see the install instructions at:
     https://pillow.readthedocs.io/en/latest/installation.html
  
  
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for Pillow
Running setup.py clean for Pillow
Failed to build Pillow
ERROR: Could not build wheels for Pillow, which is required to install pyproject.toml-based projects
Usage: tgcf [OPTIONS] COMMAND [ARGS]...
Try 'tgcf --help' for help.

@mhub-c mhub-c added the bug Something isn't working label Feb 19, 2024
@cleanerspam
Copy link

Missing these packages python3-dev libjpeg-dev zlib1g-dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants