Installing problem on MacBookPro4,1 Catalina 10.15.7 (dosdude1 patched)
neogomo opened this issue · 2 comments
I tried a few times to install while manually installing Pillow and also updating my homebrew installation, but install cryptosteganography always stops installing where the first problematic part seems to be that one:
Building wheels for collected packages: pillow
Building wheel for pillow (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/opt/python@3.9/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/cr/_2_0z19n6jn54958c_6vc7xm0000gn/T/pip-install-y3h4_a3u/pillow_f118b79644e544f8920affeb1081f4af/setup.py'"'"'; __file__='"'"'/private/var/folders/cr/_2_0z19n6jn54958c_6vc7xm0000gn/T/pip-install-y3h4_a3u/pillow_f118b79644e544f8920affeb1081f4af/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/cr/_2_0z19n6jn54958c_6vc7xm0000gn/T/pip-wheel-wygfsmd5
cwd: /private/var/folders/cr/_2_0z19n6jn54958c_6vc7xm0000gn/T/pip-install-y3h4_a3u/pillow_f118b79644e544f8920affeb1081f4af/
Could it be that my version of Pillow is to new? Should I maybe change the requirements.txt, but when using the default installation method I can’t change the sources, or? (Sorry, I’m quite the newbie in regards to the vast Python universe ;-)
In the past I also had a few issues with installing Python3 and some other dependencies when installing via homebrew. I think it was cause of homebrew expecting at least: nehalem processor architecture and this machine (MacBookPro4,1) still only has a Penryn processor. I could work around this problem with making two changes to the hardware.rb file (replacing "nehalem" with "core2") and reinstalling/compiling some dependencies from source, not using the bottled versions.
the full error messages output log reads:
robo@mbx ~ % pip3 install cryptosteganography
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
Collecting cryptosteganography
Using cached cryptosteganography-0.8.3-py3-none-any.whl
Collecting piexif==1.1.3
Using cached piexif-1.1.3-py2.py3-none-any.whl (20 kB)
Collecting stegano>=0.9.7
Using cached stegano-0.10.1-py3-none-any.whl (301 kB)
Collecting pillow==6.2.2
Using cached Pillow-6.2.2.tar.gz (37.8 MB)
Preparing metadata (setup.py) ... done
Collecting pycryptodomex==3.9.7
Using cached pycryptodomex-3.9.7-cp39-cp39-macosx_10_15_x86_64.whl
Collecting crayons==0.3.0
Using cached crayons-0.3.0-py2.py3-none-any.whl (4.6 kB)
Requirement already satisfied: colorama>=0.4.2 in /usr/local/lib/python3.9/site-packages (from cryptosteganography) (0.4.4)
Collecting exitstatus==1.4.0
Using cached exitstatus-1.4.0-py2.py3-none-any.whl (3.2 kB)
Collecting stegano>=0.9.7
Using cached stegano-0.10.0-py3-none-any.whl (301 kB)
Collecting opencv-python<5.0.0,>=4.5.0
Using cached opencv_python-4.5.5.62-cp36-abi3-macosx_10_15_x86_64.whl (46.0 MB)
Collecting stegano>=0.9.7
Using cached stegano-0.9.9-py3-none-any.whl (301 kB)
Using cached stegano-0.9.8-py3-none-any.whl (300 kB)
Building wheels for collected packages: pillow
Building wheel for pillow (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/opt/python@3.9/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/cr/_2_0z19n6jn54958c_6vc7xm0000gn/T/pip-install-y3h4_a3u/pillow_f118b79644e544f8920affeb1081f4af/setup.py'"'"'; __file__='"'"'/private/var/folders/cr/_2_0z19n6jn54958c_6vc7xm0000gn/T/pip-install-y3h4_a3u/pillow_f118b79644e544f8920affeb1081f4af/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/cr/_2_0z19n6jn54958c_6vc7xm0000gn/T/pip-wheel-wygfsmd5
cwd: /private/var/folders/cr/_2_0z19n6jn54958c_6vc7xm0000gn/T/pip-install-y3h4_a3u/pillow_f118b79644e544f8920affeb1081f4af/
Complete output (173 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.15-x86_64-3.9
creating build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/MpoImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImageMode.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/PngImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/XbmImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/PcxImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/SunImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImageFile.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/SpiderImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/TarIO.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/FitsStubImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/MpegImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/BdfFontFile.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/GribStubImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImageStat.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/PixarImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/GimpPaletteFile.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImageColor.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ContainerIO.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/MspImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/MicImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/_version.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImtImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/GifImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/PalmImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImageQt.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImageMath.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/PaletteFile.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/FontFile.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/PdfParser.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ExifTags.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImageCms.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/FpxImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImageChops.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/BufrStubImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/PSDraw.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/PcdImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImageFilter.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImageDraw2.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImagePath.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/DcxImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/__init__.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/JpegPresets.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/Hdf5StubImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/features.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImageDraw.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/GimpGradientFile.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImageWin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/IcoImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/_tkinter_finder.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/EpsImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/TgaImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImageMorph.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/Jpeg2KImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/WalImageFile.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/PcfFontFile.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/BlpImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImageTk.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/GbrImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImageOps.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/PdfImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImageShow.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImageEnhance.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/WmfImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImageGrab.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/WebPImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/FliImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/TiffTags.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/CurImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/_util.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/GdImageFile.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/TiffImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/IptcImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImagePalette.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/BmpImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImageTransform.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/IcnsImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/McIdasImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/XpmImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/DdsImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImageSequence.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/PyAccess.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/_binary.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/Image.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/__main__.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/XVThumbImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/SgiImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/PsdImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/JpegImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImageFont.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/PpmImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/FtexImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
running egg_info
writing src/Pillow.egg-info/PKG-INFO
writing dependency_links to src/Pillow.egg-info/dependency_links.txt
writing top-level names to src/Pillow.egg-info/top_level.txt
reading manifest file 'src/Pillow.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.c'
warning: no files found matching '*.h'
warning: no files found matching '*.sh'
warning: no previously-included files found matching '.appveyor.yml'
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching '.codecov.yml'
warning: no previously-included files found matching '.editorconfig'
warning: no previously-included files found matching '.readthedocs.yml'
warning: no previously-included files found matching 'azure-pipelines.yml'
warning: no previously-included files matching '.git*' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
no previously-included directories found matching '.azure-pipelines'
no previously-included directories found matching '.travis'
adding license file 'LICENSE'
writing manifest file 'src/Pillow.egg-info/SOURCES.txt'
running build_ext
The headers or library files could not be found for zlib,
a required dependency when compiling Pillow from source.
Please see the install instructions at:
https://pillow.readthedocs.io/en/latest/installation.html
Traceback (most recent call last):
File "/private/var/folders/cr/_2_0z19n6jn54958c_6vc7xm0000gn/T/pip-install-y3h4_a3u/pillow_f118b79644e544f8920affeb1081f4af/setup.py", line 852, in <module>
setup(
File "/usr/local/lib/python3.9/site-packages/setuptools/__init__.py", line 159, in setup
return distutils.core.setup(**attrs)
File "/usr/local/Cellar/python@3.9/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/local/Cellar/python@3.9/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/local/Cellar/python@3.9/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/local/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 299, in run
self.run_command('build')
File "/usr/local/Cellar/python@3.9/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/local/Cellar/python@3.9/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/local/Cellar/python@3.9/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/local/Cellar/python@3.9/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/local/Cellar/python@3.9/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/local/Cellar/python@3.9/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/private/var/folders/cr/_2_0z19n6jn54958c_6vc7xm0000gn/T/pip-install-y3h4_a3u/pillow_f118b79644e544f8920affeb1081f4af/setup.py", line 687, in build_extensions
raise RequiredDependencyException(f)
__main__.RequiredDependencyException: zlib
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/cr/_2_0z19n6jn54958c_6vc7xm0000gn/T/pip-install-y3h4_a3u/pillow_f118b79644e544f8920affeb1081f4af/setup.py", line 903, in <module>
raise RequiredDependencyException(msg)
__main__.RequiredDependencyException:
The headers or library files could not be found for zlib,
a required dependency when compiling Pillow from source.
Please see the install instructions at:
https://pillow.readthedocs.io/en/latest/installation.html
----------------------------------------
ERROR: Failed building wheel for pillow
Running setup.py clean for pillow
Failed to build pillow
Installing collected packages: pillow, piexif, crayons, stegano, pycryptodomex, exitstatus, cryptosteganography
Attempting uninstall: pillow
Found existing installation: Pillow 9.0.0
Uninstalling Pillow-9.0.0:
Successfully uninstalled Pillow-9.0.0
Running setup.py install for pillow ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/opt/python@3.9/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/cr/_2_0z19n6jn54958c_6vc7xm0000gn/T/pip-install-y3h4_a3u/pillow_f118b79644e544f8920affeb1081f4af/setup.py'"'"'; __file__='"'"'/private/var/folders/cr/_2_0z19n6jn54958c_6vc7xm0000gn/T/pip-install-y3h4_a3u/pillow_f118b79644e544f8920affeb1081f4af/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/cr/_2_0z19n6jn54958c_6vc7xm0000gn/T/pip-record-j_6b2nhm/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.9/pillow
cwd: /private/var/folders/cr/_2_0z19n6jn54958c_6vc7xm0000gn/T/pip-install-y3h4_a3u/pillow_f118b79644e544f8920affeb1081f4af/
Complete output (177 lines):
running install
/usr/local/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
creating build
creating build/lib.macosx-10.15-x86_64-3.9
creating build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/MpoImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImageMode.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/PngImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/XbmImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/PcxImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/SunImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImageFile.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/SpiderImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/TarIO.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/FitsStubImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/MpegImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/BdfFontFile.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/GribStubImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImageStat.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/PixarImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/GimpPaletteFile.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImageColor.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ContainerIO.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/MspImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/MicImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/_version.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImtImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/GifImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/PalmImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImageQt.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImageMath.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/PaletteFile.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/FontFile.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/PdfParser.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ExifTags.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImageCms.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/FpxImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImageChops.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/BufrStubImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/PSDraw.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/PcdImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImageFilter.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImageDraw2.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImagePath.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/DcxImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/__init__.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/JpegPresets.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/Hdf5StubImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/features.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImageDraw.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/GimpGradientFile.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImageWin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/IcoImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/_tkinter_finder.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/EpsImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/TgaImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImageMorph.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/Jpeg2KImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/WalImageFile.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/PcfFontFile.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/BlpImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImageTk.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/GbrImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImageOps.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/PdfImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImageShow.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImageEnhance.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/WmfImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImageGrab.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/WebPImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/FliImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/TiffTags.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/CurImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/_util.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/GdImageFile.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/TiffImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/IptcImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImagePalette.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/BmpImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImageTransform.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/IcnsImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/McIdasImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/XpmImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/DdsImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImageSequence.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/PyAccess.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/_binary.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/Image.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/__main__.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/XVThumbImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/SgiImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/PsdImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/JpegImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/ImageFont.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/PpmImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
copying src/PIL/FtexImagePlugin.py -> build/lib.macosx-10.15-x86_64-3.9/PIL
running egg_info
writing src/Pillow.egg-info/PKG-INFO
writing dependency_links to src/Pillow.egg-info/dependency_links.txt
writing top-level names to src/Pillow.egg-info/top_level.txt
reading manifest file 'src/Pillow.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.c'
warning: no files found matching '*.h'
warning: no files found matching '*.sh'
warning: no previously-included files found matching '.appveyor.yml'
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching '.codecov.yml'
warning: no previously-included files found matching '.editorconfig'
warning: no previously-included files found matching '.readthedocs.yml'
warning: no previously-included files found matching 'azure-pipelines.yml'
warning: no previously-included files matching '.git*' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
no previously-included directories found matching '.azure-pipelines'
no previously-included directories found matching '.travis'
adding license file 'LICENSE'
writing manifest file 'src/Pillow.egg-info/SOURCES.txt'
running build_ext
The headers or library files could not be found for zlib,
a required dependency when compiling Pillow from source.
Please see the install instructions at:
https://pillow.readthedocs.io/en/latest/installation.html
Traceback (most recent call last):
File "/private/var/folders/cr/_2_0z19n6jn54958c_6vc7xm0000gn/T/pip-install-y3h4_a3u/pillow_f118b79644e544f8920affeb1081f4af/setup.py", line 852, in <module>
setup(
File "/usr/local/lib/python3.9/site-packages/setuptools/__init__.py", line 159, in setup
return distutils.core.setup(**attrs)
File "/usr/local/Cellar/python@3.9/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/local/Cellar/python@3.9/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/local/Cellar/python@3.9/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/local/lib/python3.9/site-packages/setuptools/command/install.py", line 68, in run
return orig.install.run(self)
File "/usr/local/Cellar/python@3.9/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/command/install.py", line 546, in run
self.run_command('build')
File "/usr/local/Cellar/python@3.9/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/local/Cellar/python@3.9/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/local/Cellar/python@3.9/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/local/Cellar/python@3.9/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/local/Cellar/python@3.9/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/local/Cellar/python@3.9/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/private/var/folders/cr/_2_0z19n6jn54958c_6vc7xm0000gn/T/pip-install-y3h4_a3u/pillow_f118b79644e544f8920affeb1081f4af/setup.py", line 687, in build_extensions
raise RequiredDependencyException(f)
__main__.RequiredDependencyException: zlib
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/cr/_2_0z19n6jn54958c_6vc7xm0000gn/T/pip-install-y3h4_a3u/pillow_f118b79644e544f8920affeb1081f4af/setup.py", line 903, in <module>
raise RequiredDependencyException(msg)
__main__.RequiredDependencyException:
The headers or library files could not be found for zlib,
a required dependency when compiling Pillow from source.
Please see the install instructions at:
https://pillow.readthedocs.io/en/latest/installation.html
----------------------------------------
Rolling back uninstall of Pillow
Moving to /usr/local/lib/python3.9/site-packages/PIL/
from /usr/local/lib/python3.9/site-packages/~IL
Moving to /usr/local/lib/python3.9/site-packages/Pillow-9.0.0.dist-info/
from /usr/local/lib/python3.9/site-packages/~illow-9.0.0.dist-info
ERROR: Command errored out with exit status 1: /usr/local/opt/python@3.9/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/cr/_2_0z19n6jn54958c_6vc7xm0000gn/T/pip-install-y3h4_a3u/pillow_f118b79644e544f8920affeb1081f4af/setup.py'"'"'; __file__='"'"'/private/var/folders/cr/_2_0z19n6jn54958c_6vc7xm0000gn/T/pip-install-y3h4_a3u/pillow_f118b79644e544f8920affeb1081f4af/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/cr/_2_0z19n6jn54958c_6vc7xm0000gn/T/pip-record-j_6b2nhm/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.9/pillow Check the logs for full command output.
I got it sorted out, what I did was:
changed the following in requirements.txt (only the parts inside the quotation marks):
"pillow==8.2.0" ---to---> "pillow>=8.2.0"
then executed these command lines (perhaps the first of these two wasn’t needed):
python3 -m pip install -r requirements.txt
python3 -m pip install cryptosteganography -r requirements.txt
It’s working now.
Many thanks to computationalcore for creating such a nice tool
I got it sorted out, what I did was:
changed the following in requirements.txt (only the parts inside the quotation marks):
"pillow==8.2.0" ---to---> "pillow>=8.2.0"
then executed these command lines (perhaps the first of these two wasn’t needed):
python3 -m pip install -r requirements.txt
python3 -m pip install cryptosteganography -r requirements.txt
It’s working now.
Many thanks to computationalcore for creating such a nice tool
Hi @neogomo, just saw your message. I'm glad you found your way!