Open ghost opened 4 years ago
Requirement already satisfied: notify2==0.3.1 in /home/davidsayloronline/.local/lib/python3.8/site-packages (from -r requirements.txt (line 1)) (0.3.1) Requirement already satisfied: spotipy==2.4.4 in /home/davidsayloronline/.local/lib/python3.8/site-packages (from -r requirements.txt (line 2)) (2.4.4) Requirement already satisfied: lyricsgenius==1.4.0 in /home/davidsayloronline/.local/lib/python3.8/site-packages (from -r requirements.txt (line 3)) (1.4.0) Collecting lxml==4.3.3 Using cached lxml-4.3.3.tar.gz (4.4 MB) Processing /home/davidsayloronline/.cache/pip/wheels/54/f3/6f/2df6cf00c51de610c9719f39928bce86a088d25daf0571ec76/mutagen-1.41.0-py3-none-any.whl Requirement already satisfied: requests==2.21.0 in /home/davidsayloronline/.local/lib/python3.8/site-packages (from -r requirements.txt (line 6)) (2.21.0) Processing /home/davidsayloronline/.cache/pip/wheels/4e/aa/6e/778ebdc231a362a82b4369f7e7b33d8cadfafe40efc09e3f86/moviepy-0.2.3.5-py3-none-any.whl Collecting imageio==2.3.0 Using cached imageio-2.3.0-py2.py3-none-any.whl (3.3 MB) Processing /home/davidsayloronline/.cache/pip/wheels/7a/d2/96/2977fbb58cc1d62be4c4a49be204f977728bd30797e5396105/humanize-0.5.1-py3-none-any.whl Requirement already satisfied: pygame==1.9.6 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 10)) (1.9.6) Collecting youtube_dl==2019.7.30 Using cached youtube_dl-2019.7.30-py2.py3-none-any.whl (1.8 MB) Collecting Flask==0.12.2 Using cached Flask-0.12.2-py2.py3-none-any.whl (83 kB) Collecting pytube==9.5.1 Using cached pytube-9.5.1-py3-none-any.whl (30 kB) Collecting PyQt5==5.13.0 Using cached PyQt5-5.13.0-5.13.0-cp35.cp36.cp37.cp38-abi3-manylinux1_x86_64.whl (62.1 MB) Requirement already satisfied: beautifulsoup4==4.8.0 in /home/davidsayloronline/.local/lib/python3.8/site-packages (from -r requirements.txt (line 15)) (4.8.0) Requirement already satisfied: idna<2.9,>=2.5 in /usr/lib/python3/dist-packages (from requests==2.21.0->-r requirements.txt (line 6)) (2.8) Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/lib/python3/dist-packages (from requests==2.21.0->-r requirements.txt (line 6)) (3.0.4) Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests==2.21.0->-r requirements.txt (line 6)) (2019.11.28) Requirement already satisfied: urllib3<1.25,>=1.21.1 in /home/davidsayloronline/.local/lib/python3.8/site-packages (from requests==2.21.0->-r requirements.txt (line 6)) (1.24.3) Requirement already satisfied: numpy in /usr/lib/python3/dist-packages (from moviepy==0.2.3.5->-r requirements.txt (line 7)) (1.17.4) Collecting tqdm<5.0,>=4.11.2 Using cached tqdm-4.48.2-py2.py3-none-any.whl (68 kB) Collecting decorator<5.0,>=4.0.2 Using cached decorator-4.4.2-py2.py3-none-any.whl (9.2 kB) Requirement already satisfied: pillow in /usr/lib/python3/dist-packages (from imageio==2.3.0->-r requirements.txt (line 8)) (7.0.0) Collecting Werkzeug>=0.7 Using cached Werkzeug-1.0.1-py2.py3-none-any.whl (298 kB) Collecting Jinja2>=2.4 Using cached Jinja2-2.11.2-py2.py3-none-any.whl (125 kB) Requirement already satisfied: click>=2.0 in /usr/lib/python3/dist-packages (from Flask==0.12.2->-r requirements.txt (line 12)) (7.0) Collecting itsdangerous>=0.21 Using cached itsdangerous-1.1.0-py2.py3-none-any.whl (16 kB) Collecting PyQt5_sip<13,>=4.19.14 Downloading PyQt5_sip-12.8.1-cp38-cp38-manylinux1_x86_64.whl (293 kB) |████████████████████████████████| 293 kB 154 kB/s Requirement already satisfied: soupsieve>=1.2 in /usr/lib/python3/dist-packages (from beautifulsoup4==4.8.0->-r requirements.txt (line 15)) (1.9.5) Requirement already satisfied: MarkupSafe>=0.23 in /usr/lib/python3/dist-packages (from Jinja2>=2.4->Flask==0.12.2->-r requirements.txt (line 12)) (1.1.0) 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-cmp3mija/lxml/setup.py'"'"'; file='"'"'/tmp/pip-install-cmp3mija/lxml/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdistwheel -d /tmp/pip-wheel-b1scf3p cwd: /tmp/pip-install-cmp3mija/lxml/ Complete output (96 lines): Building lxml version 4.3.3. 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/usedoctest.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/init.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/builder.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/ElementInclude.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/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/usedoctest.py -> 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/html5parser.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 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/builder.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/clean.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/_setmixin.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/defs.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/config.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/htmlparser.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/c14n.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/etreepublic.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/uri.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/xmlparser.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/tree.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/xmlerror.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/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/RNG2Schtrn.xsl -> 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 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_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/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/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/xmlXPathInitlu00u94c.c -o tmp/xmlXPathInitlu00u94c.o /tmp/xmlXPathInitlu00u94c.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: Failed building wheel for lxml Running setup.py clean for lxml Failed to build lxml Installing collected packages: lxml, mutagen, imageio, tqdm, decorator, moviepy, humanize, youtube-dl, Werkzeug, Jinja2, itsdangerous, Flask, pytube, PyQt5-sip, PyQt5 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-cmp3mija/lxml/setup.py'"'"'; file='"'"'/tmp/pip-install-cmp3mija/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-_arp3nhv/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/davidsayloronline/.local/include/python3.8/lxml cwd: /tmp/pip-install-cmp3mija/lxml/ Complete output (95 lines): Building lxml version 4.3.3. 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/usedoctest.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/__init__.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/builder.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/ElementInclude.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/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/usedoctest.py -> 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/html5parser.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 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/builder.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/clean.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/_setmixin.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/defs.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/config.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/htmlparser.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/c14n.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/etreepublic.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/uri.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/xmlparser.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/tree.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/xmlerror.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/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/RNG2Schtrn.xsl -> 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 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_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/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/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/xmlXPathInit8m9_381k.c -o tmp/xmlXPathInit8m9_381k.o /tmp/xmlXPathInit8m9_381k.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-cmp3mija/lxml/setup.py'"'"'; file='"'"'/tmp/pip-install-cmp3mija/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-_arp3nhv/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/davidsayloronline/.local/include/python3.8/lxml Check the logs for full command output. davidsayloronline@PCDavid:~/Downloads/Spotify Music Downloader/smd-1.7.1$
i have the same kind of error. I just need a professional to fix it
Can you run pip install libxml2 and then try again.
pip install libxml2
Requirement already satisfied: notify2==0.3.1 in /home/davidsayloronline/.local/lib/python3.8/site-packages (from -r requirements.txt (line 1)) (0.3.1) Requirement already satisfied: spotipy==2.4.4 in /home/davidsayloronline/.local/lib/python3.8/site-packages (from -r requirements.txt (line 2)) (2.4.4) Requirement already satisfied: lyricsgenius==1.4.0 in /home/davidsayloronline/.local/lib/python3.8/site-packages (from -r requirements.txt (line 3)) (1.4.0) Collecting lxml==4.3.3 Using cached lxml-4.3.3.tar.gz (4.4 MB) Processing /home/davidsayloronline/.cache/pip/wheels/54/f3/6f/2df6cf00c51de610c9719f39928bce86a088d25daf0571ec76/mutagen-1.41.0-py3-none-any.whl Requirement already satisfied: requests==2.21.0 in /home/davidsayloronline/.local/lib/python3.8/site-packages (from -r requirements.txt (line 6)) (2.21.0) Processing /home/davidsayloronline/.cache/pip/wheels/4e/aa/6e/778ebdc231a362a82b4369f7e7b33d8cadfafe40efc09e3f86/moviepy-0.2.3.5-py3-none-any.whl Collecting imageio==2.3.0 Using cached imageio-2.3.0-py2.py3-none-any.whl (3.3 MB) Processing /home/davidsayloronline/.cache/pip/wheels/7a/d2/96/2977fbb58cc1d62be4c4a49be204f977728bd30797e5396105/humanize-0.5.1-py3-none-any.whl Requirement already satisfied: pygame==1.9.6 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 10)) (1.9.6) Collecting youtube_dl==2019.7.30 Using cached youtube_dl-2019.7.30-py2.py3-none-any.whl (1.8 MB) Collecting Flask==0.12.2 Using cached Flask-0.12.2-py2.py3-none-any.whl (83 kB) Collecting pytube==9.5.1 Using cached pytube-9.5.1-py3-none-any.whl (30 kB) Collecting PyQt5==5.13.0 Using cached PyQt5-5.13.0-5.13.0-cp35.cp36.cp37.cp38-abi3-manylinux1_x86_64.whl (62.1 MB) Requirement already satisfied: beautifulsoup4==4.8.0 in /home/davidsayloronline/.local/lib/python3.8/site-packages (from -r requirements.txt (line 15)) (4.8.0) Requirement already satisfied: idna<2.9,>=2.5 in /usr/lib/python3/dist-packages (from requests==2.21.0->-r requirements.txt (line 6)) (2.8) Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/lib/python3/dist-packages (from requests==2.21.0->-r requirements.txt (line 6)) (3.0.4) Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests==2.21.0->-r requirements.txt (line 6)) (2019.11.28) Requirement already satisfied: urllib3<1.25,>=1.21.1 in /home/davidsayloronline/.local/lib/python3.8/site-packages (from requests==2.21.0->-r requirements.txt (line 6)) (1.24.3) Requirement already satisfied: numpy in /usr/lib/python3/dist-packages (from moviepy==0.2.3.5->-r requirements.txt (line 7)) (1.17.4) Collecting tqdm<5.0,>=4.11.2 Using cached tqdm-4.48.2-py2.py3-none-any.whl (68 kB) Collecting decorator<5.0,>=4.0.2 Using cached decorator-4.4.2-py2.py3-none-any.whl (9.2 kB) Requirement already satisfied: pillow in /usr/lib/python3/dist-packages (from imageio==2.3.0->-r requirements.txt (line 8)) (7.0.0) Collecting Werkzeug>=0.7 Using cached Werkzeug-1.0.1-py2.py3-none-any.whl (298 kB) Collecting Jinja2>=2.4 Using cached Jinja2-2.11.2-py2.py3-none-any.whl (125 kB) Requirement already satisfied: click>=2.0 in /usr/lib/python3/dist-packages (from Flask==0.12.2->-r requirements.txt (line 12)) (7.0) Collecting itsdangerous>=0.21 Using cached itsdangerous-1.1.0-py2.py3-none-any.whl (16 kB) Collecting PyQt5_sip<13,>=4.19.14 Downloading PyQt5_sip-12.8.1-cp38-cp38-manylinux1_x86_64.whl (293 kB) |████████████████████████████████| 293 kB 154 kB/s Requirement already satisfied: soupsieve>=1.2 in /usr/lib/python3/dist-packages (from beautifulsoup4==4.8.0->-r requirements.txt (line 15)) (1.9.5) Requirement already satisfied: MarkupSafe>=0.23 in /usr/lib/python3/dist-packages (from Jinja2>=2.4->Flask==0.12.2->-r requirements.txt (line 12)) (1.1.0) 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-cmp3mija/lxml/setup.py'"'"'; file='"'"'/tmp/pip-install-cmp3mija/lxml/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdistwheel -d /tmp/pip-wheel-b1scf3p cwd: /tmp/pip-install-cmp3mija/lxml/ Complete output (96 lines): Building lxml version 4.3.3. 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/usedoctest.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/init.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/builder.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/ElementInclude.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/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/usedoctest.py -> 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/html5parser.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 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/builder.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/clean.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/_setmixin.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/defs.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/config.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/htmlparser.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/c14n.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/etreepublic.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/uri.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/xmlparser.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/tree.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/xmlerror.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/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/RNG2Schtrn.xsl -> 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 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_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/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/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/xmlXPathInitlu00u94c.c -o tmp/xmlXPathInitlu00u94c.o /tmp/xmlXPathInitlu00u94c.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, mutagen, imageio, tqdm, decorator, moviepy, humanize, youtube-dl, Werkzeug, Jinja2, itsdangerous, Flask, pytube, PyQt5-sip, PyQt5 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-cmp3mija/lxml/setup.py'"'"'; file='"'"'/tmp/pip-install-cmp3mija/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-_arp3nhv/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/davidsayloronline/.local/include/python3.8/lxml cwd: /tmp/pip-install-cmp3mija/lxml/ Complete output (95 lines): Building lxml version 4.3.3. Building without Cython. ERROR: b'/bin/sh: 1: xslt-config: not found\n' make sure the development packages of libxml2 and libxslt are installed
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-cmp3mija/lxml/setup.py'"'"'; file='"'"'/tmp/pip-install-cmp3mija/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-_arp3nhv/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/davidsayloronline/.local/include/python3.8/lxml Check the logs for full command output. davidsayloronline@PCDavid:~/Downloads/Spotify Music Downloader/smd-1.7.1$