cvarelaruiz / owi2plex

Exporter of EPG from OpenWebif to XMLTV to use with Plex
Mozilla Public License 2.0
27 stars 6 forks source link

Install on QNAP Nas #34

Open sickboy2711 opened 2 years ago

sickboy2711 commented 2 years ago

Hi Is it possibe to install the application on a QNAP-NAS? Have someone this done and can share a HowTo? I faild since more days with the command pip install owi2plex I've tryed by installing the Python App from the QNAP-App Store. If i Run the command i get this output from Putty: `[~] # /opt/QPython39/bin/pip install owi2plex Collecting owi2plex Using cached OWi2Plex-0.1a12-py2.py3-none-any.whl (13 kB) Requirement already satisfied: requests==2.21.0 in /share/CACHEDEV1_DATA/.qpkg/Q Python39/lib/python3.9/site-packages (from owi2plex) (2.21.0) Requirement already satisfied: pyyaml==5.1.2 in /share/CACHEDEV1_DATA/.qpkg/QPyt hon39/lib/python3.9/site-packages (from owi2plex) (5.1.2) Collecting lxml==4.3.2 Using cached lxml-4.3.2.tar.gz (4.4 MB) Preparing metadata (setup.py) ... done Collecting click==7.0 Using cached Click-7.0-py2.py3-none-any.whl (81 kB) Collecting future==0.17.1 Using cached future-0.17.1-py3-none-any.whl Requirement already satisfied: certifi>=2017.4.17 in /share/CACHEDEV1_DATA/.qpkg /QPython39/lib/python3.9/site-packages (from requests==2.21.0->owi2plex) (2020.1 2.5) Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /share/CACHEDEV1_DATA/.q pkg/QPython39/lib/python3.9/site-packages (from requests==2.21.0->owi2plex) (3.0 .4) Requirement already satisfied: idna<2.9,>=2.5 in /share/CACHEDEV1_DATA/.qpkg/QPy thon39/lib/python3.9/site-packages (from requests==2.21.0->owi2plex) (2.8) Requirement already satisfied: urllib3<1.25,>=1.21.1 in /share/CACHEDEV1_DATA/.q pkg/QPython39/lib/python3.9/site-packages (from requests==2.21.0->owi2plex) (1.2 4.3) Building wheels for collected packages: lxml Building wheel for lxml (setup.py) ... error ERROR: Command errored out with exit status 1: command: /opt/QPython39/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/share/CACHEDEV1_DATA/.qpkg/Entware-3x/tmp/pip-inst all-8igoxho5/lxml_5c01f687cf6b4c1b9f13d26414f70549/setup.py'"'"'; file='"'"' /share/CACHEDEV1_DATA/.qpkg/Entware-3x/tmp/pip-install-8igoxho5/lxml_5c01f687cf6 b4c1b9f13d26414f70549/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)( file) if os.path.exists(file) else io.StringIO('"'"'from setuptools impo rt setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f. close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /share/CAC HEDEV1_DATA/.qpkg/Entware-3x/tmp/pip-wheel-31sj2r9m cwd: /share/CACHEDEV1_DATA/.qpkg/Entware-3x/tmp/pip-install-8igoxho5/lxml _5c01f687cf6b4c1b9f13d26414f70549/ Complete output (88 lines): Building lxml version 4.3.2. 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-x86_64-3.9 creating build/lib.linux-x86_64-3.9/lxml copying src/lxml/sax.py -> build/lib.linux-x86_64-3.9/lxml copying src/lxml/_elementpath.py -> build/lib.linux-x86_64-3.9/lxml copying src/lxml/builder.py -> build/lib.linux-x86_64-3.9/lxml copying src/lxml/ElementInclude.py -> build/lib.linux-x86_64-3.9/lxml copying src/lxml/init.py -> build/lib.linux-x86_64-3.9/lxml copying src/lxml/usedoctest.py -> build/lib.linux-x86_64-3.9/lxml copying src/lxml/cssselect.py -> build/lib.linux-x86_64-3.9/lxml copying src/lxml/pyclasslookup.py -> build/lib.linux-x86_64-3.9/lxml copying src/lxml/doctestcompare.py -> build/lib.linux-x86_64-3.9/lxml creating build/lib.linux-x86_64-3.9/lxml/includes copying src/lxml/includes/init.py -> build/lib.linux-x86_64-3.9/lxml/inclu des creating build/lib.linux-x86_64-3.9/lxml/html copying src/lxml/html/diff.py -> build/lib.linux-x86_64-3.9/lxml/html copying src/lxml/html/ElementSoup.py -> build/lib.linux-x86_64-3.9/lxml/html copying src/lxml/html/html5parser.py -> build/lib.linux-x86_64-3.9/lxml/html copying src/lxml/html/builder.py -> build/lib.linux-x86_64-3.9/lxml/html copying src/lxml/html/init.py -> build/lib.linux-x86_64-3.9/lxml/html copying src/lxml/html/usedoctest.py -> build/lib.linux-x86_64-3.9/lxml/html copying src/lxml/html/_setmixin.py -> build/lib.linux-x86_64-3.9/lxml/html copying src/lxml/html/clean.py -> build/lib.linux-x86_64-3.9/lxml/html copying src/lxml/html/soupparser.py -> build/lib.linux-x86_64-3.9/lxml/html copying src/lxml/html/_html5builder.py -> build/lib.linux-x86_64-3.9/lxml/html copying src/lxml/html/_diffcommand.py -> build/lib.linux-x86_64-3.9/lxml/html copying src/lxml/html/formfill.py -> build/lib.linux-x86_64-3.9/lxml/html copying src/lxml/html/defs.py -> build/lib.linux-x86_64-3.9/lxml/html creating build/lib.linux-x86_64-3.9/lxml/isoschematron copying src/lxml/isoschematron/init.py -> build/lib.linux-x86_64-3.9/lxml/ isoschematron copying src/lxml/etree.h -> build/lib.linux-x86_64-3.9/lxml copying src/lxml/etree_api.h -> build/lib.linux-x86_64-3.9/lxml copying src/lxml/lxml.etree.h -> build/lib.linux-x86_64-3.9/lxml copying src/lxml/lxml.etree_api.h -> build/lib.linux-x86_64-3.9/lxml copying src/lxml/includes/etreepublic.pxd -> build/lib.linux-x86_64-3.9/lxml/i ncludes copying src/lxml/includes/xinclude.pxd -> build/lib.linux-x86_64-3.9/lxml/incl udes copying src/lxml/includes/xmlerror.pxd -> build/lib.linux-x86_64-3.9/lxml/incl udes copying src/lxml/includes/htmlparser.pxd -> build/lib.linux-x86_64-3.9/lxml/in cludes copying src/lxml/includes/config.pxd -> build/lib.linux-x86_64-3.9/lxml/includ es copying src/lxml/includes/init.pxd -> build/lib.linux-x86_64-3.9/lxml/incl udes copying src/lxml/includes/xmlschema.pxd -> build/lib.linux-x86_64-3.9/lxml/inc ludes copying src/lxml/includes/uri.pxd -> build/lib.linux-x86_64-3.9/lxml/includes copying src/lxml/includes/xslt.pxd -> build/lib.linux-x86_64-3.9/lxml/includes copying src/lxml/includes/tree.pxd -> build/lib.linux-x86_64-3.9/lxml/includes copying src/lxml/includes/xmlparser.pxd -> build/lib.linux-x86_64-3.9/lxml/inc ludes copying src/lxml/includes/dtdvalid.pxd -> build/lib.linux-x86_64-3.9/lxml/incl udes copying src/lxml/includes/xpath.pxd -> build/lib.linux-x86_64-3.9/lxml/include s copying src/lxml/includes/relaxng.pxd -> build/lib.linux-x86_64-3.9/lxml/inclu des copying src/lxml/includes/c14n.pxd -> build/lib.linux-x86_64-3.9/lxml/includes copying src/lxml/includes/schematron.pxd -> build/lib.linux-x86_64-3.9/lxml/in cludes copying src/lxml/includes/etree_defs.h -> build/lib.linux-x86_64-3.9/lxml/incl udes copying src/lxml/includes/lxml-version.h -> build/lib.linux-x86_64-3.9/lxml/in cludes creating build/lib.linux-x86_64-3.9/lxml/isoschematron/resources creating build/lib.linux-x86_64-3.9/lxml/isoschematron/resources/rng copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.l inux-x86_64-3.9/lxml/isoschematron/resources/rng creating build/lib.linux-x86_64-3.9/lxml/isoschematron/resources/xsl copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.linux -x86_64-3.9/lxml/isoschematron/resources/xsl copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.linux -x86_64-3.9/lxml/isoschematron/resources/xsl creating build/lib.linux-x86_64-3.9/lxml/isoschematron/resources/xsl/iso-schem atron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_inc lude.xsl -> build/lib.linux-x86_64-3.9/lxml/isoschematron/resources/xsl/iso-sche matron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract _expand.xsl -> build/lib.linux-x86_64-3.9/lxml/isoschematron/resources/xsl/iso-s chematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematr on_skeleton_for_xslt1.xsl -> build/lib.linux-x86_64-3.9/lxml/isoschematron/resou rces/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematr on_message.xsl -> build/lib.linux-x86_64-3.9/lxml/isoschematron/resources/xsl/is o-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for _xslt1.xsl -> build/lib.linux-x86_64-3.9/lxml/isoschematron/resources/xsl/iso-sc hematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt - > build/lib.linux-x86_64-3.9/lxml/isoschematron/resources/xsl/iso-schematron-xsl t1 running build_ext building 'lxml.etree' extension creating build/temp.linux-x86_64-3.9 creating build/temp.linux-x86_64-3.9/src creating build/temp.linux-x86_64-3.9/src/lxml x86_64-QNAP_FW43-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DDY NAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3 -Wall -O2 -fPIC -I/opt/QPyth on39/include -I/opt/QPython39/include/ncursesw -I/opt/QPython39/include/libxml2 -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -Isrc -Isrc/lxml/includes -I/opt/QPython39/i nclude/python3.9 -c src/lxml/etree.c -o build/temp.linux-x86_64-3.9/src/lxml/etr ee.o -w Compile failed: command 'x86_64-QNAP_FW43-linux-gnu-gcc' failed: No such file or directory creating opt creating opt/tmp cc -I/usr/include/libxml2 -c /opt/tmp/xmlXPathInitweq54t98.c -o opt/tmp/xmlXPa thInitweq54t98.o


