Closed alexei closed 8 years ago
Any stacktrace?
Yeah, sorry:
$ pip install talon==1.2.16
Collecting talon==1.2.16
Requirement already satisfied (use --upgrade to upgrade): cssselect in /Users/alexei/.virtualenvs/test/lib/python2.7/site-packages (from talon==1.2.16)
Requirement already satisfied (use --upgrade to upgrade): scipy in /Users/alexei/.virtualenvs/test/lib/python2.7/site-packages (from talon==1.2.16)
Requirement already satisfied (use --upgrade to upgrade): regex>=1 in /Users/alexei/.virtualenvs/test/lib/python2.7/site-packages (from talon==1.2.16)
Collecting lxml>=2.3.3 (from talon==1.2.16)
Using cached lxml-3.6.3.tar.gz
Requirement already satisfied (use --upgrade to upgrade): chardet>=1.0.1 in /Users/alexei/.virtualenvs/test/lib/python2.7/site-packages (from talon==1.2.16)
Collecting scikit-learn==0.16.1 (from talon==1.2.16)
Using cached scikit_learn-0.16.1-cp27-none-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Requirement already satisfied (use --upgrade to upgrade): six>=1.10.0 in /Users/alexei/.virtualenvs/test/lib/python2.7/site-packages (from talon==1.2.16)
Requirement already satisfied (use --upgrade to upgrade): numpy in /Users/alexei/.virtualenvs/test/lib/python2.7/site-packages (from talon==1.2.16)
Requirement already satisfied (use --upgrade to upgrade): cchardet>=0.3.5 in /Users/alexei/.virtualenvs/test/lib/python2.7/site-packages (from talon==1.2.16)
Building wheels for collected packages: lxml
Running setup.py bdist_wheel for lxml ... error
Complete output from command /Users/alexei/.virtualenvs/test/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/36/rt1nrd052ln660nnnrqmkfl00000gn/T/pip-build-Bik5Nu/lxml/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /var/folders/36/rt1nrd052ln660nnnrqmkfl00000gn/T/tmpA6m2krpip-wheel- --python-tag cp27:
Building lxml version 3.6.3.
Building without Cython.
Using build configuration of libxslt 1.1.28
Building against libxml2/libxslt in the following directory: /opt/local/lib
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.11-intel-2.7
creating build/lib.macosx-10.11-intel-2.7/lxml
copying src/lxml/__init__.py -> build/lib.macosx-10.11-intel-2.7/lxml
copying src/lxml/_elementpath.py -> build/lib.macosx-10.11-intel-2.7/lxml
copying src/lxml/builder.py -> build/lib.macosx-10.11-intel-2.7/lxml
copying src/lxml/cssselect.py -> build/lib.macosx-10.11-intel-2.7/lxml
copying src/lxml/doctestcompare.py -> build/lib.macosx-10.11-intel-2.7/lxml
copying src/lxml/ElementInclude.py -> build/lib.macosx-10.11-intel-2.7/lxml
copying src/lxml/pyclasslookup.py -> build/lib.macosx-10.11-intel-2.7/lxml
copying src/lxml/sax.py -> build/lib.macosx-10.11-intel-2.7/lxml
copying src/lxml/usedoctest.py -> build/lib.macosx-10.11-intel-2.7/lxml
creating build/lib.macosx-10.11-intel-2.7/lxml/includes
copying src/lxml/includes/__init__.py -> build/lib.macosx-10.11-intel-2.7/lxml/includes
creating build/lib.macosx-10.11-intel-2.7/lxml/html
copying src/lxml/html/__init__.py -> build/lib.macosx-10.11-intel-2.7/lxml/html
copying src/lxml/html/_diffcommand.py -> build/lib.macosx-10.11-intel-2.7/lxml/html
copying src/lxml/html/_html5builder.py -> build/lib.macosx-10.11-intel-2.7/lxml/html
copying src/lxml/html/_setmixin.py -> build/lib.macosx-10.11-intel-2.7/lxml/html
copying src/lxml/html/builder.py -> build/lib.macosx-10.11-intel-2.7/lxml/html
copying src/lxml/html/clean.py -> build/lib.macosx-10.11-intel-2.7/lxml/html
copying src/lxml/html/defs.py -> build/lib.macosx-10.11-intel-2.7/lxml/html
copying src/lxml/html/diff.py -> build/lib.macosx-10.11-intel-2.7/lxml/html
copying src/lxml/html/ElementSoup.py -> build/lib.macosx-10.11-intel-2.7/lxml/html
copying src/lxml/html/formfill.py -> build/lib.macosx-10.11-intel-2.7/lxml/html
copying src/lxml/html/html5parser.py -> build/lib.macosx-10.11-intel-2.7/lxml/html
copying src/lxml/html/soupparser.py -> build/lib.macosx-10.11-intel-2.7/lxml/html
copying src/lxml/html/usedoctest.py -> build/lib.macosx-10.11-intel-2.7/lxml/html
creating build/lib.macosx-10.11-intel-2.7/lxml/isoschematron
copying src/lxml/isoschematron/__init__.py -> build/lib.macosx-10.11-intel-2.7/lxml/isoschematron
copying src/lxml/lxml.etree.h -> build/lib.macosx-10.11-intel-2.7/lxml
copying src/lxml/lxml.etree_api.h -> build/lib.macosx-10.11-intel-2.7/lxml
copying src/lxml/includes/c14n.pxd -> build/lib.macosx-10.11-intel-2.7/lxml/includes
copying src/lxml/includes/config.pxd -> build/lib.macosx-10.11-intel-2.7/lxml/includes
copying src/lxml/includes/dtdvalid.pxd -> build/lib.macosx-10.11-intel-2.7/lxml/includes
copying src/lxml/includes/etreepublic.pxd -> build/lib.macosx-10.11-intel-2.7/lxml/includes
copying src/lxml/includes/htmlparser.pxd -> build/lib.macosx-10.11-intel-2.7/lxml/includes
copying src/lxml/includes/relaxng.pxd -> build/lib.macosx-10.11-intel-2.7/lxml/includes
copying src/lxml/includes/schematron.pxd -> build/lib.macosx-10.11-intel-2.7/lxml/includes
copying src/lxml/includes/tree.pxd -> build/lib.macosx-10.11-intel-2.7/lxml/includes
copying src/lxml/includes/uri.pxd -> build/lib.macosx-10.11-intel-2.7/lxml/includes
copying src/lxml/includes/xinclude.pxd -> build/lib.macosx-10.11-intel-2.7/lxml/includes
copying src/lxml/includes/xmlerror.pxd -> build/lib.macosx-10.11-intel-2.7/lxml/includes
copying src/lxml/includes/xmlparser.pxd -> build/lib.macosx-10.11-intel-2.7/lxml/includes
copying src/lxml/includes/xmlschema.pxd -> build/lib.macosx-10.11-intel-2.7/lxml/includes
copying src/lxml/includes/xpath.pxd -> build/lib.macosx-10.11-intel-2.7/lxml/includes
copying src/lxml/includes/xslt.pxd -> build/lib.macosx-10.11-intel-2.7/lxml/includes
copying src/lxml/includes/etree_defs.h -> build/lib.macosx-10.11-intel-2.7/lxml/includes
copying src/lxml/includes/lxml-version.h -> build/lib.macosx-10.11-intel-2.7/lxml/includes
creating build/lib.macosx-10.11-intel-2.7/lxml/isoschematron/resources
creating build/lib.macosx-10.11-intel-2.7/lxml/isoschematron/resources/rng
copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.macosx-10.11-intel-2.7/lxml/isoschematron/resources/rng
creating build/lib.macosx-10.11-intel-2.7/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.macosx-10.11-intel-2.7/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.macosx-10.11-intel-2.7/lxml/isoschematron/resources/xsl
creating build/lib.macosx-10.11-intel-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl -> build/lib.macosx-10.11-intel-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl -> build/lib.macosx-10.11-intel-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl -> build/lib.macosx-10.11-intel-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl -> build/lib.macosx-10.11-intel-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl -> build/lib.macosx-10.11-intel-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.macosx-10.11-intel-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
running build_ext
building 'lxml.etree' extension
creating build/temp.macosx-10.11-intel-2.7
creating build/temp.macosx-10.11-intel-2.7/src
creating build/temp.macosx-10.11-intel-2.7/src/lxml
cc -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -Qunused-arguments -Qunused-arguments -arch i386 -arch x86_64 -pipe -I/opt/local/include -I/opt/local/include/libxml2 -Isrc/lxml/includes -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/lxml/lxml.etree.c -o build/temp.macosx-10.11-intel-2.7/src/lxml/lxml.etree.o -w -flat_namespace
cc -bundle -undefined dynamic_lookup -arch i386 -arch x86_64 -Wl,-F. -Qunused-arguments -Qunused-arguments build/temp.macosx-10.11-intel-2.7/src/lxml/lxml.etree.o -L/opt/local/lib -lxslt -lexslt -lrt -lxml2 -lz -lm -o build/lib.macosx-10.11-intel-2.7/lxml/etree.so
ld: library not found for -lrt
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command 'cc' failed with exit status 1
----------------------------------------
Failed building wheel for lxml
Running setup.py clean for lxml
Failed to build lxml
Installing collected packages: lxml, scikit-learn, talon
Running setup.py install for lxml ... error
Complete output from command /Users/alexei/.virtualenvs/test/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/36/rt1nrd052ln660nnnrqmkfl00000gn/T/pip-build-Bik5Nu/lxml/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/36/rt1nrd052ln660nnnrqmkfl00000gn/T/pip-eftC7h-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/alexei/.virtualenvs/test/include/site/python2.7/lxml:
Building lxml version 3.6.3.
Building without Cython.
Using build configuration of libxslt 1.1.28
Building against libxml2/libxslt in the following directory: /opt/local/lib
running install
running build
running build_py
creating build
creating build/lib.macosx-10.11-intel-2.7
creating build/lib.macosx-10.11-intel-2.7/lxml
copying src/lxml/__init__.py -> build/lib.macosx-10.11-intel-2.7/lxml
copying src/lxml/_elementpath.py -> build/lib.macosx-10.11-intel-2.7/lxml
copying src/lxml/builder.py -> build/lib.macosx-10.11-intel-2.7/lxml
copying src/lxml/cssselect.py -> build/lib.macosx-10.11-intel-2.7/lxml
copying src/lxml/doctestcompare.py -> build/lib.macosx-10.11-intel-2.7/lxml
copying src/lxml/ElementInclude.py -> build/lib.macosx-10.11-intel-2.7/lxml
copying src/lxml/pyclasslookup.py -> build/lib.macosx-10.11-intel-2.7/lxml
copying src/lxml/sax.py -> build/lib.macosx-10.11-intel-2.7/lxml
copying src/lxml/usedoctest.py -> build/lib.macosx-10.11-intel-2.7/lxml
creating build/lib.macosx-10.11-intel-2.7/lxml/includes
copying src/lxml/includes/__init__.py -> build/lib.macosx-10.11-intel-2.7/lxml/includes
creating build/lib.macosx-10.11-intel-2.7/lxml/html
copying src/lxml/html/__init__.py -> build/lib.macosx-10.11-intel-2.7/lxml/html
copying src/lxml/html/_diffcommand.py -> build/lib.macosx-10.11-intel-2.7/lxml/html
copying src/lxml/html/_html5builder.py -> build/lib.macosx-10.11-intel-2.7/lxml/html
copying src/lxml/html/_setmixin.py -> build/lib.macosx-10.11-intel-2.7/lxml/html
copying src/lxml/html/builder.py -> build/lib.macosx-10.11-intel-2.7/lxml/html
copying src/lxml/html/clean.py -> build/lib.macosx-10.11-intel-2.7/lxml/html
copying src/lxml/html/defs.py -> build/lib.macosx-10.11-intel-2.7/lxml/html
copying src/lxml/html/diff.py -> build/lib.macosx-10.11-intel-2.7/lxml/html
copying src/lxml/html/ElementSoup.py -> build/lib.macosx-10.11-intel-2.7/lxml/html
copying src/lxml/html/formfill.py -> build/lib.macosx-10.11-intel-2.7/lxml/html
copying src/lxml/html/html5parser.py -> build/lib.macosx-10.11-intel-2.7/lxml/html
copying src/lxml/html/soupparser.py -> build/lib.macosx-10.11-intel-2.7/lxml/html
copying src/lxml/html/usedoctest.py -> build/lib.macosx-10.11-intel-2.7/lxml/html
creating build/lib.macosx-10.11-intel-2.7/lxml/isoschematron
copying src/lxml/isoschematron/__init__.py -> build/lib.macosx-10.11-intel-2.7/lxml/isoschematron
copying src/lxml/lxml.etree.h -> build/lib.macosx-10.11-intel-2.7/lxml
copying src/lxml/lxml.etree_api.h -> build/lib.macosx-10.11-intel-2.7/lxml
copying src/lxml/includes/c14n.pxd -> build/lib.macosx-10.11-intel-2.7/lxml/includes
copying src/lxml/includes/config.pxd -> build/lib.macosx-10.11-intel-2.7/lxml/includes
copying src/lxml/includes/dtdvalid.pxd -> build/lib.macosx-10.11-intel-2.7/lxml/includes
copying src/lxml/includes/etreepublic.pxd -> build/lib.macosx-10.11-intel-2.7/lxml/includes
copying src/lxml/includes/htmlparser.pxd -> build/lib.macosx-10.11-intel-2.7/lxml/includes
copying src/lxml/includes/relaxng.pxd -> build/lib.macosx-10.11-intel-2.7/lxml/includes
copying src/lxml/includes/schematron.pxd -> build/lib.macosx-10.11-intel-2.7/lxml/includes
copying src/lxml/includes/tree.pxd -> build/lib.macosx-10.11-intel-2.7/lxml/includes
copying src/lxml/includes/uri.pxd -> build/lib.macosx-10.11-intel-2.7/lxml/includes
copying src/lxml/includes/xinclude.pxd -> build/lib.macosx-10.11-intel-2.7/lxml/includes
copying src/lxml/includes/xmlerror.pxd -> build/lib.macosx-10.11-intel-2.7/lxml/includes
copying src/lxml/includes/xmlparser.pxd -> build/lib.macosx-10.11-intel-2.7/lxml/includes
copying src/lxml/includes/xmlschema.pxd -> build/lib.macosx-10.11-intel-2.7/lxml/includes
copying src/lxml/includes/xpath.pxd -> build/lib.macosx-10.11-intel-2.7/lxml/includes
copying src/lxml/includes/xslt.pxd -> build/lib.macosx-10.11-intel-2.7/lxml/includes
copying src/lxml/includes/etree_defs.h -> build/lib.macosx-10.11-intel-2.7/lxml/includes
copying src/lxml/includes/lxml-version.h -> build/lib.macosx-10.11-intel-2.7/lxml/includes
creating build/lib.macosx-10.11-intel-2.7/lxml/isoschematron/resources
creating build/lib.macosx-10.11-intel-2.7/lxml/isoschematron/resources/rng
copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.macosx-10.11-intel-2.7/lxml/isoschematron/resources/rng
creating build/lib.macosx-10.11-intel-2.7/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.macosx-10.11-intel-2.7/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.macosx-10.11-intel-2.7/lxml/isoschematron/resources/xsl
creating build/lib.macosx-10.11-intel-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl -> build/lib.macosx-10.11-intel-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl -> build/lib.macosx-10.11-intel-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl -> build/lib.macosx-10.11-intel-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl -> build/lib.macosx-10.11-intel-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl -> build/lib.macosx-10.11-intel-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.macosx-10.11-intel-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
running build_ext
building 'lxml.etree' extension
creating build/temp.macosx-10.11-intel-2.7
creating build/temp.macosx-10.11-intel-2.7/src
creating build/temp.macosx-10.11-intel-2.7/src/lxml
cc -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -Qunused-arguments -Qunused-arguments -arch i386 -arch x86_64 -pipe -I/opt/local/include -I/opt/local/include/libxml2 -Isrc/lxml/includes -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/lxml/lxml.etree.c -o build/temp.macosx-10.11-intel-2.7/src/lxml/lxml.etree.o -w -flat_namespace
cc -bundle -undefined dynamic_lookup -arch i386 -arch x86_64 -Wl,-F. -Qunused-arguments -Qunused-arguments build/temp.macosx-10.11-intel-2.7/src/lxml/lxml.etree.o -L/opt/local/lib -lxslt -lexslt -lrt -lxml2 -lz -lm -o build/lib.macosx-10.11-intel-2.7/lxml/etree.so
ld: library not found for -lrt
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command 'cc' failed with exit status 1
----------------------------------------
Command "/Users/alexei/.virtualenvs/test/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/36/rt1nrd052ln660nnnrqmkfl00000gn/T/pip-build-Bik5Nu/lxml/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/36/rt1nrd052ln660nnnrqmkfl00000gn/T/pip-eftC7h-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/alexei/.virtualenvs/test/include/site/python2.7/lxml" failed with error code 1 in /private/var/folders/36/rt1nrd052ln660nnnrqmkfl00000gn/T/pip-build-Bik5Nu/lxml/
I guess though this has more to do with lxml than talon
Do you can install lxml seperated ( pip install lxml
) ?
Thanks for the support!
Yeah, I tried pip
separately - along a couple of different configuration options I could find on the web - to no avail. Eventually I found this https://github.com/lxml/lxml/pull/204 and that's when I gave up the search :)
@obukhov-sergey, close, please.
@alexei , thanks for close issue.
Python 2.7.10 pip 8.1.2
Any advice?