fraschetti / Octoslack

OctoPrint plugin for Slack, Mattermost, Pushbullet, Pushover, Rocket.Chat, Discord, Riot/Matrix, & Microsoft Teams
MIT License
74 stars 34 forks source link

Error during "pillow" dependency installation #70

Closed rafalmag closed 4 years ago

rafalmag commented 4 years ago

I tried to install the plugin and got following error during "pillow" installation:

Installing plugin "Octoslack" from https://github.com/fraschetti/Octoslack/archive/master.zip...
/home/octoprint/OctoPrint/venv/bin/python -m pip --disable-pip-version-check install https://github.com/fraschetti/Octoslack/archive/master.zip --no-cache-dir
Collecting https://github.com/fraschetti/Octoslack/archive/master.zip
Downloading https://github.com/fraschetti/Octoslack/archive/master.zip
Requirement already satisfied: OctoPrint in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages (from Octoslack==1.9.1) (1.3.12)
Collecting slackclient<2.0.0
Downloading https://files.pythonhosted.org/packages/7c/2f/9b6db4c7686be3dc6b4244eaef4f37226a2ccca1a796516d4adcdfeefe56/slackclient-1.3.2.tar.gz
Collecting slacker
Downloading https://files.pythonhosted.org/packages/cc/71/7ef8a02070d75539e7ea5c9663951062669d101663051ad9f19abd6d2543/slacker-0.13.0.tar.gz
Collecting tinys3
Downloading https://files.pythonhosted.org/packages/59/c4/0641c936d9b1e49d2e4eaaa22601c76c981f6d3c0360bd63660923ed0835/tinys3-0.1.12.tar.gz
Collecting imgurpython
Downloading https://files.pythonhosted.org/packages/d4/76/514defcb05e6d58ded427f57d736ce6dfe879e0188392385a986e8ef3b7b/imgurpython-1.1.7.tar.gz
Collecting Pillow
Downloading https://files.pythonhosted.org/packages/5b/bb/cdc8086db1f15d0664dd22a62c69613cdc00f1dd430b5b19df1bea83f2a3/Pillow-6.2.1.tar.gz (37.7MB)
Collecting humanize
Downloading https://files.pythonhosted.org/packages/8c/e0/e512e4ac6d091fc990bbe13f9e0378f34cf6eecd1c6c268c9e598dcf5bb9/humanize-0.5.1.tar.gz
Collecting minio
Downloading https://files.pythonhosted.org/packages/78/09/fa848f67bb4aeb60b0399fe275cb2049ecc25bbc36477f173df054411f52/minio-5.0.4-py2.py3-none-any.whl (62kB)
Requirement already satisfied: netifaces in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/netifaces-0.10.9-py2.7-linux-armv7l.egg (from Octoslack==1.9.1) (0.10.9)
Requirement already satisfied: sarge in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/sarge-0.1.5.post0-py2.7.egg (from Octoslack==1.9.1) (0.1.5.post0)
Requirement already satisfied: pytz in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/pytz-2019.3-py2.7.egg (from Octoslack==1.9.1) (2019.3)
Collecting pushbullet.py
Downloading https://files.pythonhosted.org/packages/72/91/78912bfb333f412be8f52bba4aa1c9b68d7f612e0fbc9fc5b88b4c894d26/pushbullet.py-0.11.0-py2.py3-none-any.whl
Collecting pathlib2
Downloading https://files.pythonhosted.org/packages/e9/45/9c82d3666af4ef9f221cbb954e1d77ddbb513faf552aea6df5f37f1a4859/pathlib2-2.3.5-py2.py3-none-any.whl
Collecting pushover_complete
Downloading https://files.pythonhosted.org/packages/28/41/b94e91ed986f9d8e10e4591a73f0ce9a4835d1274e0f622a8ce915a0cbf1/pushover_complete-1.1.1-py2.py3-none-any.whl
Collecting rocket-python
Downloading https://files.pythonhosted.org/packages/d2/a5/72256cf53182620aa12e62dd1199098d04854bcdf83e7e165d7f072c72e4/rocket_python-1.2.11-py2.py3-none-any.whl
Collecting matrix_client
Downloading https://files.pythonhosted.org/packages/6b/0b/65dc841fd3d14e7ebc6081bbfce23365a6b2f68cc6ae2ae2d1d7d59570cd/matrix_client-0.3.2-py2.py3-none-any.whl
Requirement already satisfied: pyserial<3.5,>=3.4 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/pyserial-3.4-py2.7.egg (from OctoPrint->Octoslack==1.9.1) (3.4)
Requirement already satisfied: semantic-version<2.7,>=2.6 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/semantic_version-2.6.0-py2.7.egg (from OctoPrint->Octoslack==1.9.1) (2.6.0)
Requirement already satisfied: pylru<1.3,>=1.2 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/pylru-1.2.0-py2.7.egg (from OctoPrint->Octoslack==1.9.1) (1.2.0)
Requirement already satisfied: requests<3,>=2.21.0 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/requests-2.22.0-py2.7.egg (from OctoPrint->Octoslack==1.9.1) (2.22.0)
Requirement already satisfied: chainmap<1.1,>=1.0.3 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/chainmap-1.0.3-py2.7.egg (from OctoPrint->Octoslack==1.9.1) (1.0.3)
Requirement already satisfied: PyYAML<6,>=5.1 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/PyYAML-5.1.2-py2.7-linux-armv7l.egg (from OctoPrint->Octoslack==1.9.1) (5.1.2)
Requirement already satisfied: websocket-client<0.57,>=0.56 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/websocket_client-0.56.0-py2.7.egg (from OctoPrint->Octoslack==1.9.1) (0.56.0)
Requirement already satisfied: wrapt<1.12,>=1.11.1 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/wrapt-1.11.2-py2.7-linux-armv7l.egg (from OctoPrint->Octoslack==1.9.1) (1.11.2)
Requirement already satisfied: awesome-slugify<1.7,>=1.6.5 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/awesome_slugify-1.6.5-py2.7.egg (from OctoPrint->Octoslack==1.9.1) (1.6.5)
Requirement already satisfied: futures<3.3,>=3.2 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/futures-3.2.0-py2.7.egg (from OctoPrint->Octoslack==1.9.1) (3.2.0)
Requirement already satisfied: future<0.18,>=0.17.1 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/future-0.17.1-py2.7.egg (from OctoPrint->Octoslack==1.9.1) (0.17.1)
Requirement already satisfied: pkginfo<1.6,>=1.5.0.1 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/pkginfo-1.5.0.1-py2.7.egg (from OctoPrint->Octoslack==1.9.1) (1.5.0.1)
Requirement already satisfied: netaddr<0.8,>=0.7.19 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/netaddr-0.7.19-py2.7.egg (from OctoPrint->Octoslack==1.9.1) (0.7.19)
Requirement already satisfied: tornado==4.5.3 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/tornado-4.5.3-py2.7-linux-armv7l.egg (from OctoPrint->Octoslack==1.9.1) (4.5.3)
Requirement already satisfied: cachelib<0.2,>=0.1 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/cachelib-0.1-py2.7.egg (from OctoPrint->Octoslack==1.9.1) (0.1)
Requirement already satisfied: frozendict<1.3,>=1.2 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/frozendict-1.2-py2.7.egg (from OctoPrint->Octoslack==1.9.1) (1.2)
Requirement already satisfied: Flask-Assets<0.13,>=0.12 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/Flask_Assets-0.12-py2.7.egg (from OctoPrint->Octoslack==1.9.1) (0.12)
Requirement already satisfied: werkzeug<0.16,>=0.15.1 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/Werkzeug-0.15.6-py2.7.egg (from OctoPrint->Octoslack==1.9.1) (0.15.6)
Requirement already satisfied: watchdog<0.10,>=0.9.0 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/watchdog-0.9.0-py2.7.egg (from OctoPrint->Octoslack==1.9.1) (0.9.0)
Requirement already satisfied: regex!=2018.11.6 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/regex-2019.8.19-py2.7-linux-armv7l.egg (from OctoPrint->Octoslack==1.9.1) (2019.8.19)
Requirement already satisfied: emoji<0.6,>=0.5.1 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/emoji-0.5.4-py2.7.egg (from OctoPrint->Octoslack==1.9.1) (0.5.4)
Requirement already satisfied: Flask-Babel<0.13,>=0.12 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/Flask_Babel-0.12.2-py2.7.egg (from OctoPrint->Octoslack==1.9.1) (0.12.2)
Requirement already satisfied: scandir<1.11,>=1.10 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/scandir-1.10.0-py2.7-linux-armv7l.egg (from OctoPrint->Octoslack==1.9.1) (1.10.0)
Requirement already satisfied: monotonic<1.6,>=1.5 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/monotonic-1.5-py2.7.egg (from OctoPrint->Octoslack==1.9.1) (1.5)
Requirement already satisfied: feedparser<5.3,>=5.2.1 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/feedparser-5.2.1-py2.7.egg (from OctoPrint->Octoslack==1.9.1) (5.2.1)
Requirement already satisfied: markdown<3.1,>=3.0 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/Markdown-3.0.1-py2.7.egg (from OctoPrint->Octoslack==1.9.1) (3.0.1)
Requirement already satisfied: psutil<5.7,>=5.6.1 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/psutil-5.6.3-py2.7-linux-armv7l.egg (from OctoPrint->Octoslack==1.9.1) (5.6.3)
Requirement already satisfied: Flask-Principal<0.5,>=0.4 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/Flask_Principal-0.4.0-py2.7.egg (from OctoPrint->Octoslack==1.9.1) (0.4.0)
Requirement already satisfied: Flask-Login<0.3,>=0.2.11 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/Flask_Login-0.2.11-py2.7.egg (from OctoPrint->Octoslack==1.9.1) (0.2.11)
Requirement already satisfied: filetype<2,>=1.0.5 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages (from OctoPrint->Octoslack==1.9.1) (1.0.5)
Requirement already satisfied: flask<0.11,>=0.10.1 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg (from OctoPrint->Octoslack==1.9.1) (0.10.1)
Requirement already satisfied: rsa<5,>=4.0 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/rsa-4.0-py2.7.egg (from OctoPrint->Octoslack==1.9.1) (4.0)
Requirement already satisfied: Jinja2<2.9,>=2.8.1 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/Jinja2-2.8.1-py2.7.egg (from OctoPrint->Octoslack==1.9.1) (2.8.1)
Requirement already satisfied: typing<4,>=3.6.6 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/typing-3.7.4.1-py2.7.egg (from OctoPrint->Octoslack==1.9.1) (3.7.4.1)
Requirement already satisfied: Click<8,>=7 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/Click-7.0-py2.7.egg (from OctoPrint->Octoslack==1.9.1) (7.0)
Requirement already satisfied: sentry-sdk==0.7.7 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/sentry_sdk-0.7.7-py2.7.egg (from OctoPrint->Octoslack==1.9.1) (0.7.7)
Requirement already satisfied: six<2.0a0,>=1.10 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/six-1.12.0-py2.7.egg (from slackclient<2.0.0->Octoslack==1.9.1) (1.12.0)
Requirement already satisfied: urllib3 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/urllib3-1.25.6-py2.7.egg (from minio->Octoslack==1.9.1) (1.25.6)
Requirement already satisfied: certifi in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/certifi-2019.9.11-py2.7.egg (from minio->Octoslack==1.9.1) (2019.9.11)
Collecting python-dateutil
Downloading https://files.pythonhosted.org/packages/d4/70/d60450c3dd48ef87586924207ae8907090de0b306af2bce5d134d78615cb/python_dateutil-2.8.1-py2.py3-none-any.whl (227kB)
Collecting python-magic
Downloading https://files.pythonhosted.org/packages/42/a1/76d30c79992e3750dac6790ce16f056f870d368ba142f83f75f694d93001/python_magic-0.4.15-py2.py3-none-any.whl
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/chardet-3.0.4-py2.7.egg (from requests<3,>=2.21.0->OctoPrint->Octoslack==1.9.1) (3.0.4)
Requirement already satisfied: idna<2.9,>=2.5 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/idna-2.8-py2.7.egg (from requests<3,>=2.21.0->OctoPrint->Octoslack==1.9.1) (2.8)
Requirement already satisfied: Unidecode<0.05,>=0.04.14 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/Unidecode-0.4.21-py2.7.egg (from awesome-slugify<1.7,>=1.6.5->OctoPrint->Octoslack==1.9.1) (0.4.21)
Requirement already satisfied: singledispatch in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/singledispatch-3.4.0.3-py2.7.egg (from tornado==4.5.3->OctoPrint->Octoslack==1.9.1) (3.4.0.3)
Requirement already satisfied: backports_abc>=0.4 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/backports_abc-0.5-py2.7.egg (from tornado==4.5.3->OctoPrint->Octoslack==1.9.1) (0.5)
Requirement already satisfied: webassets>=0.11.1 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/webassets-0.12.1-py2.7.egg (from Flask-Assets<0.13,>=0.12->OctoPrint->Octoslack==1.9.1) (0.12.1)
Requirement already satisfied: argh>=0.24.1 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/argh-0.26.2-py2.7.egg (from watchdog<0.10,>=0.9.0->OctoPrint->Octoslack==1.9.1) (0.26.2)
Requirement already satisfied: pathtools>=0.1.1 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/pathtools-0.1.2-py2.7.egg (from watchdog<0.10,>=0.9.0->OctoPrint->Octoslack==1.9.1) (0.1.2)
Requirement already satisfied: Babel>=2.3 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/Babel-2.7.0-py2.7.egg (from Flask-Babel<0.13,>=0.12->OctoPrint->Octoslack==1.9.1) (2.7.0)
Requirement already satisfied: blinker in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/blinker-1.4-py2.7.egg (from Flask-Principal<0.5,>=0.4->OctoPrint->Octoslack==1.9.1) (1.4)
Requirement already satisfied: itsdangerous>=0.21 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/itsdangerous-1.1.0-py2.7.egg (from flask<0.11,>=0.10.1->OctoPrint->Octoslack==1.9.1) (1.1.0)
Requirement already satisfied: pyasn1>=0.1.3 in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/pyasn1-0.4.7-py2.7.egg (from rsa<5,>=4.0->OctoPrint->Octoslack==1.9.1) (0.4.7)
Requirement already satisfied: MarkupSafe in /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/MarkupSafe-1.1.1-py2.7-linux-armv7l.egg (from Jinja2<2.9,>=2.8.1->OctoPrint->Octoslack==1.9.1) (1.1.1)
Building wheels for collected packages: Octoslack, slackclient, slacker, tinys3, imgurpython, Pillow, humanize
Building wheel for Octoslack (setup.py): started
Building wheel for Octoslack (setup.py): finished with status 'done'
Created wheel for Octoslack: filename=Octoslack-1.9.1-cp27-none-any.whl size=78341 sha256=de8dc593b6f3eff609b89facecccffe961d061799da1f5d41dce20c409256806
Stored in directory: /tmp/pip-ephem-wheel-cache-3JfZA1/wheels/08/69/d1/e33bdd25d4490eae51539f96906936acfef9776a51c2a5d864
Building wheel for slackclient (setup.py): started
Building wheel for slackclient (setup.py): finished with status 'done'
Created wheel for slackclient: filename=slackclient-1.3.2-py2.py3-none-any.whl size=19228 sha256=263e477580308a37aa8b0dc89eaff81ff91d4a4a43de6c24f354390450174760
Stored in directory: /tmp/pip-ephem-wheel-cache-3JfZA1/wheels/3b/d4/92/3458f0e1a3e1a9c8935d3b2db89a75d74d8d45601fedec752f
Building wheel for slacker (setup.py): started
Building wheel for slacker (setup.py): finished with status 'done'
Created wheel for slacker: filename=slacker-0.13.0-cp27-none-any.whl size=9356 sha256=06b92e08134ed4edc32632fce33edff561ff60dba4b333ff119497beec35a310
Stored in directory: /tmp/pip-ephem-wheel-cache-3JfZA1/wheels/f4/79/9b/f8ea00226d5a3121cf12b181ffadcaf92dc41a53867729a3a2
Building wheel for tinys3 (setup.py): started
Building wheel for tinys3 (setup.py): finished with status 'done'
Created wheel for tinys3: filename=tinys3-0.1.12-cp27-none-any.whl size=16350 sha256=abab3295ec24a50b41e720a98352fb2be2e1c6e97bd8b2e96e8b1486c97395ba
Stored in directory: /tmp/pip-ephem-wheel-cache-3JfZA1/wheels/b3/e2/1a/0706f61a593dfb00150e68039fb65035336511bb6d23181755
Building wheel for imgurpython (setup.py): started
Building wheel for imgurpython (setup.py): finished with status 'done'
Created wheel for imgurpython: filename=imgurpython-1.1.7-cp27-none-any.whl size=12573 sha256=2439a7d37fbe9f9ba039f505549db7f381755c04de16a52ef6df300c58d041f7
Stored in directory: /tmp/pip-ephem-wheel-cache-3JfZA1/wheels/56/7d/ba/b8019b62cf451f791c7cfb6a96bf31d174a30b99b3c2632b5e
Building wheel for Pillow (setup.py): started
ERROR: Command errored out with exit status 1:
command: /home/octoprint/OctoPrint/venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-iNMPNW/Pillow/setup.py'"'"'; __file__='"'"'/tmp/pip-install-iNMPNW/Pillow/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-h_YljT --python-tag cp27
cwd: /tmp/pip-install-iNMPNW/Pillow/
Complete output (141 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-armv7l-2.7
creating build/lib.linux-armv7l-2.7/PIL
copying src/PIL/FtexImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PpmImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageFont.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/JpegImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PsdImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/SgiImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/XVThumbImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/__main__.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/Image.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/_binary.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PyAccess.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageSequence.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/DdsImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/XpmImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/McIdasImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/IcnsImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageTransform.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/BmpImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImagePalette.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/IptcImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/TiffImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/GdImageFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/_util.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/CurImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/TiffTags.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/FliImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/WebPImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageGrab.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/WmfImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageEnhance.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageShow.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PdfImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageOps.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/GbrImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageTk.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/BlpImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PcfFontFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/WalImageFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/Jpeg2KImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageMorph.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/TgaImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/EpsImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/_tkinter_finder.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/IcoImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageWin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/GimpGradientFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageDraw.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/features.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/Hdf5StubImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/JpegPresets.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/__init__.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/DcxImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImagePath.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageDraw2.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageFilter.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PcdImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PSDraw.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/BufrStubImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageChops.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/FpxImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageCms.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ExifTags.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PdfParser.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/FontFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PaletteFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageMath.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageQt.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PalmImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/GifImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImtImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/_version.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/MicImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/MspImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ContainerIO.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageColor.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/GimpPaletteFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PixarImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageStat.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/GribStubImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/BdfFontFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/MpegImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/FitsStubImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/TarIO.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/SpiderImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/SunImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PcxImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/XbmImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PngImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageMode.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/MpoImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
running egg_info
writing src/Pillow.egg-info/PKG-INFO
writing top-level names to src/Pillow.egg-info/top_level.txt
writing dependency_links to src/Pillow.egg-info/dependency_links.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'
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 "<string>", line 1, in <module>
File "/tmp/pip-install-iNMPNW/Pillow/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
Building wheel for Pillow (setup.py): finished with status 'error'
Running setup.py clean for Pillow
Building wheel for humanize (setup.py): started
ERROR: slackclient 1.3.2 has requirement websocket-client<0.55.0,>=0.35, but you'll have websocket-client 0.56.0 which is incompatible.
Building wheel for humanize (setup.py): finished with status 'done'
Created wheel for humanize: filename=humanize-0.5.1-cp27-none-any.whl size=17901 sha256=e887c7542d6e9ea5e9eff99239dea670e2d34f35a357b5602b161ce547f5df1f
Stored in directory: /tmp/pip-ephem-wheel-cache-3JfZA1/wheels/69/86/6c/f8b8593bc273ec4b0c653d3827f7482bb2001a2781a73b7f44
Successfully built Octoslack slackclient slacker tinys3 imgurpython humanize
Failed to build Pillow
Installing collected packages: slackclient, slacker, tinys3, imgurpython, Pillow, humanize, python-dateutil, minio, python-magic, pushbullet.py, pathlib2, pushover-complete, rocket-python, matrix-client, Octoslack
Running setup.py install for Pillow: started
ERROR: Command errored out with exit status 1:
command: /home/octoprint/OctoPrint/venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-iNMPNW/Pillow/setup.py'"'"'; __file__='"'"'/tmp/pip-install-iNMPNW/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-tETBZq/install-record.txt --single-version-externally-managed --compile --install-headers /home/octoprint/OctoPrint/venv/include/site/python2.7/Pillow
cwd: /tmp/pip-install-iNMPNW/Pillow/
Complete output (141 lines):
running install
running build
running build_py
creating build
creating build/lib.linux-armv7l-2.7
creating build/lib.linux-armv7l-2.7/PIL
copying src/PIL/FtexImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PpmImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageFont.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/JpegImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PsdImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/SgiImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/XVThumbImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/__main__.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/Image.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/_binary.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PyAccess.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageSequence.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/DdsImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/XpmImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/McIdasImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/IcnsImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageTransform.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/BmpImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImagePalette.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/IptcImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/TiffImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/GdImageFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/_util.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/CurImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/TiffTags.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/FliImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/WebPImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageGrab.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/WmfImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageEnhance.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageShow.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PdfImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageOps.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/GbrImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageTk.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/BlpImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PcfFontFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/WalImageFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/Jpeg2KImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageMorph.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/TgaImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/EpsImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/_tkinter_finder.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/IcoImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageWin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/GimpGradientFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageDraw.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/features.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/Hdf5StubImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/JpegPresets.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/__init__.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/DcxImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImagePath.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageDraw2.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageFilter.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PcdImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PSDraw.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/BufrStubImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageChops.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/FpxImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageCms.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ExifTags.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PdfParser.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/FontFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PaletteFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageMath.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageQt.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PalmImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/GifImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImtImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/_version.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/MicImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/MspImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ContainerIO.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageColor.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/GimpPaletteFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PixarImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageStat.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/GribStubImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/BdfFontFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/MpegImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/FitsStubImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/TarIO.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/SpiderImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/SunImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PcxImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/XbmImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PngImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageMode.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/MpoImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
running egg_info
writing src/Pillow.egg-info/PKG-INFO
writing top-level names to src/Pillow.egg-info/top_level.txt
writing dependency_links to src/Pillow.egg-info/dependency_links.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'
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 "<string>", line 1, in <module>
File "/tmp/pip-install-iNMPNW/Pillow/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: Command errored out with exit status 1: /home/octoprint/OctoPrint/venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-iNMPNW/Pillow/setup.py'"'"'; __file__='"'"'/tmp/pip-install-iNMPNW/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-tETBZq/install-record.txt --single-version-externally-managed --compile --install-headers /home/octoprint/OctoPrint/venv/include/site/python2.7/Pillow Check the logs for full command output.
Running setup.py install for Pillow: finished with status 'error'
Error!
Could not parse output from pip, see plugin_pluginmanager_console.log for generated output

The system: OrangePi PC Plus board with Armbian Linux 4.19.62-sunxi (based on Debian Stretch) OctoPrint 1.3.12

tedder commented 4 years ago
The headers or library files could not be found for zlib,

Install zlib1g, if it still fails install zlib1g-dev.

rafalmag commented 4 years ago

Thanks @tedder! I did not realize that I need the additional non-python packages. Thanks to your comment I fixed it by installing all missing packages:

sudo apt-get install libtiff4-dev libjpeg8-dev zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev tcl8.5-dev tk8.5-dev python-tk

Reference https://pillow.readthedocs.io/en/latest/installation.html and https://stackoverflow.com/questions/34631806/fail-during-installation-of-pillow-python-module-in-linux . Issue can be closed.