Skip to content

Instantly share code, notes, and snippets.

@KathyReid
Created June 26, 2018 15:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KathyReid/1b62b702981381d50909bf7fd1648693 to your computer and use it in GitHub Desktop.
Save KathyReid/1b62b702981381d50909bf7fd1648693 to your computer and use it in GitHub Desktop.
deej cunningham score install errors
pi@mark_1:~/skills $ msm install https://github.com/deejcunningham/skill-score
INFO - Downloading skill: https://github.com/deejcunningham/skill-score.git
INFO - Successfully ran requirements.sh for deej-score
INFO - Installing requirements.txt for deej-score
PipRequirementsException:
Pip returned code 1:
Collecting datetime (from -r /opt/mycroft/skills/deej-score.deejcunningham/requirements.txt (line 2))
Downloading https://files.pythonhosted.org/packages/0d/db/511934e34360fe0cfe91fc58483b25d8a9c516264ff2877dadb11a0612cd/DateTime-4.2-py2.py3-none-any.whl (60kB)
Collecting mlbgame (from -r /opt/mycroft/skills/deej-score.deejcunningham/requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/e8/f2/0ee0ea8de91acda582766bb86ebb358a84670006390509e30df2dd1b90bf/mlbgame-2.5.0.tar.gz
Collecting zope.interface (from datetime->-r /opt/mycroft/skills/deej-score.deejcunningham/requirements.txt (line 2))
Downloading https://files.pythonhosted.org/packages/ac/8a/657532df378c2cd2a1fe6b12be3b4097521570769d4852ec02c24bd3594e/zope.interface-4.5.0.tar.gz (151kB)
Requirement already satisfied: pytz in /opt/venvs/mycroft-core/lib/python3.4/site-packages (from datetime->-r /opt/mycroft/skills/deej-score.deejcunningham/requirements.txt (line 2)) (2017.2)
Collecting lxml (from mlbgame->-r /opt/mycroft/skills/deej-score.deejcunningham/requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/41/a7/26f3f89efcd33b2f033ff58fe3f0e535e2035d0fae481025eef51bc8ae43/lxml-4.2.2.tar.gz (4.4MB)
Requirement already satisfied: setuptools in /opt/venvs/mycroft-core/lib/python3.4/site-packages (from zope.interface->datetime->-r /opt/mycroft/skills/deej-score.deejcunningham/requirements.txt (line 2)) (39.2.0)
Building wheels for collected packages: mlbgame, zope.interface, lxml
Running setup.py bdist_wheel for mlbgame: started
Running setup.py bdist_wheel for mlbgame: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/61/42/df/ed3391d4f690b4b034d18744820172b2c5d5809d55f03b2409
Running setup.py bdist_wheel for zope.interface: started
Running setup.py bdist_wheel for zope.interface: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/c6/b2/d2/be6785a207eaa58d76debc10c9d5c66196b40a88abb61d6af7
Running setup.py bdist_wheel for lxml: started
Running setup.py bdist_wheel for lxml: finished with status 'error'
Complete output from command /opt/venvs/mycroft-core/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-sjz00n1m/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-okxodali --python-tag cp34:
Building lxml version 4.2.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-armv7l-3.4
creating build/lib.linux-armv7l-3.4/lxml
copying src/lxml/usedoctest.py -> build/lib.linux-armv7l-3.4/lxml
copying src/lxml/builder.py -> build/lib.linux-armv7l-3.4/lxml
copying src/lxml/ElementInclude.py -> build/lib.linux-armv7l-3.4/lxml
copying src/lxml/doctestcompare.py -> build/lib.linux-armv7l-3.4/lxml
copying src/lxml/pyclasslookup.py -> build/lib.linux-armv7l-3.4/lxml
copying src/lxml/cssselect.py -> build/lib.linux-armv7l-3.4/lxml
copying src/lxml/sax.py -> build/lib.linux-armv7l-3.4/lxml
copying src/lxml/__init__.py -> build/lib.linux-armv7l-3.4/lxml
copying src/lxml/_elementpath.py -> build/lib.linux-armv7l-3.4/lxml
creating build/lib.linux-armv7l-3.4/lxml/includes
copying src/lxml/includes/__init__.py -> build/lib.linux-armv7l-3.4/lxml/includes
creating build/lib.linux-armv7l-3.4/lxml/html
copying src/lxml/html/clean.py -> build/lib.linux-armv7l-3.4/lxml/html
copying src/lxml/html/usedoctest.py -> build/lib.linux-armv7l-3.4/lxml/html
copying src/lxml/html/builder.py -> build/lib.linux-armv7l-3.4/lxml/html
copying src/lxml/html/ElementSoup.py -> build/lib.linux-armv7l-3.4/lxml/html
copying src/lxml/html/_diffcommand.py -> build/lib.linux-armv7l-3.4/lxml/html
copying src/lxml/html/html5parser.py -> build/lib.linux-armv7l-3.4/lxml/html
copying src/lxml/html/_setmixin.py -> build/lib.linux-armv7l-3.4/lxml/html
copying src/lxml/html/defs.py -> build/lib.linux-armv7l-3.4/lxml/html
copying src/lxml/html/soupparser.py -> build/lib.linux-armv7l-3.4/lxml/html
copying src/lxml/html/formfill.py -> build/lib.linux-armv7l-3.4/lxml/html
copying src/lxml/html/diff.py -> build/lib.linux-armv7l-3.4/lxml/html
copying src/lxml/html/__init__.py -> build/lib.linux-armv7l-3.4/lxml/html
copying src/lxml/html/_html5builder.py -> build/lib.linux-armv7l-3.4/lxml/html
creating build/lib.linux-armv7l-3.4/lxml/isoschematron
copying src/lxml/isoschematron/__init__.py -> build/lib.linux-armv7l-3.4/lxml/isoschematron
copying src/lxml/etree.h -> build/lib.linux-armv7l-3.4/lxml
copying src/lxml/etree_api.h -> build/lib.linux-armv7l-3.4/lxml
copying src/lxml/lxml.etree.h -> build/lib.linux-armv7l-3.4/lxml
copying src/lxml/lxml.etree_api.h -> build/lib.linux-armv7l-3.4/lxml
copying src/lxml/includes/etreepublic.pxd -> build/lib.linux-armv7l-3.4/lxml/includes
copying src/lxml/includes/schematron.pxd -> build/lib.linux-armv7l-3.4/lxml/includes
copying src/lxml/includes/xmlschema.pxd -> build/lib.linux-armv7l-3.4/lxml/includes
copying src/lxml/includes/tree.pxd -> build/lib.linux-armv7l-3.4/lxml/includes
copying src/lxml/includes/htmlparser.pxd -> build/lib.linux-armv7l-3.4/lxml/includes
copying src/lxml/includes/xinclude.pxd -> build/lib.linux-armv7l-3.4/lxml/includes
copying src/lxml/includes/xmlparser.pxd -> build/lib.linux-armv7l-3.4/lxml/includes
copying src/lxml/includes/xmlerror.pxd -> build/lib.linux-armv7l-3.4/lxml/includes
copying src/lxml/includes/c14n.pxd -> build/lib.linux-armv7l-3.4/lxml/includes
copying src/lxml/includes/xpath.pxd -> build/lib.linux-armv7l-3.4/lxml/includes
copying src/lxml/includes/config.pxd -> build/lib.linux-armv7l-3.4/lxml/includes
copying src/lxml/includes/xslt.pxd -> build/lib.linux-armv7l-3.4/lxml/includes
copying src/lxml/includes/uri.pxd -> build/lib.linux-armv7l-3.4/lxml/includes
copying src/lxml/includes/__init__.pxd -> build/lib.linux-armv7l-3.4/lxml/includes
copying src/lxml/includes/dtdvalid.pxd -> build/lib.linux-armv7l-3.4/lxml/includes
copying src/lxml/includes/relaxng.pxd -> build/lib.linux-armv7l-3.4/lxml/includes
copying src/lxml/includes/etree_defs.h -> build/lib.linux-armv7l-3.4/lxml/includes
copying src/lxml/includes/lxml-version.h -> build/lib.linux-armv7l-3.4/lxml/includes
creating build/lib.linux-armv7l-3.4/lxml/isoschematron/resources
creating build/lib.linux-armv7l-3.4/lxml/isoschematron/resources/rng
copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.linux-armv7l-3.4/lxml/isoschematron/resources/rng
creating build/lib.linux-armv7l-3.4/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.linux-armv7l-3.4/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.linux-armv7l-3.4/lxml/isoschematron/resources/xsl
creating build/lib.linux-armv7l-3.4/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.4/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.4/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.4/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.4/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.4/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.linux-armv7l-3.4/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
running build_ext
building 'lxml.etree' extension
creating build/temp.linux-armv7l-3.4
creating build/temp.linux-armv7l-3.4/src
creating build/temp.linux-armv7l-3.4/src/lxml
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -Isrc -Isrc/lxml/includes -I/usr/include/python3.4m -I/opt/venvs/mycroft-core/include/python3.4m -c src/lxml/etree.c -o build/temp.linux-armv7l-3.4/src/lxml/etree.o -w
In file included from src/lxml/etree.c:661:0:
src/lxml/includes/etree_defs.h:14:31: fatal error: libxml/xmlversion.h: No such file or directory
#include "libxml/xmlversion.h"
^
compilation terminated.
Compile failed: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
creating tmp
cc -I/usr/include/libxml2 -c /tmp/xmlXPathInityvke3vnn.c -o tmp/xmlXPathInityvke3vnn.o
/tmp/xmlXPathInityvke3vnn.c:1:26: fatal error: libxml/xpath.h: No such file or directory
#include "libxml/xpath.h"
^
compilation terminated.
*********************************************************************************
Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?
*********************************************************************************
error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
----------------------------------------
Running setup.py clean for lxml
Successfully built mlbgame zope.interface
Failed to build lxml
Installing collected packages: zope.interface, datetime, lxml, mlbgame
Running setup.py install for lxml: started
Running setup.py install for lxml: finished with status 'error'
Complete output from command /opt/venvs/mycroft-core/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-sjz00n1m/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-kuhzgqym/install-record.txt --single-version-externally-managed --compile --install-headers /opt/venvs/mycroft-core/include/site/python3.4/lxml:
Building lxml version 4.2.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-armv7l-3.4
creating build/lib.linux-armv7l-3.4/lxml
copying src/lxml/usedoctest.py -> build/lib.linux-armv7l-3.4/lxml
copying src/lxml/builder.py -> build/lib.linux-armv7l-3.4/lxml
copying src/lxml/ElementInclude.py -> build/lib.linux-armv7l-3.4/lxml
copying src/lxml/doctestcompare.py -> build/lib.linux-armv7l-3.4/lxml
copying src/lxml/pyclasslookup.py -> build/lib.linux-armv7l-3.4/lxml
copying src/lxml/cssselect.py -> build/lib.linux-armv7l-3.4/lxml
copying src/lxml/sax.py -> build/lib.linux-armv7l-3.4/lxml
copying src/lxml/__init__.py -> build/lib.linux-armv7l-3.4/lxml
copying src/lxml/_elementpath.py -> build/lib.linux-armv7l-3.4/lxml
creating build/lib.linux-armv7l-3.4/lxml/includes
copying src/lxml/includes/__init__.py -> build/lib.linux-armv7l-3.4/lxml/includes
creating build/lib.linux-armv7l-3.4/lxml/html
copying src/lxml/html/clean.py -> build/lib.linux-armv7l-3.4/lxml/html
copying src/lxml/html/usedoctest.py -> build/lib.linux-armv7l-3.4/lxml/html
copying src/lxml/html/builder.py -> build/lib.linux-armv7l-3.4/lxml/html
copying src/lxml/html/ElementSoup.py -> build/lib.linux-armv7l-3.4/lxml/html
copying src/lxml/html/_diffcommand.py -> build/lib.linux-armv7l-3.4/lxml/html
copying src/lxml/html/html5parser.py -> build/lib.linux-armv7l-3.4/lxml/html
copying src/lxml/html/_setmixin.py -> build/lib.linux-armv7l-3.4/lxml/html
copying src/lxml/html/defs.py -> build/lib.linux-armv7l-3.4/lxml/html
copying src/lxml/html/soupparser.py -> build/lib.linux-armv7l-3.4/lxml/html
copying src/lxml/html/formfill.py -> build/lib.linux-armv7l-3.4/lxml/html
copying src/lxml/html/diff.py -> build/lib.linux-armv7l-3.4/lxml/html
copying src/lxml/html/__init__.py -> build/lib.linux-armv7l-3.4/lxml/html
copying src/lxml/html/_html5builder.py -> build/lib.linux-armv7l-3.4/lxml/html
creating build/lib.linux-armv7l-3.4/lxml/isoschematron
copying src/lxml/isoschematron/__init__.py -> build/lib.linux-armv7l-3.4/lxml/isoschematron
copying src/lxml/etree.h -> build/lib.linux-armv7l-3.4/lxml
copying src/lxml/etree_api.h -> build/lib.linux-armv7l-3.4/lxml
copying src/lxml/lxml.etree.h -> build/lib.linux-armv7l-3.4/lxml
copying src/lxml/lxml.etree_api.h -> build/lib.linux-armv7l-3.4/lxml
copying src/lxml/includes/etreepublic.pxd -> build/lib.linux-armv7l-3.4/lxml/includes
copying src/lxml/includes/schematron.pxd -> build/lib.linux-armv7l-3.4/lxml/includes
copying src/lxml/includes/xmlschema.pxd -> build/lib.linux-armv7l-3.4/lxml/includes
copying src/lxml/includes/tree.pxd -> build/lib.linux-armv7l-3.4/lxml/includes
copying src/lxml/includes/htmlparser.pxd -> build/lib.linux-armv7l-3.4/lxml/includes
copying src/lxml/includes/xinclude.pxd -> build/lib.linux-armv7l-3.4/lxml/includes
copying src/lxml/includes/xmlparser.pxd -> build/lib.linux-armv7l-3.4/lxml/includes
copying src/lxml/includes/xmlerror.pxd -> build/lib.linux-armv7l-3.4/lxml/includes
copying src/lxml/includes/c14n.pxd -> build/lib.linux-armv7l-3.4/lxml/includes
copying src/lxml/includes/xpath.pxd -> build/lib.linux-armv7l-3.4/lxml/includes
copying src/lxml/includes/config.pxd -> build/lib.linux-armv7l-3.4/lxml/includes
copying src/lxml/includes/xslt.pxd -> build/lib.linux-armv7l-3.4/lxml/includes
copying src/lxml/includes/uri.pxd -> build/lib.linux-armv7l-3.4/lxml/includes
copying src/lxml/includes/__init__.pxd -> build/lib.linux-armv7l-3.4/lxml/includes
copying src/lxml/includes/dtdvalid.pxd -> build/lib.linux-armv7l-3.4/lxml/includes
copying src/lxml/includes/relaxng.pxd -> build/lib.linux-armv7l-3.4/lxml/includes
copying src/lxml/includes/etree_defs.h -> build/lib.linux-armv7l-3.4/lxml/includes
copying src/lxml/includes/lxml-version.h -> build/lib.linux-armv7l-3.4/lxml/includes
creating build/lib.linux-armv7l-3.4/lxml/isoschematron/resources
creating build/lib.linux-armv7l-3.4/lxml/isoschematron/resources/rng
copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.linux-armv7l-3.4/lxml/isoschematron/resources/rng
creating build/lib.linux-armv7l-3.4/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.linux-armv7l-3.4/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.linux-armv7l-3.4/lxml/isoschematron/resources/xsl
creating build/lib.linux-armv7l-3.4/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.4/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.4/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.4/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.4/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.4/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.linux-armv7l-3.4/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
running build_ext
building 'lxml.etree' extension
creating build/temp.linux-armv7l-3.4
creating build/temp.linux-armv7l-3.4/src
creating build/temp.linux-armv7l-3.4/src/lxml
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -Isrc -Isrc/lxml/includes -I/usr/include/python3.4m -I/opt/venvs/mycroft-core/include/python3.4m -c src/lxml/etree.c -o build/temp.linux-armv7l-3.4/src/lxml/etree.o -w
In file included from src/lxml/etree.c:661:0:
src/lxml/includes/etree_defs.h:14:31: fatal error: libxml/xmlversion.h: No such file or directory
#include "libxml/xmlversion.h"
^
compilation terminated.
Compile failed: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
cc -I/usr/include/libxml2 -c /tmp/xmlXPathInitevsgko8n.c -o tmp/xmlXPathInitevsgko8n.o
/tmp/xmlXPathInitevsgko8n.c:1:26: fatal error: libxml/xpath.h: No such file or directory
#include "libxml/xpath.h"
^
compilation terminated.
*********************************************************************************
Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?
*********************************************************************************
error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
----------------------------------------
Failed building wheel for lxml
Command "/opt/venvs/mycroft-core/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-sjz00n1m/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-kuhzgqym/install-record.txt --single-version-externally-managed --compile --install-headers /opt/venvs/mycroft-core/include/site/python3.4/lxml" failed with error code 1 in /tmp/pip-install-sjz00n1m/lxml/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment