Open udayguntupalli opened 5 years ago
It looks like you are missing the lmxl library or its dependencies. On Windows this link may help: https://stackoverflow.com/a/30494745
@ajdonnison , While it looks promising, the lxml files available are either 64 bit AMD files or windows 32 bit ? If I have 64 bit machine non-AMD, what would be the appropriate file ?
I am having a nearly identical issue installing pyiso.
(base) C:\Users\tedb3>pip install --user pyiso Collecting pyiso Requirement already satisfied: html5lib in c:\programdata\anaconda3\lib\site-packages (from pyiso) (1.0.1) Requirement already satisfied: requests in c:\programdata\anaconda3\lib\site-packages (from pyiso) (2.21.0) Collecting lxml==3.6.4 (from pyiso) Using cached https://files.pythonhosted.org/packages/4f/3f/cf6daac551fc36cddafa1a71ed48ea5fd642e5feabd3a0d83b8c3dfd0cb4/lxml-3.6.4.tar.gz Requirement already satisfied: pytz in c:\programdata\anaconda3\lib\site-packages (from pyiso) (2018.9) Collecting beautifulsoup4==4.5.0 (from pyiso) Using cached https://files.pythonhosted.org/packages/42/10/466c8947b9b8bd99440662649addfc92e2ad5f4b548de0a6b36f535d0db0/beautifulsoup4-4.5.0-py3-none-any.whl Requirement already satisfied: pandas>=0.18 in c:\programdata\anaconda3\lib\site-packages (from pyiso) (0.24.2) Requirement already satisfied: certifi in c:\programdata\anaconda3\lib\site-packages (from pyiso) (2019.3.9) Requirement already satisfied: celery>=3.1 in c:\programdata\anaconda3\lib\site-packages (from pyiso) (4.3.0) Requirement already satisfied: xlrd in c:\programdata\anaconda3\lib\site-packages (from pyiso) (1.2.0) Collecting mock (from pyiso) Using cached https://files.pythonhosted.org/packages/05/d2/f94e68be6b17f46d2c353564da56e6fb89ef09faeeff3313a046cb810ca9/mock-3.0.5-py2.py3-none-any.whl Requirement already satisfied: python-dateutil in c:\programdata\anaconda3\lib\site-packages (from pyiso) (2.8.0) Requirement already satisfied: six>=1.9 in c:\programdata\anaconda3\lib\site-packages (from html5lib->pyiso) (1.12.0) Requirement already satisfied: webencodings in c:\programdata\anaconda3\lib\site-packages (from html5lib->pyiso) (0.5.1) Requirement already satisfied: idna<2.9,>=2.5 in c:\programdata\anaconda3\lib\site-packages (from requests->pyiso) (2.8) Requirement already satisfied: urllib3<1.25,>=1.21.1 in c:\programdata\anaconda3\lib\site-packages (from requests->pyiso) (1.24.1) Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\programdata\anaconda3\lib\site-packages (from requests->pyiso) (3.0.4) Requirement already satisfied: numpy>=1.12.0 in c:\programdata\anaconda3\lib\site-packages (from pandas>=0.18->pyiso) (1.16.2) Requirement already satisfied: kombu<5.0,>=4.4.0 in c:\programdata\anaconda3\lib\site-packages (from celery>=3.1->pyiso) (4.5.0) Requirement already satisfied: vine>=1.3.0 in c:\programdata\anaconda3\lib\site-packages (from celery>=3.1->pyiso) (1.3.0) Requirement already satisfied: billiard<4.0,>=3.6.0 in c:\programdata\anaconda3\lib\site-packages (from celery>=3.1->pyiso) (3.6.0.0) Requirement already satisfied: amqp<3.0,>=2.4.0 in c:\programdata\anaconda3\lib\site-packages (from kombu<5.0,>=4.4.0->celery>=3.1->pyiso) (2.4.2) Building wheels for collected packages: lxml Building wheel for lxml (setup.py) ... error Complete output from command C:\ProgramData\Anaconda3\python.exe -u -c "import setuptools, tokenize;file='C:\Users\tedb3\AppData\Local\Temp\pip-install-yu4f0jl2\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 C:\Users\tedb3\AppData\Local\Temp\pip-wheel-cx_es6vm --python-tag cp37: Building lxml version 3.6.4. Building without Cython. ERROR: b"'xslt-config' is not recognized as an internal or external command,\r\noperable program or batch file.\r\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.win-amd64-3.7 creating build\lib.win-amd64-3.7\lxml copying src\lxml\builder.py -> build\lib.win-amd64-3.7\lxml copying src\lxml\cssselect.py -> build\lib.win-amd64-3.7\lxml copying src\lxml\doctestcompare.py -> build\lib.win-amd64-3.7\lxml copying src\lxml\ElementInclude.py -> build\lib.win-amd64-3.7\lxml copying src\lxml\pyclasslookup.py -> build\lib.win-amd64-3.7\lxml copying src\lxml\sax.py -> build\lib.win-amd64-3.7\lxml copying src\lxml\usedoctest.py -> build\lib.win-amd64-3.7\lxml copying src\lxml_elementpath.py -> build\lib.win-amd64-3.7\lxml copying src\lxml__init.py -> build\lib.win-amd64-3.7\lxml creating build\lib.win-amd64-3.7\lxml\includes copying src\lxml\includes__init__.py -> build\lib.win-amd64-3.7\lxml\includes creating build\lib.win-amd64-3.7\lxml\html copying src\lxml\html\builder.py -> build\lib.win-amd64-3.7\lxml\html copying src\lxml\html\clean.py -> build\lib.win-amd64-3.7\lxml\html copying src\lxml\html\defs.py -> build\lib.win-amd64-3.7\lxml\html copying src\lxml\html\diff.py -> build\lib.win-amd64-3.7\lxml\html copying src\lxml\html\ElementSoup.py -> build\lib.win-amd64-3.7\lxml\html copying src\lxml\html\formfill.py -> build\lib.win-amd64-3.7\lxml\html copying src\lxml\html\html5parser.py -> build\lib.win-amd64-3.7\lxml\html copying src\lxml\html\soupparser.py -> build\lib.win-amd64-3.7\lxml\html copying src\lxml\html\usedoctest.py -> build\lib.win-amd64-3.7\lxml\html copying src\lxml\html_diffcommand.py -> build\lib.win-amd64-3.7\lxml\html copying src\lxml\html_html5builder.py -> build\lib.win-amd64-3.7\lxml\html copying src\lxml\html_setmixin.py -> build\lib.win-amd64-3.7\lxml\html copying src\lxml\html\init.py -> build\lib.win-amd64-3.7\lxml\html creating build\lib.win-amd64-3.7\lxml\isoschematron copying src\lxml\isoschematron\init__.py -> build\lib.win-amd64-3.7\lxml\isoschematron copying src\lxml\lxml.etree.h -> build\lib.win-amd64-3.7\lxml copying src\lxml\lxml.etree_api.h -> build\lib.win-amd64-3.7\lxml copying src\lxml\includes\c14n.pxd -> build\lib.win-amd64-3.7\lxml\includes copying src\lxml\includes\config.pxd -> build\lib.win-amd64-3.7\lxml\includes copying src\lxml\includes\dtdvalid.pxd -> build\lib.win-amd64-3.7\lxml\includes copying src\lxml\includes\etreepublic.pxd -> build\lib.win-amd64-3.7\lxml\includes copying src\lxml\includes\htmlparser.pxd -> build\lib.win-amd64-3.7\lxml\includes copying src\lxml\includes\relaxng.pxd -> build\lib.win-amd64-3.7\lxml\includes copying src\lxml\includes\schematron.pxd -> build\lib.win-amd64-3.7\lxml\includes copying src\lxml\includes\tree.pxd -> build\lib.win-amd64-3.7\lxml\includes copying src\lxml\includes\uri.pxd -> build\lib.win-amd64-3.7\lxml\includes copying src\lxml\includes\xinclude.pxd -> build\lib.win-amd64-3.7\lxml\includes copying src\lxml\includes\xmlerror.pxd -> build\lib.win-amd64-3.7\lxml\includes copying src\lxml\includes\xmlparser.pxd -> build\lib.win-amd64-3.7\lxml\includes copying src\lxml\includes\xmlschema.pxd -> build\lib.win-amd64-3.7\lxml\includes copying src\lxml\includes\xpath.pxd -> build\lib.win-amd64-3.7\lxml\includes copying src\lxml\includes\xslt.pxd -> build\lib.win-amd64-3.7\lxml\includes copying src\lxml\includes\etree_defs.h -> build\lib.win-amd64-3.7\lxml\includes copying src\lxml\includes\lxml-version.h -> build\lib.win-amd64-3.7\lxml\includes creating build\lib.win-amd64-3.7\lxml\isoschematron\resources creating build\lib.win-amd64-3.7\lxml\isoschematron\resources\rng copying src\lxml\isoschematron\resources\rng\iso-schematron.rng -> build\lib.win-amd64-3.7\lxml\isoschematron\resources\rng creating build\lib.win-amd64-3.7\lxml\isoschematron\resources\xsl copying src\lxml\isoschematron\resources\xsl\RNG2Schtrn.xsl -> build\lib.win-amd64-3.7\lxml\isoschematron\resources\xsl copying src\lxml\isoschematron\resources\xsl\XSD2Schtrn.xsl -> build\lib.win-amd64-3.7\lxml\isoschematron\resources\xsl creating build\lib.win-amd64-3.7\lxml\isoschematron\resources\xsl\iso-schematron-xslt1 copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_abstract_expand.xsl -> build\lib.win-amd64-3.7\lxml\isoschematron\resources\xsl\iso-schematron-xslt1 copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_dsdl_include.xsl -> build\lib.win-amd64-3.7\lxml\isoschematron\resources\xsl\iso-schematron-xslt1 copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_schematron_message.xsl -> build\lib.win-amd64-3.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.win-amd64-3.7\lxml\isoschematron\resources\xsl\iso-schematron-xslt1 copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_svrl_for_xslt1.xsl -> build\lib.win-amd64-3.7\lxml\isoschematron\resources\xsl\iso-schematron-xslt1 copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\readme.txt -> build\lib.win-amd64-3.7\lxml\isoschematron\resources\xsl\iso-schematron-xslt1 running build_ext building 'lxml.etree' extension error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
Failed building wheel for lxml Running setup.py clean for lxml Failed to build lxml Installing collected packages: lxml, beautifulsoup4, mock, pyiso Running setup.py install for lxml ... error Complete output from command C:\ProgramData\Anaconda3\python.exe -u -c "import setuptools, tokenize;file='C:\Users\tedb3\AppData\Local\Temp\pip-install-yu4f0jl2\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 C:\Users\tedb3\AppData\Local\Temp\pip-record-f0ll4cit\install-record.txt --single-version-externally-managed --compile --user --prefix=: Building lxml version 3.6.4. Building without Cython. ERROR: b"'xslt-config' is not recognized as an internal or external command,\r\noperable program or batch file.\r\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.win-amd64-3.7
creating build\lib.win-amd64-3.7\lxml
copying src\lxml\builder.py -> build\lib.win-amd64-3.7\lxml
copying src\lxml\cssselect.py -> build\lib.win-amd64-3.7\lxml
copying src\lxml\doctestcompare.py -> build\lib.win-amd64-3.7\lxml
copying src\lxml\ElementInclude.py -> build\lib.win-amd64-3.7\lxml
copying src\lxml\pyclasslookup.py -> build\lib.win-amd64-3.7\lxml
copying src\lxml\sax.py -> build\lib.win-amd64-3.7\lxml
copying src\lxml\usedoctest.py -> build\lib.win-amd64-3.7\lxml
copying src\lxml\_elementpath.py -> build\lib.win-amd64-3.7\lxml
copying src\lxml\__init__.py -> build\lib.win-amd64-3.7\lxml
creating build\lib.win-amd64-3.7\lxml\includes
copying src\lxml\includes\__init__.py -> build\lib.win-amd64-3.7\lxml\includes
creating build\lib.win-amd64-3.7\lxml\html
copying src\lxml\html\builder.py -> build\lib.win-amd64-3.7\lxml\html
copying src\lxml\html\clean.py -> build\lib.win-amd64-3.7\lxml\html
copying src\lxml\html\defs.py -> build\lib.win-amd64-3.7\lxml\html
copying src\lxml\html\diff.py -> build\lib.win-amd64-3.7\lxml\html
copying src\lxml\html\ElementSoup.py -> build\lib.win-amd64-3.7\lxml\html
copying src\lxml\html\formfill.py -> build\lib.win-amd64-3.7\lxml\html
copying src\lxml\html\html5parser.py -> build\lib.win-amd64-3.7\lxml\html
copying src\lxml\html\soupparser.py -> build\lib.win-amd64-3.7\lxml\html
copying src\lxml\html\usedoctest.py -> build\lib.win-amd64-3.7\lxml\html
copying src\lxml\html\_diffcommand.py -> build\lib.win-amd64-3.7\lxml\html
copying src\lxml\html\_html5builder.py -> build\lib.win-amd64-3.7\lxml\html
copying src\lxml\html\_setmixin.py -> build\lib.win-amd64-3.7\lxml\html
copying src\lxml\html\__init__.py -> build\lib.win-amd64-3.7\lxml\html
creating build\lib.win-amd64-3.7\lxml\isoschematron
copying src\lxml\isoschematron\__init__.py -> build\lib.win-amd64-3.7\lxml\isoschematron
copying src\lxml\lxml.etree.h -> build\lib.win-amd64-3.7\lxml
copying src\lxml\lxml.etree_api.h -> build\lib.win-amd64-3.7\lxml
copying src\lxml\includes\c14n.pxd -> build\lib.win-amd64-3.7\lxml\includes
copying src\lxml\includes\config.pxd -> build\lib.win-amd64-3.7\lxml\includes
copying src\lxml\includes\dtdvalid.pxd -> build\lib.win-amd64-3.7\lxml\includes
copying src\lxml\includes\etreepublic.pxd -> build\lib.win-amd64-3.7\lxml\includes
copying src\lxml\includes\htmlparser.pxd -> build\lib.win-amd64-3.7\lxml\includes
copying src\lxml\includes\relaxng.pxd -> build\lib.win-amd64-3.7\lxml\includes
copying src\lxml\includes\schematron.pxd -> build\lib.win-amd64-3.7\lxml\includes
copying src\lxml\includes\tree.pxd -> build\lib.win-amd64-3.7\lxml\includes
copying src\lxml\includes\uri.pxd -> build\lib.win-amd64-3.7\lxml\includes
copying src\lxml\includes\xinclude.pxd -> build\lib.win-amd64-3.7\lxml\includes
copying src\lxml\includes\xmlerror.pxd -> build\lib.win-amd64-3.7\lxml\includes
copying src\lxml\includes\xmlparser.pxd -> build\lib.win-amd64-3.7\lxml\includes
copying src\lxml\includes\xmlschema.pxd -> build\lib.win-amd64-3.7\lxml\includes
copying src\lxml\includes\xpath.pxd -> build\lib.win-amd64-3.7\lxml\includes
copying src\lxml\includes\xslt.pxd -> build\lib.win-amd64-3.7\lxml\includes
copying src\lxml\includes\etree_defs.h -> build\lib.win-amd64-3.7\lxml\includes
copying src\lxml\includes\lxml-version.h -> build\lib.win-amd64-3.7\lxml\includes
creating build\lib.win-amd64-3.7\lxml\isoschematron\resources
creating build\lib.win-amd64-3.7\lxml\isoschematron\resources\rng
copying src\lxml\isoschematron\resources\rng\iso-schematron.rng -> build\lib.win-amd64-3.7\lxml\isoschematron\resources\rng
creating build\lib.win-amd64-3.7\lxml\isoschematron\resources\xsl
copying src\lxml\isoschematron\resources\xsl\RNG2Schtrn.xsl -> build\lib.win-amd64-3.7\lxml\isoschematron\resources\xsl
copying src\lxml\isoschematron\resources\xsl\XSD2Schtrn.xsl -> build\lib.win-amd64-3.7\lxml\isoschematron\resources\xsl
creating build\lib.win-amd64-3.7\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_abstract_expand.xsl -> build\lib.win-amd64-3.7\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_dsdl_include.xsl -> build\lib.win-amd64-3.7\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_schematron_message.xsl -> build\lib.win-amd64-3.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.win-amd64-3.7\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_svrl_for_xslt1.xsl -> build\lib.win-amd64-3.7\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\readme.txt -> build\lib.win-amd64-3.7\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
running build_ext
building 'lxml.etree' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
----------------------------------------
Command "C:\ProgramData\Anaconda3\python.exe -u -c "import setuptools, tokenize;file='C:\Users\tedb3\AppData\Local\Temp\pip-install-yu4f0jl2\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 C:\Users\tedb3\AppData\Local\Temp\pip-record-f0ll4cit\install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in C:\Users\tedb3\AppData\Local\Temp\pip-install-yu4f0jl2\lxml\
I also have this error.
Collecting pyiso Requirement already satisfied: pandas>=0.18 in /Users/camp426/anaconda3/lib/python3.7/site-packages (from pyiso) (0.24.2) Requirement already satisfied: xlrd in /Users/camp426/anaconda3/lib/python3.7/site-packages (from pyiso) (1.2.0) Requirement already satisfied: beautifulsoup4==4.5.0 in /Users/camp426/anaconda3/lib/python3.7/site-packages (from pyiso) (4.5.0) Requirement already satisfied: certifi in /Users/camp426/anaconda3/lib/python3.7/site-packages (from pyiso) (2019.3.9) Requirement already satisfied: requests in /Users/camp426/anaconda3/lib/python3.7/site-packages (from pyiso) (2.21.0) Collecting mock (from pyiso) Using cached https://files.pythonhosted.org/packages/05/d2/f94e68be6b17f46d2c353564da56e6fb89ef09faeeff3313a046cb810ca9/mock-3.0.5-py2.py3-none-any.whl Requirement already satisfied: celery>=3.1 in /Users/camp426/anaconda3/lib/python3.7/site-packages (from pyiso) (4.3.0) Requirement already satisfied: python-dateutil in /Users/camp426/anaconda3/lib/python3.7/site-packages (from pyiso) (2.8.0) Requirement already satisfied: html5lib in /Users/camp426/anaconda3/lib/python3.7/site-packages (from pyiso) (1.0.1) Collecting lxml==3.6.4 (from pyiso) Using cached https://files.pythonhosted.org/packages/4f/3f/cf6daac551fc36cddafa1a71ed48ea5fd642e5feabd3a0d83b8c3dfd0cb4/lxml-3.6.4.tar.gz Requirement already satisfied: pytz in /Users/camp426/anaconda3/lib/python3.7/site-packages (from pyiso) (2018.9) Requirement already satisfied: numpy>=1.12.0 in /Users/camp426/anaconda3/lib/python3.7/site-packages (from pandas>=0.18->pyiso) (1.16.2) Requirement already satisfied: idna<2.9,>=2.5 in /Users/camp426/anaconda3/lib/python3.7/site-packages (from requests->pyiso) (2.8) Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /Users/camp426/anaconda3/lib/python3.7/site-packages (from requests->pyiso) (3.0.4) Requirement already satisfied: urllib3<1.25,>=1.21.1 in /Users/camp426/anaconda3/lib/python3.7/site-packages (from requests->pyiso) (1.24.1) Requirement already satisfied: six in /Users/camp426/anaconda3/lib/python3.7/site-packages (from mock->pyiso) (1.12.0) Requirement already satisfied: vine>=1.3.0 in /Users/camp426/anaconda3/lib/python3.7/site-packages (from celery>=3.1->pyiso) (1.3.0) Requirement already satisfied: billiard<4.0,>=3.6.0 in /Users/camp426/anaconda3/lib/python3.7/site-packages (from celery>=3.1->pyiso) (3.6.0.0) Requirement already satisfied: kombu<5.0,>=4.4.0 in /Users/camp426/anaconda3/lib/python3.7/site-packages (from celery>=3.1->pyiso) (4.6.3) Requirement already satisfied: webencodings in /Users/camp426/anaconda3/lib/python3.7/site-packages (from html5lib->pyiso) (0.5.1) Requirement already satisfied: amqp<3.0,>=2.5.0 in /Users/camp426/anaconda3/lib/python3.7/site-packages (from kombu<5.0,>=4.4.0->celery>=3.1->pyiso) (2.5.0) Building wheels for collected packages: lxml Building wheel for lxml (setup.py) ... error Complete output from command /Users/camp426/anaconda3/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/xq/0txkbk490zl1y5wp5vd3bhhnpw3bp9/T/pip-install-f4u9gdu2/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 /private/var/folders/xq/0txkbk490zl1y5wp5vd3bhhnpw3bp9/T/pip-wheel-xq82h0nd --python-tag cp37: Building lxml version 3.6.4. Building without Cython. Using build configuration of libxslt 1.1.33 Building against libxml2/libxslt in the following directory: /Users/camp426/anaconda3/lib running bdist_wheel running build running build_py creating build creating build/lib.macosx-10.9-x86_64-3.7 creating build/lib.macosx-10.9-x86_64-3.7/lxml copying src/lxml/_elementpath.py -> build/lib.macosx-10.9-x86_64-3.7/lxml copying src/lxml/sax.py -> build/lib.macosx-10.9-x86_64-3.7/lxml copying src/lxml/pyclasslookup.py -> build/lib.macosx-10.9-x86_64-3.7/lxml copying src/lxml/init.py -> build/lib.macosx-10.9-x86_64-3.7/lxml copying src/lxml/builder.py -> build/lib.macosx-10.9-x86_64-3.7/lxml copying src/lxml/doctestcompare.py -> build/lib.macosx-10.9-x86_64-3.7/lxml copying src/lxml/usedoctest.py -> build/lib.macosx-10.9-x86_64-3.7/lxml copying src/lxml/cssselect.py -> build/lib.macosx-10.9-x86_64-3.7/lxml copying src/lxml/ElementInclude.py -> build/lib.macosx-10.9-x86_64-3.7/lxml creating build/lib.macosx-10.9-x86_64-3.7/lxml/includes copying src/lxml/includes/init.py -> build/lib.macosx-10.9-x86_64-3.7/lxml/includes creating build/lib.macosx-10.9-x86_64-3.7/lxml/html copying src/lxml/html/soupparser.py -> build/lib.macosx-10.9-x86_64-3.7/lxml/html copying src/lxml/html/defs.py -> build/lib.macosx-10.9-x86_64-3.7/lxml/html copying src/lxml/html/_setmixin.py -> build/lib.macosx-10.9-x86_64-3.7/lxml/html copying src/lxml/html/clean.py -> build/lib.macosx-10.9-x86_64-3.7/lxml/html copying src/lxml/html/_diffcommand.py -> build/lib.macosx-10.9-x86_64-3.7/lxml/html copying src/lxml/html/html5parser.py -> build/lib.macosx-10.9-x86_64-3.7/lxml/html copying src/lxml/html/init.py -> build/lib.macosx-10.9-x86_64-3.7/lxml/html copying src/lxml/html/formfill.py -> build/lib.macosx-10.9-x86_64-3.7/lxml/html copying src/lxml/html/builder.py -> build/lib.macosx-10.9-x86_64-3.7/lxml/html copying src/lxml/html/ElementSoup.py -> build/lib.macosx-10.9-x86_64-3.7/lxml/html copying src/lxml/html/_html5builder.py -> build/lib.macosx-10.9-x86_64-3.7/lxml/html copying src/lxml/html/usedoctest.py -> build/lib.macosx-10.9-x86_64-3.7/lxml/html copying src/lxml/html/diff.py -> build/lib.macosx-10.9-x86_64-3.7/lxml/html creating build/lib.macosx-10.9-x86_64-3.7/lxml/isoschematron copying src/lxml/isoschematron/init.py -> build/lib.macosx-10.9-x86_64-3.7/lxml/isoschematron copying src/lxml/lxml.etree.h -> build/lib.macosx-10.9-x86_64-3.7/lxml copying src/lxml/lxml.etree_api.h -> build/lib.macosx-10.9-x86_64-3.7/lxml copying src/lxml/includes/xmlerror.pxd -> build/lib.macosx-10.9-x86_64-3.7/lxml/includes copying src/lxml/includes/c14n.pxd -> build/lib.macosx-10.9-x86_64-3.7/lxml/includes copying src/lxml/includes/xmlschema.pxd -> build/lib.macosx-10.9-x86_64-3.7/lxml/includes copying src/lxml/includes/schematron.pxd -> build/lib.macosx-10.9-x86_64-3.7/lxml/includes copying src/lxml/includes/tree.pxd -> build/lib.macosx-10.9-x86_64-3.7/lxml/includes copying src/lxml/includes/uri.pxd -> build/lib.macosx-10.9-x86_64-3.7/lxml/includes copying src/lxml/includes/etreepublic.pxd -> build/lib.macosx-10.9-x86_64-3.7/lxml/includes copying src/lxml/includes/xpath.pxd -> build/lib.macosx-10.9-x86_64-3.7/lxml/includes copying src/lxml/includes/htmlparser.pxd -> build/lib.macosx-10.9-x86_64-3.7/lxml/includes copying src/lxml/includes/xslt.pxd -> build/lib.macosx-10.9-x86_64-3.7/lxml/includes copying src/lxml/includes/config.pxd -> build/lib.macosx-10.9-x86_64-3.7/lxml/includes copying src/lxml/includes/xmlparser.pxd -> build/lib.macosx-10.9-x86_64-3.7/lxml/includes copying src/lxml/includes/xinclude.pxd -> build/lib.macosx-10.9-x86_64-3.7/lxml/includes copying src/lxml/includes/dtdvalid.pxd -> build/lib.macosx-10.9-x86_64-3.7/lxml/includes copying src/lxml/includes/relaxng.pxd -> build/lib.macosx-10.9-x86_64-3.7/lxml/includes copying src/lxml/includes/lxml-version.h -> build/lib.macosx-10.9-x86_64-3.7/lxml/includes copying src/lxml/includes/etree_defs.h -> build/lib.macosx-10.9-x86_64-3.7/lxml/includes creating build/lib.macosx-10.9-x86_64-3.7/lxml/isoschematron/resources creating build/lib.macosx-10.9-x86_64-3.7/lxml/isoschematron/resources/rng copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.macosx-10.9-x86_64-3.7/lxml/isoschematron/resources/rng creating build/lib.macosx-10.9-x86_64-3.7/lxml/isoschematron/resources/xsl copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.macosx-10.9-x86_64-3.7/lxml/isoschematron/resources/xsl copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.macosx-10.9-x86_64-3.7/lxml/isoschematron/resources/xsl creating build/lib.macosx-10.9-x86_64-3.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.9-x86_64-3.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.9-x86_64-3.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.9-x86_64-3.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.9-x86_64-3.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.9-x86_64-3.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.macosx-10.9-x86_64-3.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 running build_ext building 'lxml.etree' extension creating build/temp.macosx-10.9-x86_64-3.7 creating build/temp.macosx-10.9-x86_64-3.7/src creating build/temp.macosx-10.9-x86_64-3.7/src/lxml x86_64-apple-darwin13.4.0-clang -DNDEBUG -fwrapv -O3 -Wall -Wstrict-prototypes -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -D_FORTIFY_SOURCE=2 -mmacosx-version-min=10.9 -I/Users/camp426/anaconda3/include -I/Users/camp426/anaconda3/include/libxml2 -Isrc/lxml/includes -I/Users/camp426/anaconda3/include/python3.7m -c src/lxml/lxml.etree.c -o build/temp.macosx-10.9-x86_64-3.7/src/lxml/lxml.etree.o -w -flat_namespace src/lxml/lxml.etree.c:221065:21: error: no member named 'exc_type' in 'struct _ts' *type = tstate->exc_type;
src/lxml/lxml.etree.c:221066:22: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
*value = tstate->exc_value;
^~~~~~~~~
curexc_value
/Users/camp426/anaconda3/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/lxml/lxml.etree.c:221067:19: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
*tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/Users/camp426/anaconda3/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
src/lxml/lxml.etree.c:221079:24: error: no member named 'exc_type' in 'struct _ts'
tmp_type = tstate->exc_type;
~~~~~~ ^
src/lxml/lxml.etree.c:221080:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
/Users/camp426/anaconda3/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/lxml/lxml.etree.c:221081:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/Users/camp426/anaconda3/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
src/lxml/lxml.etree.c:221082:13: error: no member named 'exc_type' in 'struct _ts'
tstate->exc_type = type;
~~~~~~ ^
src/lxml/lxml.etree.c:221083:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tstate->exc_value = value;
^~~~~~~~~
curexc_value
/Users/camp426/anaconda3/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/lxml/lxml.etree.c:221084:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tstate->exc_traceback = tb;
^~~~~~~~~~~~~
curexc_traceback
/Users/camp426/anaconda3/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
src/lxml/lxml.etree.c:221127:24: error: no member named 'exc_type' in 'struct _ts'
tmp_type = tstate->exc_type;
~~~~~~ ^
src/lxml/lxml.etree.c:221128:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
/Users/camp426/anaconda3/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/lxml/lxml.etree.c:221129:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/Users/camp426/anaconda3/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
src/lxml/lxml.etree.c:221130:13: error: no member named 'exc_type' in 'struct _ts'
tstate->exc_type = local_type;
~~~~~~ ^
src/lxml/lxml.etree.c:221131:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tstate->exc_value = local_value;
^~~~~~~~~
curexc_value
/Users/camp426/anaconda3/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/lxml/lxml.etree.c:221132:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tstate->exc_traceback = local_tb;
^~~~~~~~~~~~~
curexc_traceback
/Users/camp426/anaconda3/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
src/lxml/lxml.etree.c:221441:24: error: no member named 'exc_type' in 'struct _ts'
tmp_type = tstate->exc_type;
~~~~~~ ^
src/lxml/lxml.etree.c:221442:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
/Users/camp426/anaconda3/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/lxml/lxml.etree.c:221443:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/Users/camp426/anaconda3/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
src/lxml/lxml.etree.c:221444:13: error: no member named 'exc_type' in 'struct _ts'
tstate->exc_type = *type;
~~~~~~ ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
Compile failed: command 'x86_64-apple-darwin13.4.0-clang' failed with exit status 1
creating var
creating var/folders
creating var/folders/xq
creating var/folders/xq/0txkbk490zl1y5wp5vd3bhhnpw3bp9
creating var/folders/xq/0txkbk490zl1y5wp5vd3bhhnpw3bp9/T
cc -I/Users/camp426/anaconda3/include -I/Users/camp426/anaconda3/include/libxml2 -I/usr/include/libxml2 -c /var/folders/xq/0txkbk490zl1y5wp5vd3bhhnpw3bp9/T/xmlXPathInith76hkg7y.c -o var/folders/xq/0txkbk490zl1y5wp5vd3bhhnpw3bp9/T/xmlXPathInith76hkg7y.o
/var/folders/xq/0txkbk490zl1y5wp5vd3bhhnpw3bp9/T/xmlXPathInith76hkg7y.c:2:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main (int argc, char **argv) {
^
1 warning generated.
cc -arch x86_64 var/folders/xq/0txkbk490zl1y5wp5vd3bhhnpw3bp9/T/xmlXPathInith76hkg7y.o -L/Users/camp426/anaconda3/lib -lxml2 -o a.out
error: command 'x86_64-apple-darwin13.4.0-clang' failed with exit status 1
----------------------------------------
Failed building wheel for lxml
Running setup.py clean for lxml
Failed to build lxml
Installing collected packages: mock, lxml, pyiso
Found existing installation: lxml 4.3.2
Uninstalling lxml-4.3.2:
Successfully uninstalled lxml-4.3.2
Running setup.py install for lxml ... error
Complete output from command /Users/camp426/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/xq/0txkbk490zl1y5wp5vd3bhhnpw3bp9/T/pip-install-f4u9gdu2/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 /private/var/folders/xq/0txkbk490zl1y5wp5vd3bhhnpw3bp9/T/pip-record-_jo6fuvv/install-record.txt --single-version-externally-managed --compile:
Building lxml version 3.6.4.
Building without Cython.
Using build configuration of libxslt 1.1.33
Building against libxml2/libxslt in the following directory: /Users/camp426/anaconda3/lib
running install
running build
running build_py
creating build
creating build/lib.macosx-10.9-x86_64-3.7
creating build/lib.macosx-10.9-x86_64-3.7/lxml
copying src/lxml/_elementpath.py -> build/lib.macosx-10.9-x86_64-3.7/lxml
copying src/lxml/sax.py -> build/lib.macosx-10.9-x86_64-3.7/lxml
copying src/lxml/pyclasslookup.py -> build/lib.macosx-10.9-x86_64-3.7/lxml
copying src/lxml/__init__.py -> build/lib.macosx-10.9-x86_64-3.7/lxml
copying src/lxml/builder.py -> build/lib.macosx-10.9-x86_64-3.7/lxml
copying src/lxml/doctestcompare.py -> build/lib.macosx-10.9-x86_64-3.7/lxml
copying src/lxml/usedoctest.py -> build/lib.macosx-10.9-x86_64-3.7/lxml
copying src/lxml/cssselect.py -> build/lib.macosx-10.9-x86_64-3.7/lxml
copying src/lxml/ElementInclude.py -> build/lib.macosx-10.9-x86_64-3.7/lxml
creating build/lib.macosx-10.9-x86_64-3.7/lxml/includes
copying src/lxml/includes/__init__.py -> build/lib.macosx-10.9-x86_64-3.7/lxml/includes
creating build/lib.macosx-10.9-x86_64-3.7/lxml/html
copying src/lxml/html/soupparser.py -> build/lib.macosx-10.9-x86_64-3.7/lxml/html
copying src/lxml/html/defs.py -> build/lib.macosx-10.9-x86_64-3.7/lxml/html
copying src/lxml/html/_setmixin.py -> build/lib.macosx-10.9-x86_64-3.7/lxml/html
copying src/lxml/html/clean.py -> build/lib.macosx-10.9-x86_64-3.7/lxml/html
copying src/lxml/html/_diffcommand.py -> build/lib.macosx-10.9-x86_64-3.7/lxml/html
copying src/lxml/html/html5parser.py -> build/lib.macosx-10.9-x86_64-3.7/lxml/html
copying src/lxml/html/__init__.py -> build/lib.macosx-10.9-x86_64-3.7/lxml/html
copying src/lxml/html/formfill.py -> build/lib.macosx-10.9-x86_64-3.7/lxml/html
copying src/lxml/html/builder.py -> build/lib.macosx-10.9-x86_64-3.7/lxml/html
copying src/lxml/html/ElementSoup.py -> build/lib.macosx-10.9-x86_64-3.7/lxml/html
copying src/lxml/html/_html5builder.py -> build/lib.macosx-10.9-x86_64-3.7/lxml/html
copying src/lxml/html/usedoctest.py -> build/lib.macosx-10.9-x86_64-3.7/lxml/html
copying src/lxml/html/diff.py -> build/lib.macosx-10.9-x86_64-3.7/lxml/html
creating build/lib.macosx-10.9-x86_64-3.7/lxml/isoschematron
copying src/lxml/isoschematron/__init__.py -> build/lib.macosx-10.9-x86_64-3.7/lxml/isoschematron
copying src/lxml/lxml.etree.h -> build/lib.macosx-10.9-x86_64-3.7/lxml
copying src/lxml/lxml.etree_api.h -> build/lib.macosx-10.9-x86_64-3.7/lxml
copying src/lxml/includes/xmlerror.pxd -> build/lib.macosx-10.9-x86_64-3.7/lxml/includes
copying src/lxml/includes/c14n.pxd -> build/lib.macosx-10.9-x86_64-3.7/lxml/includes
copying src/lxml/includes/xmlschema.pxd -> build/lib.macosx-10.9-x86_64-3.7/lxml/includes
copying src/lxml/includes/schematron.pxd -> build/lib.macosx-10.9-x86_64-3.7/lxml/includes
copying src/lxml/includes/tree.pxd -> build/lib.macosx-10.9-x86_64-3.7/lxml/includes
copying src/lxml/includes/uri.pxd -> build/lib.macosx-10.9-x86_64-3.7/lxml/includes
copying src/lxml/includes/etreepublic.pxd -> build/lib.macosx-10.9-x86_64-3.7/lxml/includes
copying src/lxml/includes/xpath.pxd -> build/lib.macosx-10.9-x86_64-3.7/lxml/includes
copying src/lxml/includes/htmlparser.pxd -> build/lib.macosx-10.9-x86_64-3.7/lxml/includes
copying src/lxml/includes/xslt.pxd -> build/lib.macosx-10.9-x86_64-3.7/lxml/includes
copying src/lxml/includes/config.pxd -> build/lib.macosx-10.9-x86_64-3.7/lxml/includes
copying src/lxml/includes/xmlparser.pxd -> build/lib.macosx-10.9-x86_64-3.7/lxml/includes
copying src/lxml/includes/xinclude.pxd -> build/lib.macosx-10.9-x86_64-3.7/lxml/includes
copying src/lxml/includes/dtdvalid.pxd -> build/lib.macosx-10.9-x86_64-3.7/lxml/includes
copying src/lxml/includes/relaxng.pxd -> build/lib.macosx-10.9-x86_64-3.7/lxml/includes
copying src/lxml/includes/lxml-version.h -> build/lib.macosx-10.9-x86_64-3.7/lxml/includes
copying src/lxml/includes/etree_defs.h -> build/lib.macosx-10.9-x86_64-3.7/lxml/includes
creating build/lib.macosx-10.9-x86_64-3.7/lxml/isoschematron/resources
creating build/lib.macosx-10.9-x86_64-3.7/lxml/isoschematron/resources/rng
copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.macosx-10.9-x86_64-3.7/lxml/isoschematron/resources/rng
creating build/lib.macosx-10.9-x86_64-3.7/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.macosx-10.9-x86_64-3.7/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.macosx-10.9-x86_64-3.7/lxml/isoschematron/resources/xsl
creating build/lib.macosx-10.9-x86_64-3.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.9-x86_64-3.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.9-x86_64-3.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.9-x86_64-3.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.9-x86_64-3.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.9-x86_64-3.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.macosx-10.9-x86_64-3.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
running build_ext
building 'lxml.etree' extension
creating build/temp.macosx-10.9-x86_64-3.7
creating build/temp.macosx-10.9-x86_64-3.7/src
creating build/temp.macosx-10.9-x86_64-3.7/src/lxml
x86_64-apple-darwin13.4.0-clang -DNDEBUG -fwrapv -O3 -Wall -Wstrict-prototypes -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -D_FORTIFY_SOURCE=2 -mmacosx-version-min=10.9 -I/Users/camp426/anaconda3/include -I/Users/camp426/anaconda3/include/libxml2 -Isrc/lxml/includes -I/Users/camp426/anaconda3/include/python3.7m -c src/lxml/lxml.etree.c -o build/temp.macosx-10.9-x86_64-3.7/src/lxml/lxml.etree.o -w -flat_namespace
src/lxml/lxml.etree.c:221065:21: error: no member named 'exc_type' in 'struct _ts'
*type = tstate->exc_type;
~~~~~~ ^
src/lxml/lxml.etree.c:221066:22: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
*value = tstate->exc_value;
^~~~~~~~~
curexc_value
/Users/camp426/anaconda3/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/lxml/lxml.etree.c:221067:19: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
*tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/Users/camp426/anaconda3/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
src/lxml/lxml.etree.c:221079:24: error: no member named 'exc_type' in 'struct _ts'
tmp_type = tstate->exc_type;
~~~~~~ ^
src/lxml/lxml.etree.c:221080:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
/Users/camp426/anaconda3/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/lxml/lxml.etree.c:221081:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/Users/camp426/anaconda3/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
src/lxml/lxml.etree.c:221082:13: error: no member named 'exc_type' in 'struct _ts'
tstate->exc_type = type;
~~~~~~ ^
src/lxml/lxml.etree.c:221083:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tstate->exc_value = value;
^~~~~~~~~
curexc_value
/Users/camp426/anaconda3/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/lxml/lxml.etree.c:221084:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tstate->exc_traceback = tb;
^~~~~~~~~~~~~
curexc_traceback
/Users/camp426/anaconda3/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
src/lxml/lxml.etree.c:221127:24: error: no member named 'exc_type' in 'struct _ts'
tmp_type = tstate->exc_type;
~~~~~~ ^
src/lxml/lxml.etree.c:221128:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
/Users/camp426/anaconda3/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/lxml/lxml.etree.c:221129:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/Users/camp426/anaconda3/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
src/lxml/lxml.etree.c:221130:13: error: no member named 'exc_type' in 'struct _ts'
tstate->exc_type = local_type;
~~~~~~ ^
src/lxml/lxml.etree.c:221131:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tstate->exc_value = local_value;
^~~~~~~~~
curexc_value
/Users/camp426/anaconda3/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/lxml/lxml.etree.c:221132:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tstate->exc_traceback = local_tb;
^~~~~~~~~~~~~
curexc_traceback
/Users/camp426/anaconda3/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
src/lxml/lxml.etree.c:221441:24: error: no member named 'exc_type' in 'struct _ts'
tmp_type = tstate->exc_type;
~~~~~~ ^
src/lxml/lxml.etree.c:221442:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
/Users/camp426/anaconda3/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/lxml/lxml.etree.c:221443:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/Users/camp426/anaconda3/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
src/lxml/lxml.etree.c:221444:13: error: no member named 'exc_type' in 'struct _ts'
tstate->exc_type = *type;
~~~~~~ ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
Compile failed: command 'x86_64-apple-darwin13.4.0-clang' failed with exit status 1
cc -I/Users/camp426/anaconda3/include -I/Users/camp426/anaconda3/include/libxml2 -I/usr/include/libxml2 -c /var/folders/xq/0txkbk490zl1y5wp5vd3bhhnpw3bp9/T/xmlXPathInithmb0vovx.c -o var/folders/xq/0txkbk490zl1y5wp5vd3bhhnpw3bp9/T/xmlXPathInithmb0vovx.o
/var/folders/xq/0txkbk490zl1y5wp5vd3bhhnpw3bp9/T/xmlXPathInithmb0vovx.c:2:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main (int argc, char **argv) {
^
1 warning generated.
cc -arch x86_64 var/folders/xq/0txkbk490zl1y5wp5vd3bhhnpw3bp9/T/xmlXPathInithmb0vovx.o -L/Users/camp426/anaconda3/lib -lxml2 -o a.out
error: command 'x86_64-apple-darwin13.4.0-clang' failed with exit status 1
----------------------------------------
Rolling back uninstall of lxml
Moving to /Users/camp426/anaconda3/lib/python3.7/site-packages/lxml-4.3.2-py3.7.egg-info
from /Users/camp426/anaconda3/lib/python3.7/site-packages/~xml-4.3.2-py3.7.egg-info
Moving to /Users/camp426/anaconda3/lib/python3.7/site-packages/lxml/
from /Users/camp426/anaconda3/lib/python3.7/site-packages/~xml
Command "/Users/camp426/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/xq/0txkbk490zl1y5wp5vd3bhhnpw3bp9/T/pip-install-f4u9gdu2/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 /private/var/folders/xq/0txkbk490zl1y5wp5vd3bhhnpw3bp9/T/pip-record-_jo6fuvv/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/xq/0txkbk490zl1y5wp5vd3bhhnpw3bp9/T/pip-install-f4u9gdu2/lxml/
lxml is installed -- what is the problem?
import lxml
print(lxml.__file__)
import lxml
print(lxml.__file__)
/Users/camp426/anaconda3/lib/python3.7/site-packages/lxml/__init__.py
Easiest fix is to download the pyiso-source and then modify the following line in setup.py: https://github.com/WattTime/pyiso/blob/4e7bbc672da5a3d9750e70130ae06ae3c4a2d652/setup.py#L68
to: 'pandas',
and then run: python setup.py install
pyiso then gets successfully installed.
Here are my results:
(base) C:\pyiso-master>conda list pyiso
# packages in environment at C:\Users\XXXX\AppData\Local\Continuum\anaconda3:
# Name Version Build Channel
pyiso 0.4.0 pypi_0 pypi
(base) C:\pyiso-master>python
Python 3.7.3 (default, Mar 27 2019, 17:13:21) [MSC v.1915 64 bit (AMD64)] :: Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from pyiso import client_factory
>>> isone = client_factory('CAISO')
>>> data = caiso.get_load(latest=True)
>>> df = pd.DataFrame(data)
>>> df
ba_name freq load_MW market timestamp
0 CAISO 5m 31149.0 RT5M 2019-08-26 17:30:00+00:00
>>>
i have been trying to install pyiso. I am using Python 3.7 in PTVS.
I am using the following pip command to install PYISO
pip install pyiso
I keep getting the following error. Can anyone kindly guide me ?
Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?
----- Installing 'pyiso==0.4.0' ----- Collecting pyiso==0.4.0 Requirement already satisfied, skipping upgrade: python-dateutil in c:\users\xxxxxxxxxxxxx\appdata\local\continuum\anaconda2\envs\mypython3_7_0\lib\site-packages (from pyiso==0.4.0) (2.7.5) Requirement already satisfied, skipping upgrade: xlrd in c:\users\xxxxxxxxxxxxx\appdata\local\continuum\anaconda2\envs\mypython3_7_0\lib\site-packages (from pyiso==0.4.0) (1.1.0) Collecting html5lib (from pyiso==0.4.0) Using cached https://files.pythonhosted.org/packages/a5/62/bbd2be0e7943ec8504b517e62bab011b4946e1258842bc159e5dfde15b96/html5lib-1.0.1-py2.py3-none-any.whl Requirement already satisfied, skipping upgrade: mock in c:\users\xxxxxxxxxxxxx\appdata\local\continuum\anaconda2\envs\mypython3_7_0\lib\site-packages (from pyiso==0.4.0) (2.0.0) Collecting lxml==3.6.4 (from pyiso==0.4.0) Using cached https://files.pythonhosted.org/packages/4f/3f/cf6daac551fc36cddafa1a71ed48ea5fd642e5feabd3a0d83b8c3dfd0cb4/lxml-3.6.4.tar.gz Requirement already satisfied, skipping upgrade: pandas>=0.18 in c:\users\xxxxxxxxxxxxx\appdata\local\continuum\anaconda2\envs\mypython3_7_0\lib\site-packages (from pyiso==0.4.0) (0.23.4) Requirement already satisfied, skipping upgrade: certifi in c:\users\xxxxxxxxxxxxx\appdata\local\continuum\anaconda2\envs\mypython3_7_0\lib\site-packages (from pyiso==0.4.0) (2018.10.15) Requirement already satisfied, skipping upgrade: requests in c:\users\xxxxxxxxxxxxx\appdata\local\continuum\anaconda2\envs\mypython3_7_0\lib\site-packages (from pyiso==0.4.0) (2.20.0) Requirement already satisfied, skipping upgrade: pytz in c:\users\xxxxxxxxxxxxx\appdata\local\continuum\anaconda2\envs\mypython3_7_0\lib\site-packages (from pyiso==0.4.0) (2018.7) Requirement already satisfied, skipping upgrade: celery>=3.1 in c:\users\xxxxxxxxxxxxx\appdata\local\continuum\anaconda2\envs\mypython3_7_0\lib\site-packages (from pyiso==0.4.0) (4.2.1) Requirement already satisfied, skipping upgrade: beautifulsoup4==4.5.0 in c:\users\xxxxxxxxxxxxx\appdata\local\continuum\anaconda2\envs\mypython3_7_0\lib\site-packages (from pyiso==0.4.0) (4.5.0) Requirement already satisfied, skipping upgrade: six>=1.5 in c:\users\xxxxxxxxxxxxx\appdata\local\continuum\anaconda2\envs\mypython3_7_0\lib\site-packages (from python-dateutil->pyiso==0.4.0) (1.11.0) Collecting webencodings (from html5lib->pyiso==0.4.0) Using cached https://files.pythonhosted.org/packages/f4/24/2a3e3df732393fed8b3ebf2ec078f05546de641fe1b667ee316ec1dcf3b7/webencodings-0.5.1-py2.py3-none-any.whl Requirement already satisfied, skipping upgrade: pbr>=0.11 in c:\users\xxxxxxxxxxxxx\appdata\local\continuum\anaconda2\envs\mypython3_7_0\lib\site-packages (from mock->pyiso==0.4.0) (5.1.0) Requirement already satisfied, skipping upgrade: numpy>=1.9.0 in c:\users\xxxxxxxxxxxxx\appdata\local\continuum\anaconda2\envs\mypython3_7_0\lib\site-packages (from pandas>=0.18->pyiso==0.4.0) (1.15.3) Requirement already satisfied, skipping upgrade: urllib3<1.25,>=1.21.1 in c:\users\xxxxxxxxxxxxx\appdata\local\continuum\anaconda2\envs\mypython3_7_0\lib\site-packages (from requests->pyiso==0.4.0) (1.24) Requirement already satisfied, skipping upgrade: chardet<3.1.0,>=3.0.2 in c:\users\xxxxxxxxxxxxx\appdata\local\continuum\anaconda2\envs\mypython3_7_0\lib\site-packages (from requests->pyiso==0.4.0) (3.0.4) Requirement already satisfied, skipping upgrade: idna<2.8,>=2.5 in c:\users\xxxxxxxxxxxxx\appdata\local\continuum\anaconda2\envs\mypython3_7_0\lib\site-packages (from requests->pyiso==0.4.0) (2.7) Requirement already satisfied, skipping upgrade: billiard<3.6.0,>=3.5.0.2 in c:\users\xxxxxxxxxxxxx\appdata\local\continuum\anaconda2\envs\mypython3_7_0\lib\site-packages (from celery>=3.1->pyiso==0.4.0) (3.5.0.4) Requirement already satisfied, skipping upgrade: kombu<5.0,>=4.2.0 in c:\users\xxxxxxxxxxxxx\appdata\local\continuum\anaconda2\envs\mypython3_7_0\lib\site-packages (from celery>=3.1->pyiso==0.4.0) (4.2.1) Requirement already satisfied, skipping upgrade: amqp<3.0,>=2.1.4 in c:\users\xxxxxxxxxxxxx\appdata\local\continuum\anaconda2\envs\mypython3_7_0\lib\site-packages (from kombu<5.0,>=4.2.0->celery>=3.1->pyiso==0.4.0) (2.3.2) Requirement already satisfied, skipping upgrade: vine>=1.1.3 in c:\users\xxxxxxxxxxxxx\appdata\local\continuum\anaconda2\envs\mypython3_7_0\lib\site-packages (from amqp<3.0,>=2.1.4->kombu<5.0,>=4.2.0->celery>=3.1->pyiso==0.4.0) (1.1.4) Building wheels for collected packages: lxml Running setup.py bdist_wheel for lxml: started Running setup.py bdist_wheel for lxml: finished with status 'error' Complete output from command C:\Users\xxxxxxxxxxxxx\AppData\Local\Continuum\anaconda2\envs\MyPython3_7_0\python.exe -u -c "import setuptools, tokenize;file='C:\Users\xxxxxxxxxxxxx\AppData\Local\Temp\pip-install-xxc0f4fe\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 C:\Users\xxxxxxxxxxxxx\AppData\Local\Temp\pip-wheel-hiz5h6h0 --python-tag cp37: Building lxml version 3.6.4. Building without Cython. ERROR: b"'xslt-config' is not recognized as an internal or external command,\r\noperable program or batch file.\r\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.win-amd64-3.7 creating build\lib.win-amd64-3.7\lxml copying src\lxml\builder.py -> build\lib.win-amd64-3.7\lxml copying src\lxml\cssselect.py -> build\lib.win-amd64-3.7\lxml copying src\lxml\doctestcompare.py -> build\lib.win-amd64-3.7\lxml copying src\lxml\ElementInclude.py -> build\lib.win-amd64-3.7\lxml copying src\lxml\pyclasslookup.py -> build\lib.win-amd64-3.7\lxml copying src\lxml\sax.py -> build\lib.win-amd64-3.7\lxml copying src\lxml\usedoctest.py -> build\lib.win-amd64-3.7\lxml copying src\lxml_elementpath.py -> build\lib.win-amd64-3.7\lxml copying src\lxml__init.py -> build\lib.win-amd64-3.7\lxml creating build\lib.win-amd64-3.7\lxml\includes copying src\lxml\includes__init__.py -> build\lib.win-amd64-3.7\lxml\includes creating build\lib.win-amd64-3.7\lxml\html copying src\lxml\html\builder.py -> build\lib.win-amd64-3.7\lxml\html copying src\lxml\html\clean.py -> build\lib.win-amd64-3.7\lxml\html copying src\lxml\html\defs.py -> build\lib.win-amd64-3.7\lxml\html copying src\lxml\html\diff.py -> build\lib.win-amd64-3.7\lxml\html copying src\lxml\html\ElementSoup.py -> build\lib.win-amd64-3.7\lxml\html copying src\lxml\html\formfill.py -> build\lib.win-amd64-3.7\lxml\html copying src\lxml\html\html5parser.py -> build\lib.win-amd64-3.7\lxml\html copying src\lxml\html\soupparser.py -> build\lib.win-amd64-3.7\lxml\html copying src\lxml\html\usedoctest.py -> build\lib.win-amd64-3.7\lxml\html copying src\lxml\html_diffcommand.py -> build\lib.win-amd64-3.7\lxml\html copying src\lxml\html_html5builder.py -> build\lib.win-amd64-3.7\lxml\html copying src\lxml\html_setmixin.py -> build\lib.win-amd64-3.7\lxml\html copying src\lxml\html\init.py -> build\lib.win-amd64-3.7\lxml\html creating build\lib.win-amd64-3.7\lxml\isoschematron copying src\lxml\isoschematron\init__.py -> build\lib.win-amd64-3.7\lxml\isoschematron copying src\lxml\lxml.etree.h -> build\lib.win-amd64-3.7\lxml copying src\lxml\lxml.etree_api.h -> build\lib.win-amd64-3.7\lxml copying src\lxml\includes\c14n.pxd -> build\lib.win-amd64-3.7\lxml\includes copying src\lxml\includes\config.pxd -> build\lib.win-amd64-3.7\lxml\includes copying src\lxml\includes\dtdvalid.pxd -> build\lib.win-amd64-3.7\lxml\includes copying src\lxml\includes\etreepublic.pxd -> build\lib.win-amd64-3.7\lxml\includes copying src\lxml\includes\htmlparser.pxd -> build\lib.win-amd64-3.7\lxml\includes copying src\lxml\includes\relaxng.pxd -> build\lib.win-amd64-3.7\lxml\includes copying src\lxml\includes\schematron.pxd -> build\lib.win-amd64-3.7\lxml\includes copying src\lxml\includes\tree.pxd -> build\lib.win-amd64-3.7\lxml\includes copying src\lxml\includes\uri.pxd -> build\lib.win-amd64-3.7\lxml\includes copying src\lxml\includes\xinclude.pxd -> build\lib.win-amd64-3.7\lxml\includes copying src\lxml\includes\xmlerror.pxd -> build\lib.win-amd64-3.7\lxml\includes copying src\lxml\includes\xmlparser.pxd -> build\lib.win-amd64-3.7\lxml\includes copying src\lxml\includes\xmlschema.pxd -> build\lib.win-amd64-3.7\lxml\includes copying src\lxml\includes\xpath.pxd -> build\lib.win-amd64-3.7\lxml\includes copying src\lxml\includes\xslt.pxd -> build\lib.win-amd64-3.7\lxml\includes copying src\lxml\includes\etree_defs.h -> build\lib.win-amd64-3.7\lxml\includes copying src\lxml\includes\lxml-version.h -> build\lib.win-amd64-3.7\lxml\includes creating build\lib.win-amd64-3.7\lxml\isoschematron\resources creating build\lib.win-amd64-3.7\lxml\isoschematron\resources\rng copying src\lxml\isoschematron\resources\rng\iso-schematron.rng -> build\lib.win-amd64-3.7\lxml\isoschematron\resources\rng creating build\lib.win-amd64-3.7\lxml\isoschematron\resources\xsl Failed building wheel for lxml copying src\lxml\isoschematron\resources\xsl\RNG2Schtrn.xsl -> build\lib.win-amd64-3.7\lxml\isoschematron\resources\xsl copying src\lxml\isoschematron\resources\xsl\XSD2Schtrn.xsl -> build\lib.win-amd64-3.7\lxml\isoschematron\resources\xsl creating build\lib.win-amd64-3.7\lxml\isoschematron\resources\xsl\iso-schematron-xslt1 copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_abstract_expand.xsl -> build\lib.win-amd64-3.7\lxml\isoschematron\resources\xsl\iso-schematron-xslt1 copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_dsdl_include.xsl -> build\lib.win-amd64-3.7\lxml\isoschematron\resources\xsl\iso-schematron-xslt1 copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_schematron_message.xsl -> build\lib.win-amd64-3.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.win-amd64-3.7\lxml\isoschematron\resources\xsl\iso-schematron-xslt1 copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_svrl_for_xslt1.xsl -> build\lib.win-amd64-3.7\lxml\isoschematron\resources\xsl\iso-schematron-xslt1 copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\readme.txt -> build\lib.win-amd64-3.7\lxml\isoschematron\resources\xsl\iso-schematron-xslt1 running build_ext building 'lxml.etree' extension creating build\temp.win-amd64-3.7 creating build\temp.win-amd64-3.7\Release creating build\temp.win-amd64-3.7\Release\src creating build\temp.win-amd64-3.7\Release\src\lxml C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Isrc\lxml\includes -IC:\Users\xxxxxxxxxxxxx\AppData\Local\Continuum\anaconda2\envs\MyPython3_7_0\include -IC:\Users\xxxxxxxxxxxxx\AppData\Local\Continuum\anaconda2\envs\MyPython3_7_0\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\cppwinrt" /Tcsrc\lxml\lxml.etree.c /Fobuild\temp.win-amd64-3.7\Release\src\lxml\lxml.etree.obj -w cl : Command line warning D9025 : overriding '/W3' with '/w' lxml.etree.c src\lxml\includes\etree_defs.h(14): fatal error C1083: Cannot open include file: 'libxml/xmlversion.h': No such file or directory Compile failed: command 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726\bin\HostX86\x64\cl.exe' failed with exit status 2 creating Users creating Users\xxxxxxxxxxxxx creating Users\xxxxxxxxxxxxx\AppData creating Users\xxxxxxxxxxxxx\AppData\Local creating Users\xxxxxxxxxxxxx\AppData\Local\Temp C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -I/usr/include/libxml2 "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\cppwinrt" /TcC:\Users\xxxxxxxxxxxxx\AppData\Local\Temp\xmlXPathInitcz17hnof.c /FoUsers\xxxxxxxxxxxxx\AppData\Local\Temp\xmlXPathInitcz17hnof.obj xmlXPathInitcz17hnof.c C:\Users\xxxxxxxxxxxxx\AppData\Local\Temp\xmlXPathInitcz17hnof.c(1): fatal error C1083: Cannot open include file: 'libxml/xpath.h': No such file or directory error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726\bin\HostX86\x64\cl.exe' failed with exit status 2
Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?
Running setup.py clean for lxml Failed to build lxml Installing collected packages: webencodings, html5lib, lxml, pyiso Running setup.py install for lxml: started Running setup.py install for lxml: finished with status 'error' Complete output from command C:\Users\xxxxxxxxxxxxx\AppData\Local\Continuum\anaconda2\envs\MyPython3_7_0\python.exe -u -c "import setuptools, tokenize;file='C:\Users\xxxxxxxxxxxxx\AppData\Local\Temp\pip-install-xxc0f4fe\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 C:\Users\xxxxxxxxxxxxx\AppData\Local\Temp\pip-record-lu_zfpo6\install-record.txt --single-version-externally-managed --compile: Building lxml version 3.6.4. Building without Cython. ERROR: b"'xslt-config' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n" make sure the development packages of libxml2 and libxslt are installed
Command "C:\Users\xxxxxxxxxxxxx\AppData\Local\Continuum\anaconda2\envs\MyPython3_7_0\python.exe -u -c "import setuptools, tokenize;file='C:\Users\xxxxxxxxxxxxx\AppData\Local\Temp\pip-install-xxc0f4fe\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 C:\Users\xxxxxxxxxxxxx\AppData\Local\Temp\pip-record-lu_zfpo6\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\xxxxxxxxxxxxx\AppData\Local\Temp\pip-install-xxc0f4fe\lxml\ ----- Failed to install 'pyiso==0.4.0' -----