Could not find function xmlCheckVersion in library libxml2. Is libxml2 install ed?


error: command 'x86_64-QNAP_FW43-linux-gnu-gcc' failed: No such file or direct ory

ERROR: Failed building wheel for lxml Running setup.py clean for lxml Failed to build lxml Installing collected packages: lxml, future, click, owi2plex Attempting uninstall: lxml Found existing installation: lxml 4.6.3 Uninstalling lxml-4.6.3: Successfully uninstalled lxml-4.6.3 Running setup.py install for lxml ... error ERROR: Command errored out with exit status 1: command: /opt/QPython39/bin/python3.9 -u -c 'import io, os, sys, setuptools , tokenize; sys.argv[0] = '"'"'/share/CACHEDEV1_DATA/.qpkg/Entware-3x/tmp/pip-in stall-8igoxho5/lxml_5c01f687cf6b4c1b9f13d26414f70549/setup.py'"'"'; file='"' "'/share/CACHEDEV1_DATA/.qpkg/Entware-3x/tmp/pip-install-8igoxho5/lxml_5c01f687c f6b4c1b9f13d26414f70549/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open )(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools im port setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"'); f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /share /CACHEDEV1_DATA/.qpkg/Entware-3x/tmp/pip-record-_gmkmvzt/install-record.txt --si ngle-version-externally-managed --compile --install-headers /opt/QPython39/inclu de/python3.9/lxml cwd: /share/CACHEDEV1_DATA/.qpkg/Entware-3x/tmp/pip-install-8igoxho5/lx ml_5c01f687cf6b4c1b9f13d26414f70549/ Complete output (86 lines): Building lxml version 4.3.2. 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-x86_64-3.9
creating build/lib.linux-x86_64-3.9/lxml
copying src/lxml/sax.py -> build/lib.linux-x86_64-3.9/lxml
copying src/lxml/_elementpath.py -> build/lib.linux-x86_64-3.9/lxml
copying src/lxml/builder.py -> build/lib.linux-x86_64-3.9/lxml
copying src/lxml/ElementInclude.py -> build/lib.linux-x86_64-3.9/lxml
copying src/lxml/__init__.py -> build/lib.linux-x86_64-3.9/lxml
copying src/lxml/usedoctest.py -> build/lib.linux-x86_64-3.9/lxml
copying src/lxml/cssselect.py -> build/lib.linux-x86_64-3.9/lxml
copying src/lxml/pyclasslookup.py -> build/lib.linux-x86_64-3.9/lxml
copying src/lxml/doctestcompare.py -> build/lib.linux-x86_64-3.9/lxml
creating build/lib.linux-x86_64-3.9/lxml/includes
copying src/lxml/includes/__init__.py -> build/lib.linux-x86_64-3.9/lxml/inc                                                                             ludes
creating build/lib.linux-x86_64-3.9/lxml/html
copying src/lxml/html/diff.py -> build/lib.linux-x86_64-3.9/lxml/html
copying src/lxml/html/ElementSoup.py -> build/lib.linux-x86_64-3.9/lxml/html
copying src/lxml/html/html5parser.py -> build/lib.linux-x86_64-3.9/lxml/html
copying src/lxml/html/builder.py -> build/lib.linux-x86_64-3.9/lxml/html
copying src/lxml/html/__init__.py -> build/lib.linux-x86_64-3.9/lxml/html
copying src/lxml/html/usedoctest.py -> build/lib.linux-x86_64-3.9/lxml/html
copying src/lxml/html/_setmixin.py -> build/lib.linux-x86_64-3.9/lxml/html
copying src/lxml/html/clean.py -> build/lib.linux-x86_64-3.9/lxml/html
copying src/lxml/html/soupparser.py -> build/lib.linux-x86_64-3.9/lxml/html
copying src/lxml/html/_html5builder.py -> build/lib.linux-x86_64-3.9/lxml/ht                                                                             ml
copying src/lxml/html/_diffcommand.py -> build/lib.linux-x86_64-3.9/lxml/htm                                                                             l
copying src/lxml/html/formfill.py -> build/lib.linux-x86_64-3.9/lxml/html
copying src/lxml/html/defs.py -> build/lib.linux-x86_64-3.9/lxml/html
creating build/lib.linux-x86_64-3.9/lxml/isoschematron
copying src/lxml/isoschematron/__init__.py -> build/lib.linux-x86_64-3.9/lxm                                                                             l/isoschematron
copying src/lxml/etree.h -> build/lib.linux-x86_64-3.9/lxml
copying src/lxml/etree_api.h -> build/lib.linux-x86_64-3.9/lxml
copying src/lxml/lxml.etree.h -> build/lib.linux-x86_64-3.9/lxml
copying src/lxml/lxml.etree_api.h -> build/lib.linux-x86_64-3.9/lxml
copying src/lxml/includes/etreepublic.pxd -> build/lib.linux-x86_64-3.9/lxml                                                                             /includes
copying src/lxml/includes/xinclude.pxd -> build/lib.linux-x86_64-3.9/lxml/in                                                                             cludes
copying src/lxml/includes/xmlerror.pxd -> build/lib.linux-x86_64-3.9/lxml/in                                                                             cludes
copying src/lxml/includes/htmlparser.pxd -> build/lib.linux-x86_64-3.9/lxml/                                                                             includes
copying src/lxml/includes/config.pxd -> build/lib.linux-x86_64-3.9/lxml/incl                                                                             udes
copying src/lxml/includes/__init__.pxd -> build/lib.linux-x86_64-3.9/lxml/in                                                                             cludes
copying src/lxml/includes/xmlschema.pxd -> build/lib.linux-x86_64-3.9/lxml/i                                                                             ncludes
copying src/lxml/includes/uri.pxd -> build/lib.linux-x86_64-3.9/lxml/include                                                                             s
copying src/lxml/includes/xslt.pxd -> build/lib.linux-x86_64-3.9/lxml/includ                                                                             es
copying src/lxml/includes/tree.pxd -> build/lib.linux-x86_64-3.9/lxml/includ                                                                             es
copying src/lxml/includes/xmlparser.pxd -> build/lib.linux-x86_64-3.9/lxml/i                                                                             ncludes
copying src/lxml/includes/dtdvalid.pxd -> build/lib.linux-x86_64-3.9/lxml/in                                                                             cludes
copying src/lxml/includes/xpath.pxd -> build/lib.linux-x86_64-3.9/lxml/inclu                                                                             des
copying src/lxml/includes/relaxng.pxd -> build/lib.linux-x86_64-3.9/lxml/inc                                                                             ludes
copying src/lxml/includes/c14n.pxd -> build/lib.linux-x86_64-3.9/lxml/includ                                                                             es
copying src/lxml/includes/schematron.pxd -> build/lib.linux-x86_64-3.9/lxml/                                                                             includes
copying src/lxml/includes/etree_defs.h -> build/lib.linux-x86_64-3.9/lxml/in                                                                             cludes
copying src/lxml/includes/lxml-version.h -> build/lib.linux-x86_64-3.9/lxml/                                                                             includes
creating build/lib.linux-x86_64-3.9/lxml/isoschematron/resources
creating build/lib.linux-x86_64-3.9/lxml/isoschematron/resources/rng
copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib                                                                             .linux-x86_64-3.9/lxml/isoschematron/resources/rng
creating build/lib.linux-x86_64-3.9/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.lin                                                                             ux-x86_64-3.9/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.lin                                                                             ux-x86_64-3.9/lxml/isoschematron/resources/xsl
creating build/lib.linux-x86_64-3.9/lxml/isoschematron/resources/xsl/iso-sch                                                                             ematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_i                                                                             nclude.xsl -> build/lib.linux-x86_64-3.9/lxml/isoschematron/resources/xsl/iso-sc                                                                             hematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstra                                                                             ct_expand.xsl -> build/lib.linux-x86_64-3.9/lxml/isoschematron/resources/xsl/iso                                                                             -schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schema                                                                             tron_skeleton_for_xslt1.xsl -> build/lib.linux-x86_64-3.9/lxml/isoschematron/res                                                                             ources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schema                                                                             tron_message.xsl -> build/lib.linux-x86_64-3.9/lxml/isoschematron/resources/xsl/                                                                             iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_f                                                                             or_xslt1.xsl -> build/lib.linux-x86_64-3.9/lxml/isoschematron/resources/xsl/iso-                                                                             schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt                                                                              -> build/lib.linux-x86_64-3.9/lxml/isoschematron/resources/xsl/iso-schematron-x                                                                             slt1
running build_ext
building 'lxml.etree' extension
creating build/temp.linux-x86_64-3.9
creating build/temp.linux-x86_64-3.9/src
creating build/temp.linux-x86_64-3.9/src/lxml
x86_64-QNAP_FW43-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -D                                                                             DYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3 -Wall -O2 -fPIC -I/opt/QPy                                                                             thon39/include -I/opt/QPython39/include/ncursesw -I/opt/QPython39/include/libxml                                                                             2 -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -Isrc -Isrc/lxml/includes -I/opt/QPython39                                                                             /include/python3.9 -c src/lxml/etree.c -o build/temp.linux-x86_64-3.9/src/lxml/e                                                                             tree.o -w
Compile failed: command 'x86_64-QNAP_FW43-linux-gnu-gcc' failed: No such fil                                                                             e or directory
cc -I/usr/include/libxml2 -c /opt/tmp/xmlXPathInitwxauxvu1.c -o opt/tmp/xmlX                                                                             PathInitwxauxvu1.o
****************************************************************************                                                                             *****
Could not find function xmlCheckVersion in library libxml2. Is libxml2 insta                                                                             lled?
****************************************************************************                                                                             *****
error: command 'x86_64-QNAP_FW43-linux-gnu-gcc' failed: No such file or dire                                                                             ctory
----------------------------------------

