volume1/\@appstore/py3k/usr/local/bin/pip3 install docx
Defaulting to user installation because normal site-packages is not writeable
Collecting docx
Downloading docx-0.2.4.tar.gz (54 kB)
|████████████████████████████████| 54 kB 276 kB/s
Collecting lxml
Using cached lxml-4.5.0.tar.gz (4.5 MB)
Collecting Pillow>=2.0
Using cached Pillow-7.0.0.tar.gz (38.2 MB)
Building wheels for collected packages: docx, lxml, Pillow
Building wheel for docx (setup.py) ... done
Created wheel for docx: filename=docx-0.2.4-py3-none-any.whl size=53927 sha256=d6ff3d9f2549fe9a504c5152c9f0e2a0fb1882dd288c87314337ed1355b6b46b
Stored in directory: /volume1/homes/admin/.cache/pip/wheels/8c/80/1a/d0d60c7619a305c7101d546faf7fa43161eeeb60e64a1cedaf
Building wheel for lxml (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/opt/tmp/pip-install-8yk71h5u/lxml/setup.py'"'"'; __file__='"'"'/opt/tmp/pip-install-8yk71h5u/lxml/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 /opt/tmp/pip-wheel-5ghfvs17
cwd: /opt/tmp/pip-install-8yk71h5u/lxml/
Complete output (90 lines):
Building lxml version 4.5.0.
Building without Cython.
ERROR: b'/bin/sh: xslt-config: command not found\n'
** make sure the development packages of libxml2 and libxslt are installed **
Using build configuration of libxslt
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-armv7l-3.5
creating build/lib.linux-armv7l-3.5/lxml
copying src/lxml/__init__.py -> build/lib.linux-armv7l-3.5/lxml
copying src/lxml/usedoctest.py -> build/lib.linux-armv7l-3.5/lxml
copying src/lxml/builder.py -> build/lib.linux-armv7l-3.5/lxml
copying src/lxml/pyclasslookup.py -> build/lib.linux-armv7l-3.5/lxml
copying src/lxml/sax.py -> build/lib.linux-armv7l-3.5/lxml
copying src/lxml/doctestcompare.py -> build/lib.linux-armv7l-3.5/lxml
copying src/lxml/cssselect.py -> build/lib.linux-armv7l-3.5/lxml
copying src/lxml/_elementpath.py -> build/lib.linux-armv7l-3.5/lxml
copying src/lxml/ElementInclude.py -> build/lib.linux-armv7l-3.5/lxml
creating build/lib.linux-armv7l-3.5/lxml/includes
copying src/lxml/includes/__init__.py -> build/lib.linux-armv7l-3.5/lxml/includes
creating build/lib.linux-armv7l-3.5/lxml/html
copying src/lxml/html/__init__.py -> build/lib.linux-armv7l-3.5/lxml/html
copying src/lxml/html/usedoctest.py -> build/lib.linux-armv7l-3.5/lxml/html
copying src/lxml/html/soupparser.py -> build/lib.linux-armv7l-3.5/lxml/html
copying src/lxml/html/builder.py -> build/lib.linux-armv7l-3.5/lxml/html
copying src/lxml/html/diff.py -> build/lib.linux-armv7l-3.5/lxml/html
copying src/lxml/html/defs.py -> build/lib.linux-armv7l-3.5/lxml/html
copying src/lxml/html/html5parser.py -> build/lib.linux-armv7l-3.5/lxml/html
copying src/lxml/html/ElementSoup.py -> build/lib.linux-armv7l-3.5/lxml/html
copying src/lxml/html/_setmixin.py -> build/lib.linux-armv7l-3.5/lxml/html
copying src/lxml/html/formfill.py -> build/lib.linux-armv7l-3.5/lxml/html
copying src/lxml/html/_diffcommand.py -> build/lib.linux-armv7l-3.5/lxml/html
copying src/lxml/html/clean.py -> build/lib.linux-armv7l-3.5/lxml/html
copying src/lxml/html/_html5builder.py -> build/lib.linux-armv7l-3.5/lxml/html
creating build/lib.linux-armv7l-3.5/lxml/isoschematron
copying src/lxml/isoschematron/__init__.py -> build/lib.linux-armv7l-3.5/lxml/isoschematron
copying src/lxml/etree.h -> build/lib.linux-armv7l-3.5/lxml
copying src/lxml/etree_api.h -> build/lib.linux-armv7l-3.5/lxml
copying src/lxml/lxml.etree.h -> build/lib.linux-armv7l-3.5/lxml
copying src/lxml/lxml.etree_api.h -> build/lib.linux-armv7l-3.5/lxml
copying src/lxml/includes/relaxng.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
copying src/lxml/includes/config.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
copying src/lxml/includes/schematron.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
copying src/lxml/includes/xmlparser.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
copying src/lxml/includes/uri.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
copying src/lxml/includes/xinclude.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
copying src/lxml/includes/htmlparser.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
copying src/lxml/includes/etreepublic.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
copying src/lxml/includes/xslt.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
copying src/lxml/includes/tree.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
copying src/lxml/includes/dtdvalid.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
copying src/lxml/includes/xmlschema.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
copying src/lxml/includes/xmlerror.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
copying src/lxml/includes/xpath.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
copying src/lxml/includes/__init__.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
copying src/lxml/includes/c14n.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
copying src/lxml/includes/lxml-version.h -> build/lib.linux-armv7l-3.5/lxml/includes
copying src/lxml/includes/etree_defs.h -> build/lib.linux-armv7l-3.5/lxml/includes
creating build/lib.linux-armv7l-3.5/lxml/isoschematron/resources
creating build/lib.linux-armv7l-3.5/lxml/isoschematron/resources/rng
copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.linux-armv7l-3.5/lxml/isoschematron/resources/rng
creating build/lib.linux-armv7l-3.5/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.linux-armv7l-3.5/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.linux-armv7l-3.5/lxml/isoschematron/resources/xsl
creating build/lib.linux-armv7l-3.5/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl -> build/lib.linux-armv7l-3.5/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl -> build/lib.linux-armv7l-3.5/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl -> build/lib.linux-armv7l-3.5/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl -> build/lib.linux-armv7l-3.5/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl -> build/lib.linux-armv7l-3.5/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.linux-armv7l-3.5/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
running build_ext
building 'lxml.etree' extension
creating build/temp.linux-armv7l-3.5
creating build/temp.linux-armv7l-3.5/src
creating build/temp.linux-armv7l-3.5/src/lxml
/usr/local/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-ccache-gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DSYNO_FIX_FLAG_BUG -DOPENSSL_NO_SSL3 -DOPENSSL_NO_SSL2 -mhard-float -mfpu=vfpv3-d16 -march=armv7-a -mcpu=marvell-pj4 -mtune=marvell-pj4 -DSYNOPLAT_F_ARMV7 -O2 -fno-diagnostics-show-caret -Wno-unused-local-typedefs -include /usr/syno/include/platformconfig.h -DSYNO_ENVIRONMENT -DBUILD_ARCH=32 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -DSDK_VER_MIN_REQUIRED=600 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -O2 -Wno-unused-result -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -Isrc -Isrc/lxml/includes -I/volume1/@appstore/py3k/usr/local/include/python3.5m -c src/lxml/etree.c -o build/temp.linux-armv7l-3.5/src/lxml/etree.o -w
unable to execute '/usr/local/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-ccache-gcc': No such file or directory
Compile failed: command '/usr/local/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-ccache-gcc' failed with exit status 1
creating opt
creating opt/tmp
cc -I/usr/include/libxml2 -c /opt/tmp/xmlXPathInitw7n63wlz.c -o opt/tmp/xmlXPathInitw7n63wlz.o
unable to execute 'cc': No such file or directory
*********************************************************************************
Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?
*********************************************************************************
error: command '/usr/local/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-ccache-gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for lxml
Running setup.py clean for lxml
Building wheel for Pillow (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/opt/tmp/pip-install-8yk71h5u/Pillow/setup.py'"'"'; __file__='"'"'/opt/tmp/pip-install-8yk71h5u/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 /opt/tmp/pip-wheel-ttmrfcwf
cwd: /opt/tmp/pip-install-8yk71h5u/Pillow/
Complete output (172 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-armv7l-3.5
creating build/lib.linux-armv7l-3.5/PIL
copying src/PIL/PdfParser.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/BlpImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/CurImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/PcfFontFile.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/JpegImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/TgaImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/FtexImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/IptcImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/WalImageFile.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/__init__.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/ImageFont.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/_binary.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/ImageFile.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/FontFile.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/PngImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/GifImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/WmfImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/Hdf5StubImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/GimpPaletteFile.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/McIdasImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/PyAccess.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/Image.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/PpmImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/GribStubImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/MpegImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/PsdImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/TiffTags.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/ImageDraw2.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/ImageEnhance.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/features.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/ImImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/FitsStubImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/ExifTags.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/EpsImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/ImageColor.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/ImageOps.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/ImageWin.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/DdsImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/ImageFilter.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/_util.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/FpxImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/ImageMorph.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/GdImageFile.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/ImageTk.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/_version.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/WebPImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/XpmImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/ImageQt.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/ImageSequence.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/PcxImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/PalmImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/PixarImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/XbmImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/GimpGradientFile.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/Jpeg2KImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/PdfImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/MpoImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/FliImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/JpegPresets.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/ImagePalette.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/PSDraw.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/SpiderImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/ImageTransform.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/ImageGrab.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/MicImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/BdfFontFile.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/ImageStat.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/IcnsImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/BufrStubImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/_tkinter_finder.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/ImtImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/ImageMode.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/DcxImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/PaletteFile.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/SunImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/MspImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/ImageMath.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/XVThumbImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/ImageDraw.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/PcdImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/TarIO.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/TiffImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/BmpImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/ImagePath.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/SgiImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/ImageChops.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/__main__.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/IcoImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/ImageCms.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/ImageShow.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/ContainerIO.py -> build/lib.linux-armv7l-3.5/PIL
copying src/PIL/GbrImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
running egg_info
writing dependency_links to src/Pillow.egg-info/dependency_links.txt
writing src/Pillow.egg-info/PKG-INFO
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'
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 "/opt/tmp/pip-install-8yk71h5u/Pillow/setup.py", line 892, in <module>
zip_safe=not (debug_build() or PLATFORM_MINGW),
File "/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/setuptools/__init__.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/volume1/@appstore/py3k/usr/local/lib/python3.5/distutils/core.py", line 148, in setup
dist.run_commands()
File "/volume1/@appstore/py3k/usr/local/lib/python3.5/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/volume1/@appstore/py3k/usr/local/lib/python3.5/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/var/services/homes/admin/.local/lib/python3.5/site-packages/wheel/bdist_wheel.py", line 223, in run
self.run_command('build')
File "/volume1/@appstore/py3k/usr/local/lib/python3.5/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/volume1/@appstore/py3k/usr/local/lib/python3.5/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/volume1/@appstore/py3k/usr/local/lib/python3.5/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/volume1/@appstore/py3k/usr/local/lib/python3.5/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/volume1/@appstore/py3k/usr/local/lib/python3.5/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/volume1/@appstore/py3k/usr/local/lib/python3.5/distutils/command/build_ext.py", line 338, in run
self.build_extensions()
File "/opt/tmp/pip-install-8yk71h5u/Pillow/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 "/opt/tmp/pip-install-8yk71h5u/Pillow/setup.py", line 907, 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
Successfully built docx
Failed to build lxml Pillow
Installing collected packages: lxml, Pillow, docx
Running setup.py install for lxml ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/opt/tmp/pip-install-8yk71h5u/lxml/setup.py'"'"'; __file__='"'"'/opt/tmp/pip-install-8yk71h5u/lxml/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /opt/tmp/pip-record-e0uxnzoo/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /var/services/homes/admin/.local/include/python3.5m/lxml
cwd: /opt/tmp/pip-install-8yk71h5u/lxml/
Complete output (88 lines):
Building lxml version 4.5.0.
Building without Cython.
ERROR: b'/bin/sh: xslt-config: command not found\n'
** make sure the development packages of libxml2 and libxslt are installed **
Using build configuration of libxslt
running install
running build
running build_py
creating build
creating build/lib.linux-armv7l-3.5
creating build/lib.linux-armv7l-3.5/lxml
copying src/lxml/__init__.py -> build/lib.linux-armv7l-3.5/lxml
copying src/lxml/usedoctest.py -> build/lib.linux-armv7l-3.5/lxml
copying src/lxml/builder.py -> build/lib.linux-armv7l-3.5/lxml
copying src/lxml/pyclasslookup.py -> build/lib.linux-armv7l-3.5/lxml
copying src/lxml/sax.py -> build/lib.linux-armv7l-3.5/lxml
copying src/lxml/doctestcompare.py -> build/lib.linux-armv7l-3.5/lxml
copying src/lxml/cssselect.py -> build/lib.linux-armv7l-3.5/lxml
copying src/lxml/_elementpath.py -> build/lib.linux-armv7l-3.5/lxml
copying src/lxml/ElementInclude.py -> build/lib.linux-armv7l-3.5/lxml
creating build/lib.linux-armv7l-3.5/lxml/includes
copying src/lxml/includes/__init__.py -> build/lib.linux-armv7l-3.5/lxml/includes
creating build/lib.linux-armv7l-3.5/lxml/html
copying src/lxml/html/__init__.py -> build/lib.linux-armv7l-3.5/lxml/html
copying src/lxml/html/usedoctest.py -> build/lib.linux-armv7l-3.5/lxml/html
copying src/lxml/html/soupparser.py -> build/lib.linux-armv7l-3.5/lxml/html
copying src/lxml/html/builder.py -> build/lib.linux-armv7l-3.5/lxml/html
copying src/lxml/html/diff.py -> build/lib.linux-armv7l-3.5/lxml/html
copying src/lxml/html/defs.py -> build/lib.linux-armv7l-3.5/lxml/html
copying src/lxml/html/html5parser.py -> build/lib.linux-armv7l-3.5/lxml/html
copying src/lxml/html/ElementSoup.py -> build/lib.linux-armv7l-3.5/lxml/html
copying src/lxml/html/_setmixin.py -> build/lib.linux-armv7l-3.5/lxml/html
copying src/lxml/html/formfill.py -> build/lib.linux-armv7l-3.5/lxml/html
copying src/lxml/html/_diffcommand.py -> build/lib.linux-armv7l-3.5/lxml/html
copying src/lxml/html/clean.py -> build/lib.linux-armv7l-3.5/lxml/html
copying src/lxml/html/_html5builder.py -> build/lib.linux-armv7l-3.5/lxml/html
creating build/lib.linux-armv7l-3.5/lxml/isoschematron
copying src/lxml/isoschematron/__init__.py -> build/lib.linux-armv7l-3.5/lxml/isoschematron
copying src/lxml/etree.h -> build/lib.linux-armv7l-3.5/lxml
copying src/lxml/etree_api.h -> build/lib.linux-armv7l-3.5/lxml
copying src/lxml/lxml.etree.h -> build/lib.linux-armv7l-3.5/lxml
copying src/lxml/lxml.etree_api.h -> build/lib.linux-armv7l-3.5/lxml
copying src/lxml/includes/relaxng.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
copying src/lxml/includes/config.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
copying src/lxml/includes/schematron.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
copying src/lxml/includes/xmlparser.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
copying src/lxml/includes/uri.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
copying src/lxml/includes/xinclude.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
copying src/lxml/includes/htmlparser.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
copying src/lxml/includes/etreepublic.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
copying src/lxml/includes/xslt.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
copying src/lxml/includes/tree.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
copying src/lxml/includes/dtdvalid.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
copying src/lxml/includes/xmlschema.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
copying src/lxml/includes/xmlerror.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
copying src/lxml/includes/xpath.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
copying src/lxml/includes/__init__.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
copying src/lxml/includes/c14n.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
copying src/lxml/includes/lxml-version.h -> build/lib.linux-armv7l-3.5/lxml/includes
copying src/lxml/includes/etree_defs.h -> build/lib.linux-armv7l-3.5/lxml/includes
creating build/lib.linux-armv7l-3.5/lxml/isoschematron/resources
creating build/lib.linux-armv7l-3.5/lxml/isoschematron/resources/rng
copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.linux-armv7l-3.5/lxml/isoschematron/resources/rng
creating build/lib.linux-armv7l-3.5/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.linux-armv7l-3.5/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.linux-armv7l-3.5/lxml/isoschematron/resources/xsl
creating build/lib.linux-armv7l-3.5/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl -> build/lib.linux-armv7l-3.5/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl -> build/lib.linux-armv7l-3.5/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl -> build/lib.linux-armv7l-3.5/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl -> build/lib.linux-armv7l-3.5/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl -> build/lib.linux-armv7l-3.5/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.linux-armv7l-3.5/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
running build_ext
building 'lxml.etree' extension
creating build/temp.linux-armv7l-3.5
creating build/temp.linux-armv7l-3.5/src
creating build/temp.linux-armv7l-3.5/src/lxml
/usr/local/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-ccache-gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DSYNO_FIX_FLAG_BUG -DOPENSSL_NO_SSL3 -DOPENSSL_NO_SSL2 -mhard-float -mfpu=vfpv3-d16 -march=armv7-a -mcpu=marvell-pj4 -mtune=marvell-pj4 -DSYNOPLAT_F_ARMV7 -O2 -fno-diagnostics-show-caret -Wno-unused-local-typedefs -include /usr/syno/include/platformconfig.h -DSYNO_ENVIRONMENT -DBUILD_ARCH=32 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -DSDK_VER_MIN_REQUIRED=600 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -O2 -Wno-unused-result -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -Isrc -Isrc/lxml/includes -I/volume1/@appstore/py3k/usr/local/include/python3.5m -c src/lxml/etree.c -o build/temp.linux-armv7l-3.5/src/lxml/etree.o -w
unable to execute '/usr/local/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-ccache-gcc': No such file or directory
Compile failed: command '/usr/local/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-ccache-gcc' failed with exit status 1
cc -I/usr/include/libxml2 -c /opt/tmp/xmlXPathInits12tvym5.c -o opt/tmp/xmlXPathInits12tvym5.o
unable to execute 'cc': No such file or directory
*********************************************************************************
Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?
*********************************************************************************
error: command '/usr/local/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-ccache-gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/local/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/opt/tmp/pip-install-8yk71h5u/lxml/setup.py'"'"'; __file__='"'"'/opt/tmp/pip-install-8yk71h5u/lxml/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /opt/tmp/pip-record-e0uxnzoo/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /var/services/homes/admin/.local/include/python3.5m/lxml Check the logs for full command output.
cc -I/usr/include/libxml2 -c /opt/tmp/xmlXPathInit80x1qqz_.c -o opt/tmp/xmlXPathInit80x1qqz_.o
unable to execute 'cc': No such file or directory
*********************************************************************************
So, even as someone who has not so much experience in these things I would say that I lack three things: libxml2, libxslt, and usr/local/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-ccache-gcc
About the first two: I cannot do an apt-get. I am working on a synology diskstation.
What should I do?
./pip3 search gcc
clang-fake-gcc (0.2.1) - A GCC-like compiler interface, but runs Clang instead. Isn't that neat?
gcc7 (0.0.9) - GCC v7 binaries
Demangler (0.2) - A demangler package for gcc 3.x and gcc 4.x
gccanalyze (0.1.2) - Do static analysis with GCC.
gccoutputparser (0.1) - Parses gcc/llvm output
gccinvocation (0.1) - Library for parsing GCC command-line options
scons-tool-gcccov (0.1.2) - SCons support for gcc code coverage features
nim-install (0.5.0) - install nim compiler in Linux virtualenv assumes gcc
builddriver (0.8.0) - Execute make, cmake, maven and parses gcc/llvm output
bcx-basic-compile-tool (v 1.0) - bcx basic gcc compile tool works with any ide
resolve-march-native (0.9.4) - Tool to determine what GCC flags -march=native would resolve into
cPrometheus (0.1) - A monkey patch for prometheus_client, using GCC atomics for extra speed on CPython
ccsyspath (1.1.0) - Find the system include paths for clang and gcc C/C++ compilers
fpvgcc (1.0.0) - Analysing code footprint on embedded microcontrollers using GCC generated Map files
Cpyx (0.2.2.0) - gcc/cython/distutils wrapper for compiling Cython and C code directly from python
minibuild (1.0.9) - Build system aimed to be a pure Python alternative to GNU Make with builtin support of MSVS, GCC, clang
./pip3 install gcc7
Defaulting to user installation because normal site-packages is not
writeable
ERROR: Could not find a version that satisfies the requirement gcc7 (from versions: none)
ERROR: No matching distribution found for gcc7
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/dabcc97a-c8d6-41d0-a695-cbaf94411093%40googlegroups.com.
type -a python3
python3 is /opt/bin/python3
python3 is /usr/local/bin/python3
From both folders I tried ./python3 -m pip install docx, but both resulted in an error message. Nevertheless, I know that one of the two works with docx and runserver. So I guess, I installed it somehow in a different way and one of the python3s can use that.
Ha, so I found a package in /volume1/homes/admin/.local/lib/python3.8/site-packages/docx. As there is no other, I would say that however I got it there, this must be it. Could I just copy it to other site-packages folders?
ImportError: No module named 'lxml
# env CC=/usr/local/arm-marvell-linux-gnueabi/bin/arm-marvell-linux-gnueabi-gcc \
LD=/usr/local/arm-marvell-linux-gnueabi/bin/arm-marvell-linux-gnueabi-ld \
RANLIB=/usr/local/arm-marvell-linux-gnueabi/bin/arm-marvell-linux-gnueabi-ranlib \
CFLAGS="-I/usr/local/arm-marvell-linux-gnueabi/arm-marvell-linux-gnueabi/libc/include-mhard-float -mfpu=vfpv3-d16" \
LDFLAGS="-L/usr/local/arm-marvell-linux-gnueabi/arm-marvell-linux-gnueabi/libc/lib" \
./configure \
--host=armle-unknown-linux \
--target=armle-unknown-linux \
--build=i686-pc-linux" \
--prefix=/usr/local
include-mhard-float
/usr/local/arm-unknown-linux-gnueabi/lib/gcc/arm-unknown-linux-gnueabi/4.9.3$ ls *
crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o libgcc.a libgcc_eh.a libgcov.a
finclude:
include:
arm_acle.h float.h mmintrin.h sanitizer stdalign.h stdatomic.h stddef.h stdint-gcc.h stdnoreturn.h unwind.h
arm_neon.h iso646.h omp.h ssp stdarg.h stdbool.h stdfix.h stdint.h unwind-arm-common.h varargs.h
include-fixed:
limits.h README syslimits.h
install-tools:
fixinc_list gsyslimits.h include macro_list mkheaders.conf
plugin:
gtype.state include