cvarelaruiz / owi2plex

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

can't install anywhere #35

Open pnobrega80 opened 2 years ago

pnobrega80 commented 2 years ago

tried on raspbian and also ubuntu

`Collecting owi2plex Using cached OWi2Plex-0.1a14-py2.py3-none-any.whl (14 kB) Requirement already satisfied: pyyaml==5.1.2 in ./.local/lib/python3.8/site-packages (from owi2plex) (5.1.2) Requirement already satisfied: requests==2.21.0 in ./.local/lib/python3.8/site-packages (from owi2plex) (2.21.0) Collecting lxml==4.3.2 Using cached lxml-4.3.2.tar.gz (4.4 MB) Requirement already satisfied: future==0.17.1 in ./.local/lib/python3.8/site-packages (from owi2plex) (0.17.1) Requirement already satisfied: click==7.0 in /usr/lib/python3/dist-packages (from owi2plex) (7.0) Requirement already satisfied: urllib3<1.25,>=1.21.1 in ./.local/lib/python3.8/site-packages (from requests==2.21.0->owi2plex) (1.24.3) Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/lib/python3/dist-packages (from requests==2.21.0->owi2plex) (3.0.4) Requirement already satisfied: idna<2.9,>=2.5 in /usr/lib/python3/dist-packages (from requests==2.21.0->owi2plex) (2.8) Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests==2.21.0->owi2plex) (2019.11.28) Building wheels for collected packages: lxml Building wheel for lxml (setup.py) ... error ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-xm9uu7ce/lxml/setup.py'"'"'; file='"'"'/tmp/pip-install-xm9uu7ce/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 /tmp/pip-wheel-t2z2uyag cwd: /tmp/pip-install-xm9uu7ce/lxml/ Complete output (96 lines): Building lxml version 4.3.2. Building without Cython. ERROR: b'/bin/sh: 1: xslt-config: 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.8 creating build/lib.linux-x86_64-3.8/lxml copying src/lxml/init.py -> build/lib.linux-x86_64-3.8/lxml copying src/lxml/pyclasslookup.py -> build/lib.linux-x86_64-3.8/lxml copying src/lxml/usedoctest.py -> build/lib.linux-x86_64-3.8/lxml copying src/lxml/ElementInclude.py -> build/lib.linux-x86_64-3.8/lxml copying src/lxml/doctestcompare.py -> build/lib.linux-x86_64-3.8/lxml copying src/lxml/_elementpath.py -> build/lib.linux-x86_64-3.8/lxml copying src/lxml/builder.py -> build/lib.linux-x86_64-3.8/lxml copying src/lxml/cssselect.py -> build/lib.linux-x86_64-3.8/lxml copying src/lxml/sax.py -> build/lib.linux-x86_64-3.8/lxml creating build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/init.py -> build/lib.linux-x86_64-3.8/lxml/includes creating build/lib.linux-x86_64-3.8/lxml/html copying src/lxml/html/init.py -> build/lib.linux-x86_64-3.8/lxml/html copying src/lxml/html/usedoctest.py -> build/lib.linux-x86_64-3.8/lxml/html copying src/lxml/html/_diffcommand.py -> build/lib.linux-x86_64-3.8/lxml/html copying src/lxml/html/_html5builder.py -> build/lib.linux-x86_64-3.8/lxml/html copying src/lxml/html/soupparser.py -> build/lib.linux-x86_64-3.8/lxml/html copying src/lxml/html/html5parser.py -> build/lib.linux-x86_64-3.8/lxml/html copying src/lxml/html/_setmixin.py -> build/lib.linux-x86_64-3.8/lxml/html copying src/lxml/html/defs.py -> build/lib.linux-x86_64-3.8/lxml/html copying src/lxml/html/diff.py -> build/lib.linux-x86_64-3.8/lxml/html copying src/lxml/html/clean.py -> build/lib.linux-x86_64-3.8/lxml/html copying src/lxml/html/ElementSoup.py -> build/lib.linux-x86_64-3.8/lxml/html copying src/lxml/html/builder.py -> build/lib.linux-x86_64-3.8/lxml/html copying src/lxml/html/formfill.py -> build/lib.linux-x86_64-3.8/lxml/html creating build/lib.linux-x86_64-3.8/lxml/isoschematron copying src/lxml/isoschematron/init.py -> build/lib.linux-x86_64-3.8/lxml/isoschematron copying src/lxml/etree.h -> build/lib.linux-x86_64-3.8/lxml copying src/lxml/etree_api.h -> build/lib.linux-x86_64-3.8/lxml copying src/lxml/lxml.etree.h -> build/lib.linux-x86_64-3.8/lxml copying src/lxml/lxml.etree_api.h -> build/lib.linux-x86_64-3.8/lxml copying src/lxml/includes/tree.pxd -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/etreepublic.pxd -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/xmlparser.pxd -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/xslt.pxd -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/xpath.pxd -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/xmlerror.pxd -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/xmlschema.pxd -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/schematron.pxd -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/xinclude.pxd -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/relaxng.pxd -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/init.pxd -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/htmlparser.pxd -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/config.pxd -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/dtdvalid.pxd -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/uri.pxd -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/c14n.pxd -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/lxml-version.h -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/etree_defs.h -> build/lib.linux-x86_64-3.8/lxml/includes creating build/lib.linux-x86_64-3.8/lxml/isoschematron/resources creating build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/rng copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/rng creating build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/xsl copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/xsl copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/xsl creating build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl -> build/lib.linux-x86_64-3.8/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-x86_64-3.8/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl -> build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl -> build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl -> build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 running build_ext building 'lxml.etree' extension creating build/temp.linux-x86_64-3.8 creating build/temp.linux-x86_64-3.8/src creating build/temp.linux-x86_64-3.8/src/lxml x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -Isrc -Isrc/lxml/includes -I/usr/include/python3.8 -c src/lxml/etree.c -o build/temp.linux-x86_64-3.8/src/lxml/etree.o -w In file included from src/lxml/etree.c:687: src/lxml/includes/etree_defs.h:14:10: fatal error: libxml/xmlversion.h: No such file or directory 14 | #include "libxml/xmlversion.h" | ^~~~~ compilation terminated. Compile failed: command 'x86_64-linux-gnu-gcc' failed with exit status 1 creating tmp cc -I/usr/include/libxml2 -c /tmp/xmlXPathInitlbl38uhm.c -o tmp/xmlXPathInitlbl38uhm.o /tmp/xmlXPathInitlbl38uhm.c:1:10: fatal error: libxml/xpath.h: No such file or directory 1 | #include "libxml/xpath.h" | ^~~~ compilation terminated.


Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?


error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

ERROR: Failed building wheel for lxml Running setup.py clean for lxml Failed to build lxml Installing collected packages: lxml, owi2plex Running setup.py install for lxml ... error ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-xm9uu7ce/lxml/setup.py'"'"'; file='"'"'/tmp/pip-install-xm9uu7ce/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 /tmp/pip-record-hruwt_1f/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/cc/.local/include/python3.8/lxml cwd: /tmp/pip-install-xm9uu7ce/lxml/ Complete output (95 lines): Building lxml version 4.3.2. Building without Cython. ERROR: b'/bin/sh: 1: xslt-config: 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.8
creating build/lib.linux-x86_64-3.8/lxml
copying src/lxml/__init__.py -> build/lib.linux-x86_64-3.8/lxml
copying src/lxml/pyclasslookup.py -> build/lib.linux-x86_64-3.8/lxml
copying src/lxml/usedoctest.py -> build/lib.linux-x86_64-3.8/lxml
copying src/lxml/ElementInclude.py -> build/lib.linux-x86_64-3.8/lxml
copying src/lxml/doctestcompare.py -> build/lib.linux-x86_64-3.8/lxml
copying src/lxml/_elementpath.py -> build/lib.linux-x86_64-3.8/lxml
copying src/lxml/builder.py -> build/lib.linux-x86_64-3.8/lxml
copying src/lxml/cssselect.py -> build/lib.linux-x86_64-3.8/lxml
copying src/lxml/sax.py -> build/lib.linux-x86_64-3.8/lxml
creating build/lib.linux-x86_64-3.8/lxml/includes
copying src/lxml/includes/__init__.py -> build/lib.linux-x86_64-3.8/lxml/includes
creating build/lib.linux-x86_64-3.8/lxml/html
copying src/lxml/html/__init__.py -> build/lib.linux-x86_64-3.8/lxml/html
copying src/lxml/html/usedoctest.py -> build/lib.linux-x86_64-3.8/lxml/html
copying src/lxml/html/_diffcommand.py -> build/lib.linux-x86_64-3.8/lxml/html
copying src/lxml/html/_html5builder.py -> build/lib.linux-x86_64-3.8/lxml/html
copying src/lxml/html/soupparser.py -> build/lib.linux-x86_64-3.8/lxml/html
copying src/lxml/html/html5parser.py -> build/lib.linux-x86_64-3.8/lxml/html
copying src/lxml/html/_setmixin.py -> build/lib.linux-x86_64-3.8/lxml/html
copying src/lxml/html/defs.py -> build/lib.linux-x86_64-3.8/lxml/html
copying src/lxml/html/diff.py -> build/lib.linux-x86_64-3.8/lxml/html
copying src/lxml/html/clean.py -> build/lib.linux-x86_64-3.8/lxml/html
copying src/lxml/html/ElementSoup.py -> build/lib.linux-x86_64-3.8/lxml/html
copying src/lxml/html/builder.py -> build/lib.linux-x86_64-3.8/lxml/html
copying src/lxml/html/formfill.py -> build/lib.linux-x86_64-3.8/lxml/html
creating build/lib.linux-x86_64-3.8/lxml/isoschematron
copying src/lxml/isoschematron/__init__.py -> build/lib.linux-x86_64-3.8/lxml/isoschematron
copying src/lxml/etree.h -> build/lib.linux-x86_64-3.8/lxml
copying src/lxml/etree_api.h -> build/lib.linux-x86_64-3.8/lxml
copying src/lxml/lxml.etree.h -> build/lib.linux-x86_64-3.8/lxml
copying src/lxml/lxml.etree_api.h -> build/lib.linux-x86_64-3.8/lxml
copying src/lxml/includes/tree.pxd -> build/lib.linux-x86_64-3.8/lxml/includes
copying src/lxml/includes/etreepublic.pxd -> build/lib.linux-x86_64-3.8/lxml/includes
copying src/lxml/includes/xmlparser.pxd -> build/lib.linux-x86_64-3.8/lxml/includes
copying src/lxml/includes/xslt.pxd -> build/lib.linux-x86_64-3.8/lxml/includes
copying src/lxml/includes/xpath.pxd -> build/lib.linux-x86_64-3.8/lxml/includes
copying src/lxml/includes/xmlerror.pxd -> build/lib.linux-x86_64-3.8/lxml/includes
copying src/lxml/includes/xmlschema.pxd -> build/lib.linux-x86_64-3.8/lxml/includes
copying src/lxml/includes/schematron.pxd -> build/lib.linux-x86_64-3.8/lxml/includes
copying src/lxml/includes/xinclude.pxd -> build/lib.linux-x86_64-3.8/lxml/includes
copying src/lxml/includes/relaxng.pxd -> build/lib.linux-x86_64-3.8/lxml/includes
copying src/lxml/includes/__init__.pxd -> build/lib.linux-x86_64-3.8/lxml/includes
copying src/lxml/includes/htmlparser.pxd -> build/lib.linux-x86_64-3.8/lxml/includes
copying src/lxml/includes/config.pxd -> build/lib.linux-x86_64-3.8/lxml/includes
copying src/lxml/includes/dtdvalid.pxd -> build/lib.linux-x86_64-3.8/lxml/includes
copying src/lxml/includes/uri.pxd -> build/lib.linux-x86_64-3.8/lxml/includes
copying src/lxml/includes/c14n.pxd -> build/lib.linux-x86_64-3.8/lxml/includes
copying src/lxml/includes/lxml-version.h -> build/lib.linux-x86_64-3.8/lxml/includes
copying src/lxml/includes/etree_defs.h -> build/lib.linux-x86_64-3.8/lxml/includes
creating build/lib.linux-x86_64-3.8/lxml/isoschematron/resources
creating build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/rng
copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/rng
creating build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/xsl
creating build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl -> build/lib.linux-x86_64-3.8/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-x86_64-3.8/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl -> build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl -> build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl -> build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
running build_ext
building 'lxml.etree' extension
creating build/temp.linux-x86_64-3.8
creating build/temp.linux-x86_64-3.8/src
creating build/temp.linux-x86_64-3.8/src/lxml
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -Isrc -Isrc/lxml/includes -I/usr/include/python3.8 -c src/lxml/etree.c -o build/temp.linux-x86_64-3.8/src/lxml/etree.o -w
In file included from src/lxml/etree.c:687:
src/lxml/includes/etree_defs.h:14:10: fatal error: libxml/xmlversion.h: No such file or directory
   14 | #include "libxml/xmlversion.h"
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Compile failed: command 'x86_64-linux-gnu-gcc' failed with exit status 1
cc -I/usr/include/libxml2 -c /tmp/xmlXPathInity18yyd5l.c -o tmp/xmlXPathInity18yyd5l.o
/tmp/xmlXPathInity18yyd5l.c:1:10: fatal error: libxml/xpath.h: No such file or directory
    1 | #include "libxml/xpath.h"
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
*********************************************************************************
Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?
*********************************************************************************
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------

ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-xm9uu7ce/lxml/setup.py'"'"'; file='"'"'/tmp/pip-install-xm9uu7ce/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 /tmp/pip-record-hruwt_1f/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/cc/.local/include/python3.8/lxml Check the logs for full command output. `

hyllm commented 9 months ago

getting the same "Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?" error... 22.04.3 LTS

hyllm commented 9 months ago

ok... installed libxml2-dev libxslt-dev packages and now "Building wheel for xlml (setup.py)..." errors