Rolling back uninstall of lxml Moving to /share/CACHEDEV1_DATA/.qpkg/QPython39/lib/python3.9/site-packages/lx ml-4.6.3.dist-info/ from /share/CACHEDEV1_DATA/.qpkg/QPython39/lib/python3.9/site-packages/~xml-4 .6.3.dist-info Moving to /share/CACHEDEV1_DATA/.qpkg/QPython39/lib/python3.9/site-packages/lx ml/ from /share/CACHEDEV1_DATA/.qpkg/QPython39/lib/python3.9/site-packages/~xml ERROR: Command errored out with exit status 1: /opt/QPython39/bin/python3.9 -u - c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/share/CACHEDEV1 _DATA/.qpkg/Entware-3x/tmp/pip-install-8igoxho5/lxml_5c01f687cf6b4c1b9f13d26414f 70549/setup.py'"'"'; file='"'"'/share/CACHEDEV1_DATA/.qpkg/Entware-3x/tmp/pi p-install-8igoxho5/lxml_5c01f687cf6b4c1b9f13d26414f70549/setup.py'"'"';f = getat tr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io .StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().repla ce('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exe c'"'"'))' install --record /share/CACHEDEV1_DATA/.qpkg/Entware-3x/tmp/pip-record -_gmkmvzt/install-record.txt --single-version-externally-managed --compile --ins tall-headers /opt/QPython39/include/python3.9/lxml Check the logs for full comma nd output. ` I would be happy for some help

dumle11 commented 2 years ago

I had same issue on Windows, running Python 3.10. Downgrading to 3.7 solved the issue for me - seems to be some issue with lxml/libxml for newer version of Python or missing some pre-compiled headers. Not sure but hope it helps.

RubbeeDuck commented 2 years ago

Have maybe someone found a Solution for an qnap?

RubbeeDuck commented 2 years ago

After this command sudo apt-get install libxml2-dev libxslt-dev python-dev It works without error