aahnik / tgcf

The ultimate tool to automate custom telegram message forwarding. Live-syncer, Auto-poster, backup-bot, cloner, chat-forwarder, duplicator, ... Call it whatever you like! tgcf can fulfill your custom needs.
https://github.com/aahnik/tgcf/wiki
MIT License
1.29k stars 773 forks source link

ERROR: Failed building wheel for Pillow #572

Open mhub-c opened 4 months ago

mhub-c commented 4 months ago

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.