I want to be able to run this on the device itself to export PDFs to a directory.
I've tried installing python 3 and other items via toltec. I've done the following:
opkg install python-3 python3-pip python3-dev libxml2 libxml2-dev libxslt python3-lxml
Then when I try:
pip install rmrl
I get a bunch of errors below.
Is it because there no Entware package for libxslt-dev
? I've tried this:
opkg install libxslt-devel
Unknown package 'libxslt-devel'.
Errors I get on pip install rmrl
:
Collecting rmrl
Using cached rmrl-0.2.1-py3-none-any.whl (519 kB)
Collecting pdfrw<0.5,>=0.4
Using cached pdfrw-0.4-py2.py3-none-any.whl (69 kB)
Collecting svglib<2.0.0,>=1.0.1
Using cached svglib-1.2.1.tar.gz (896 kB)
Collecting xdg<6.0.0,>=5.0.1
Using cached xdg-5.1.1-py3-none-any.whl (5.0 kB)
Collecting reportlab<4.0.0,>=3.5.59
Using cached reportlab-3.6.8.tar.gz (4.5 MB)
Collecting pillow>=4.0.0
Using cached Pillow-9.0.1.tar.gz (49.5 MB)
Collecting lxml
Using cached lxml-4.8.0.tar.gz (3.2 MB)
ERROR: Command errored out with exit status 1:
command: /opt/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-gpdmkj2i/lxml_be3a8c5a26a64a79b1597aadcc844957/setup.py'"'"'; __file__='"'"'/tmp/pip-install-gpdmkj2i/lxml_be3a8c5a26a64a79b1597aadcc844957/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'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-uumkos1o
cwd: /tmp/pip-install-gpdmkj2i/lxml_be3a8c5a26a64a79b1597aadcc844957/
Complete output (3 lines):
Building lxml version 4.8.0.
Building without Cython.
Error: Please make sure the libxml2 and libxslt development packages are installed.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/3b/94/e2b1b3bad91d15526c7e38918795883cee18b93f6785ea8ecf13f8ffa01e/lxml-4.8.0.tar.gz#sha256=f63f62fc60e6228a4ca9abae28228f35e1bd3ce675013d1dfb828688d50c6e23 (from https://pypi.org/simple/lxml/) (requires-python:>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, != 3.4.*). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached lxml-4.7.1.tar.gz (3.2 MB)
ERROR: Command errored out with exit status 1:
command: /opt/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-gpdmkj2i/lxml_9897fc1680fc4fe7bf94e67fd3453bc3/setup.py'"'"'; __file__='"'"'/tmp/pip-install-gpdmkj2i/lxml_9897fc1680fc4fe7bf94e67fd3453bc3/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'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-4qqd7cvf
cwd: /tmp/pip-install-gpdmkj2i/lxml_9897fc1680fc4fe7bf94e67fd3453bc3/
Complete output (3 lines):
Building lxml version 4.7.1.
Building without Cython.
Error: Please make sure the libxml2 and libxslt development packages are installed.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/84/74/4a97db45381316cd6e7d4b1eb707d7f60d38cb2985b5dfd7251a340404da/lxml-4.7.1.tar.gz#sha256=a1613838aa6b89af4ba10a0f3a972836128801ed008078f8c1244e65958f1b24 (from https://pypi.org/simple/lxml/) (requires-python:>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, != 3.4.*). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached lxml-4.6.5.tar.gz (3.2 MB)
ERROR: Command errored out with exit status 1:
command: /opt/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-gpdmkj2i/lxml_25b1ad733309462c9b1acde05cb640a6/setup.py'"'"'; __file__='"'"'/tmp/pip-install-gpdmkj2i/lxml_25b1ad733309462c9b1acde05cb640a6/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'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-t67f5uvh
cwd: /tmp/pip-install-gpdmkj2i/lxml_25b1ad733309462c9b1acde05cb640a6/
Complete output (3 lines):
Building lxml version 4.6.5.
Building without Cython.
Error: Please make sure the libxml2 and libxslt development packages are installed.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/e6/e1/34b3ab08553fe9a30e15b2bb9d1803a49d7d907dd9f245638839190042f0/lxml-4.6.5.tar.gz#sha256=6e84edecc3a82f90d44ddee2ee2a2630d4994b8471816e226d2b771cda7ac4ca (from https://pypi.org/simple/lxml/) (requires-python:>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, != 3.4.*). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached lxml-4.6.4.tar.gz (3.2 MB)
ERROR: Command errored out with exit status 1:
command: /opt/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-gpdmkj2i/lxml_e3bc24bf52d54b969d8debee5b7a4e18/setup.py'"'"'; __file__='"'"'/tmp/pip-install-gpdmkj2i/lxml_e3bc24bf52d54b969d8debee5b7a4e18/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'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-ten5m3nq
cwd: /tmp/pip-install-gpdmkj2i/lxml_e3bc24bf52d54b969d8debee5b7a4e18/
Complete output (3 lines):
Building lxml version 4.6.4.
Building without Cython.
Error: Please make sure the libxml2 and libxslt development packages are installed.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/fe/4c/a4dbb4e389f75e69dbfb623462dfe0d0e652107a95481d40084830d29b37/lxml-4.6.4.tar.gz#sha256=daf9bd1fee31f1c7a5928b3e1059e09a8d683ea58fb3ffc773b6c88cb8d1399c (from https://pypi.org/simple/lxml/) (requires-python:>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, != 3.4.*). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached lxml-4.6.3.tar.gz (3.2 MB)
ERROR: Command errored out with exit status 1:
command: /opt/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-gpdmkj2i/lxml_63004563a68546a698c1583822c0341f/setup.py'"'"'; __file__='"'"'/tmp/pip-install-gpdmkj2i/lxml_63004563a68546a698c1583822c0341f/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'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-puy8pbiv
cwd: /tmp/pip-install-gpdmkj2i/lxml_63004563a68546a698c1583822c0341f/
Complete output (3 lines):
Building lxml version 4.6.3.
Building without Cython.
Error: Please make sure the libxml2 and libxslt development packages are installed.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/e5/21/a2e4517e3d216f0051687eea3d3317557bde68736f038a3b105ac3809247/lxml-4.6.3.tar.gz#sha256=39b78571b3b30645ac77b95f7c69d1bffc4cf8c3b157c435a34da72e78c82468 (from https://pypi.org/simple/lxml/) (requires-python:>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, != 3.4.*). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached lxml-4.6.2.tar.gz (3.2 MB)
ERROR: Command errored out with exit status 1:
command: /opt/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-gpdmkj2i/lxml_04c27419a28c4b08923a74df446ad40b/setup.py'"'"'; __file__='"'"'/tmp/pip-install-gpdmkj2i/lxml_04c27419a28c4b08923a74df446ad40b/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'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-bvlxwq6f
cwd: /tmp/pip-install-gpdmkj2i/lxml_04c27419a28c4b08923a74df446ad40b/
Complete output (3 lines):
Building lxml version 4.6.2.
Building without Cython.
Error: Please make sure the libxml2 and libxslt development packages are installed.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/db/f7/43fecb94d66959c1e23aa53d6161231dca0e93ec500224cf31b3c4073e37/lxml-4.6.2.tar.gz#sha256=cd11c7e8d21af997ee8079037fff88f16fda188a9776eb4b81c7e4c9c0a7d7fc (from https://pypi.org/simple/lxml/) (requires-python:>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, != 3.4.*). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached lxml-4.6.1.tar.gz (3.2 MB)
ERROR: Command errored out with exit status 1:
command: /opt/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-gpdmkj2i/lxml_498dbd20f35f47ada88bbcd0ddb96ba8/setup.py'"'"'; __file__='"'"'/tmp/pip-install-gpdmkj2i/lxml_498dbd20f35f47ada88bbcd0ddb96ba8/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'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-4kxza0d7
cwd: /tmp/pip-install-gpdmkj2i/lxml_498dbd20f35f47ada88bbcd0ddb96ba8/
Complete output (3 lines):
Building lxml version 4.6.1.
Building without Cython.
Error: Please make sure the libxml2 and libxslt development packages are installed.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/c5/2f/a0d8aa3eee6d53d5723d89e1fc32eee11e76801b424e30b55c7aa6302b01/lxml-4.6.1.tar.gz#sha256=c152b2e93b639d1f36ec5a8ca24cde4a8eefb2b6b83668fcd8e83a67badcb367 (from https://pypi.org/simple/lxml/) (requires-python:>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, != 3.4.*). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached lxml-4.6.0.tar.gz (3.2 MB)
ERROR: Command errored out with exit status 1:
command: /opt/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-gpdmkj2i/lxml_50b0dfd6c92641aebd64ea7ed392a312/setup.py'"'"'; __file__='"'"'/tmp/pip-install-gpdmkj2i/lxml_50b0dfd6c92641aebd64ea7ed392a312/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'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-703vabft
cwd: /tmp/pip-install-gpdmkj2i/lxml_50b0dfd6c92641aebd64ea7ed392a312/
Complete output (3 lines):
Building lxml version 4.6.0.
Building without Cython.
Error: Please make sure the libxml2 and libxslt development packages are installed.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/3c/5a/81446fb5a4706bb07a98427634ab93219dc7fa393841d81f5da5c7e151b7/lxml-4.6.0.tar.gz#sha256=8319abacbbe9fd9791c2e3c23deb9b6a16abc0fcbdfcc26722035e865b3d207f (from https://pypi.org/simple/lxml/) (requires-python:>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, != 3.4.*). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
reMarkable: ~/convert/ pip install rmrl
Collecting rmrl
Using cached rmrl-0.2.1-py3-none-any.whl (519 kB)
Collecting xdg<6.0.0,>=5.0.1
Using cached xdg-5.1.1-py3-none-any.whl (5.0 kB)
Collecting svglib<2.0.0,>=1.0.1
Using cached svglib-1.2.1.tar.gz (896 kB)
Collecting reportlab<4.0.0,>=3.5.59
Using cached reportlab-3.6.8.tar.gz (4.5 MB)
Collecting pdfrw<0.5,>=0.4
Using cached pdfrw-0.4-py2.py3-none-any.whl (69 kB)
Collecting pillow>=4.0.0
Using cached Pillow-9.0.1.tar.gz (49.5 MB)
Requirement already satisfied: lxml in /opt/lib/python3.10/site-packages (from svglib<2.0.0,>=1.0.1->rmrl) (4.6.4)
Collecting tinycss2>=0.6.0
Downloading tinycss2-1.1.1-py3-none-any.whl (21 kB)
Collecting cssselect2>=0.2.0
Downloading cssselect2-0.5.0-py3-none-any.whl (15 kB)
Collecting webencodings
Downloading webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
Using legacy 'setup.py install' for reportlab, since package 'wheel' is not installed.
Using legacy 'setup.py install' for pillow, since package 'wheel' is not installed.
Using legacy 'setup.py install' for svglib, since package 'wheel' is not installed.
Installing collected packages: webencodings, tinycss2, pillow, reportlab, cssselect2, xdg, svglib, pdfrw, rmrl
Running setup.py install for pillow ... error
ERROR: Command errored out with exit status 1:
command: /opt/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-vzrk0rdx/pillow_63dcc110421046ebab7061d959a6be4b/setup.py'"'"'; __file__='"'"'/tmp/pip-install-vzrk0rdx/pillow_63dcc110421046ebab7061d959a6be4b/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 /tmp/pip-record-zrig3tko/install-record.txt --single-version-externally-managed --compile --install-headers /opt/include/python3.10/pillow
cwd: /tmp/pip-install-vzrk0rdx/pillow_63dcc110421046ebab7061d959a6be4b/
Complete output (163 lines):
running install
running build
running build_py
creating build
creating build/lib.linux-armv7l-3.10
creating build/lib.linux-armv7l-3.10/PIL
copying src/PIL/features.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/_version.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/_util.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/_tkinter_finder.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/_binary.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/__main__.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/__init__.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/XpmImagePlugin.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/XbmImagePlugin.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/XVThumbImagePlugin.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/WmfImagePlugin.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/WebPImagePlugin.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/WalImageFile.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/TiffTags.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/TiffImagePlugin.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/TgaImagePlugin.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/TarIO.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/SunImagePlugin.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/SpiderImagePlugin.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/SgiImagePlugin.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/PyAccess.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/PsdImagePlugin.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/PpmImagePlugin.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/PngImagePlugin.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/PixarImagePlugin.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/PdfParser.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/PdfImagePlugin.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/PcxImagePlugin.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/PcfFontFile.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/PcdImagePlugin.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/PalmImagePlugin.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/PaletteFile.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/PSDraw.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/MspImagePlugin.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/MpoImagePlugin.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/MpegImagePlugin.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/MicImagePlugin.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/McIdasImagePlugin.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/JpegPresets.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/JpegImagePlugin.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/Jpeg2KImagePlugin.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/IptcImagePlugin.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/ImtImagePlugin.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/ImageWin.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/ImageTransform.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/ImageTk.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/ImageStat.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/ImageShow.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/ImageSequence.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/ImageQt.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/ImagePath.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/ImagePalette.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/ImageOps.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/ImageMorph.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/ImageMode.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/ImageMath.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/ImageGrab.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/ImageFont.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/ImageFilter.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/ImageFile.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/ImageEnhance.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/ImageDraw2.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/ImageDraw.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/ImageColor.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/ImageCms.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/ImageChops.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/Image.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/ImImagePlugin.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/IcoImagePlugin.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/IcnsImagePlugin.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/Hdf5StubImagePlugin.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/GribStubImagePlugin.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/GimpPaletteFile.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/GimpGradientFile.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/GifImagePlugin.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/GdImageFile.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/GbrImagePlugin.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/FtexImagePlugin.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/FpxImagePlugin.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/FontFile.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/FliImagePlugin.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/FitsStubImagePlugin.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/ExifTags.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/EpsImagePlugin.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/DdsImagePlugin.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/DcxImagePlugin.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/CurImagePlugin.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/ContainerIO.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/BufrStubImagePlugin.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/BmpImagePlugin.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/BlpImagePlugin.py -> build/lib.linux-armv7l-3.10/PIL
copying src/PIL/BdfFontFile.py -> build/lib.linux-armv7l-3.10/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 '.clang-format'
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching '.editorconfig'
warning: no previously-included files found matching '.readthedocs.yml'
warning: no previously-included files found matching 'codecov.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 '.ci'
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 "/tmp/pip-install-vzrk0rdx/pillow_63dcc110421046ebab7061d959a6be4b/setup.py", line 989, in <module>
setup(
File "/opt/lib/python3.10/site-packages/setuptools/__init__.py", line 153, in setup
File "/opt/lib/python3.10/distutils/core.py", line 148, in setup
File "/opt/lib/python3.10/distutils/dist.py", line 966, in run_commands
File "/opt/lib/python3.10/distutils/dist.py", line 985, in run_command
File "/opt/lib/python3.10/site-packages/setuptools/command/install.py", line 61, in run
File "/opt/lib/python3.10/distutils/command/install.py", line 568, in run
File "/opt/lib/python3.10/distutils/cmd.py", line 313, in run_command
File "/opt/lib/python3.10/distutils/dist.py", line 985, in run_command
File "/opt/lib/python3.10/distutils/command/build.py", line 135, in run
File "/opt/lib/python3.10/distutils/cmd.py", line 313, in run_command
File "/opt/lib/python3.10/distutils/dist.py", line 985, in run_command
File "/opt/lib/python3.10/site-packages/setuptools/command/build_ext.py", line 79, in run
File "/opt/lib/python3.10/distutils/command/build_ext.py", line 343, in run
File "/tmp/pip-install-vzrk0rdx/pillow_63dcc110421046ebab7061d959a6be4b/setup.py", line 804, 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 "/tmp/pip-install-vzrk0rdx/pillow_63dcc110421046ebab7061d959a6be4b/setup.py", line 1009, 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: /opt/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-vzrk0rdx/pillow_63dcc110421046ebab7061d959a6be4b/setup.py'"'"'; __file__='"'"'/tmp/pip-install-vzrk0rdx/pillow_63dcc110421046ebab7061d959a6be4b/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 /tmp/pip-record-zrig3tko/install-record.txt --single-version-externally-managed --compile --install-headers /opt/include/python3.10/pillow Check the logs for full command output.
WARNING: You are using pip version 21.2.3; however, version 22.0.3 is available.
You should consider upgrading via the '/opt/bin/python3 -m pip install --upgrade pip' command.