#6 160.6 running build_ext
#6 160.6
#6 160.6
#6 160.6 The headers or library files could not be found for zlib,
#6 160.6 a required dependency when compiling Pillow from source.
#6 160.6
#6 160.6 Please see the install instructions at:
#6 160.6 https://pillow.readthedocs.io/en/latest/installation.html
#6 160.6
#6 160.6 Traceback (most recent call last):
#6 160.6 File "<string>", line 1, in <module>
#6 160.6 File "/tmp/pip-install-CAJEdS/pillow/setup.py", line 903, in <module>
#6 160.6 raise RequiredDependencyException(msg)
#6 160.6 __main__.RequiredDependencyException:
#6 160.6
#6 160.6 The headers or library files could not be found for zlib,
#6 160.6 a required dependency when compiling Pillow from source.
#6 160.6
#6 160.6 Please see the install instructions at:
#6 160.6 https://pillow.readthedocs.io/en/latest/installation.html
#6 160.6
#6 160.6
#6 160.6 ----------------------------------------
#6 160.6 ERROR: Command errored out with exit status 1: /opt/venv/bin/python2 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-CAJEdS/pillow/setup.py'"'"'; __file__='"'"'/tmp/pip-install-CAJEdS/pillow/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-ywtjM_/install-record.txt --single-version-externally-managed --compile --install-headers /opt/venv/include/site/python2.7/Pillow Check the logs for full command output.
------
failed to solve: rpc error: code = Unknown desc = executor failed running [/bin/sh -c set -ex; if [ "${RB_VERSION}" ]; then RB_VERSION="==${RB_VERSION}"; fi; python -m virtualenv --system-site-packages /opt/venv; . /opt/venv/bin/activate; pip install "ReviewBoard${RB_VERSION}" django-storages==1.1.8 oauthlib==1.0.1 semver; rm -rf /root/.cache]: exit code: 1