ecoron / SerpScrap

SEO python scraper to extract data from major searchengine result pages. Extract data like url, title, snippet, richsnippet and the type from searchresults for given keywords. Detect Ads or make automated screenshots. You can also fetch text content of urls provided in searchresults or by your own. It's usefull for SEO and business related research tasks.
https://github.com/ecoron/SerpScrap
MIT License
257 stars 61 forks source link

Not able to install package #68

Open Ashish32112 opened 3 years ago

Ashish32112 commented 3 years ago

Hi,

I am not able to install the package in my virtualenv. Python version 3.9.5 on windows 10.

below is the error when I try to install the package.

(myenv) PS C:\Users\ashis\OneDrive\Documents\Web Apps\WebUtilities> pip install SerpScrap --upgrade Collecting SerpScrap Using cached SerpScrap-0.13.0-py3-none-any.whl (45 kB) Requirement already satisfied: PySocks==1.7.0 in c:\users\ashis\onedrive\documents\web apps\webutilities\myenv\lib\site-packages (from SerpScrap) (1.7.0) Requirement already satisfied: sqlalchemy==1.3.7 in c:\users\ashis\onedrive\documents\web apps\webutilities\myenv\lib\site-packages (from SerpScrap) (1.3.7) Collecting lxml==4.3.2 Using cached lxml-4.3.2.tar.gz (4.4 MB) Collecting html2text==2019.8.11 Using cached html2text-2019.8.11-py2.py3-none-any.whl (31 kB) Collecting chardet==3.0.4 Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB) Collecting cssselect==1.1.0 Using cached cssselect-1.1.0-py2.py3-none-any.whl (16 kB) Requirement already satisfied: selenium==3.141.0 in c:\users\ashis\onedrive\documents\web apps\webutilities\myenv\lib\site-packages (from SerpScrap) (3.141.0) Collecting beautifulsoup4==4.8.0 Using cached beautifulsoup4-4.8.0-py3-none-any.whl (97 kB) Requirement already satisfied: soupsieve>=1.2 in c:\users\ashis\onedrive\documents\web apps\webutilities\myenv\lib\site-packages (from beautifulsoup4==4.8.0->SerpScrap) (2.2.1) Requirement already satisfied: urllib3 in c:\users\ashis\onedrive\documents\web apps\webutilities\myenv\lib\site-packages (from selenium==3.141.0->SerpScrap) (1.26.4) Building wheels for collected packages: lxml Building wheel for lxml (setup.py) ... error ERROR: Command errored out with exit status 1: command: 'c:\users\ashis\onedrive\documents\web apps\webutilities\myenv\scripts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\ashis\AppData\Local\Temp\pip-install-_3mt2e1a\lxml_e3a717266aba478f81e552139f4895c3\setup.py'"'"'; file='"'"'C:\Users\ashis\AppData\Local\Temp\pip-install-_3mt2e1a\lxml_e3a717266aba478f81e552139f4895c3\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\ashis\AppData\Local\Temp\pip-wheel-yv26i7jz' cwd: C:\Users\ashis\AppData\Local\Temp\pip-install-_3mt2e1a\lxml_e3a717266aba478f81e552139f4895c3\ Complete output (97 lines): Building lxml version 4.3.2. 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.9 creating build\lib.win-amd64-3.9\lxml copying src\lxml\builder.py -> build\lib.win-amd64-3.9\lxml copying src\lxml\cssselect.py -> build\lib.win-amd64-3.9\lxml copying src\lxml\doctestcompare.py -> build\lib.win-amd64-3.9\lxml copying src\lxml\ElementInclude.py -> build\lib.win-amd64-3.9\lxml copying src\lxml\pyclasslookup.py -> build\lib.win-amd64-3.9\lxml copying src\lxml\sax.py -> build\lib.win-amd64-3.9\lxml copying src\lxml\usedoctest.py -> build\lib.win-amd64-3.9\lxml copying src\lxml_elementpath.py -> build\lib.win-amd64-3.9\lxml copying src\lxml__init.py -> build\lib.win-amd64-3.9\lxml creating build\lib.win-amd64-3.9\lxml\includes copying src\lxml\includes__init__.py -> build\lib.win-amd64-3.9\lxml\includes creating build\lib.win-amd64-3.9\lxml\html copying src\lxml\html\builder.py -> build\lib.win-amd64-3.9\lxml\html copying src\lxml\html\clean.py -> build\lib.win-amd64-3.9\lxml\html copying src\lxml\html\defs.py -> build\lib.win-amd64-3.9\lxml\html copying src\lxml\html\diff.py -> build\lib.win-amd64-3.9\lxml\html copying src\lxml\html\ElementSoup.py -> build\lib.win-amd64-3.9\lxml\html copying src\lxml\html\formfill.py -> build\lib.win-amd64-3.9\lxml\html copying src\lxml\html\html5parser.py -> build\lib.win-amd64-3.9\lxml\html copying src\lxml\html\soupparser.py -> build\lib.win-amd64-3.9\lxml\html copying src\lxml\html\usedoctest.py -> build\lib.win-amd64-3.9\lxml\html copying src\lxml\html_diffcommand.py -> build\lib.win-amd64-3.9\lxml\html copying src\lxml\html_html5builder.py -> build\lib.win-amd64-3.9\lxml\html copying src\lxml\html_setmixin.py -> build\lib.win-amd64-3.9\lxml\html copying src\lxml\html\init.py -> build\lib.win-amd64-3.9\lxml\html creating build\lib.win-amd64-3.9\lxml\isoschematron copying src\lxml\isoschematron\init.py -> build\lib.win-amd64-3.9\lxml\isoschematron copying src\lxml\etree.h -> build\lib.win-amd64-3.9\lxml copying src\lxml\etree_api.h -> build\lib.win-amd64-3.9\lxml copying src\lxml\lxml.etree.h -> build\lib.win-amd64-3.9\lxml copying src\lxml\lxml.etree_api.h -> build\lib.win-amd64-3.9\lxml copying src\lxml\includes\c14n.pxd -> build\lib.win-amd64-3.9\lxml\includes copying src\lxml\includes\config.pxd -> build\lib.win-amd64-3.9\lxml\includes copying src\lxml\includes\dtdvalid.pxd -> build\lib.win-amd64-3.9\lxml\includes copying src\lxml\includes\etreepublic.pxd -> build\lib.win-amd64-3.9\lxml\includes copying src\lxml\includes\htmlparser.pxd -> build\lib.win-amd64-3.9\lxml\includes copying src\lxml\includes\relaxng.pxd -> build\lib.win-amd64-3.9\lxml\includes copying src\lxml\includes\schematron.pxd -> build\lib.win-amd64-3.9\lxml\includes copying src\lxml\includes\tree.pxd -> build\lib.win-amd64-3.9\lxml\includes copying src\lxml\includes\uri.pxd -> build\lib.win-amd64-3.9\lxml\includes copying src\lxml\includes\xinclude.pxd -> build\lib.win-amd64-3.9\lxml\includes copying src\lxml\includes\xmlerror.pxd -> build\lib.win-amd64-3.9\lxml\includes copying src\lxml\includes\xmlparser.pxd -> build\lib.win-amd64-3.9\lxml\includes copying src\lxml\includes\xmlschema.pxd -> build\lib.win-amd64-3.9\lxml\includes copying src\lxml\includes\xpath.pxd -> build\lib.win-amd64-3.9\lxml\includes copying src\lxml\includes\xslt.pxd -> build\lib.win-amd64-3.9\lxml\includes copying src\lxml\includes\init__.pxd -> build\lib.win-amd64-3.9\lxml\includes copying src\lxml\includes\etree_defs.h -> build\lib.win-amd64-3.9\lxml\includes copying src\lxml\includes\lxml-version.h -> build\lib.win-amd64-3.9\lxml\includes creating build\lib.win-amd64-3.9\lxml\isoschematron\resources creating build\lib.win-amd64-3.9\lxml\isoschematron\resources\rng copying src\lxml\isoschematron\resources\rng\iso-schematron.rng -> build\lib.win-amd64-3.9\lxml\isoschematron\resources\rng creating build\lib.win-amd64-3.9\lxml\isoschematron\resources\xsl copying src\lxml\isoschematron\resources\xsl\RNG2Schtrn.xsl -> build\lib.win-amd64-3.9\lxml\isoschematron\resources\xsl copying src\lxml\isoschematron\resources\xsl\XSD2Schtrn.xsl -> build\lib.win-amd64-3.9\lxml\isoschematron\resources\xsl creating build\lib.win-amd64-3.9\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.9\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.9\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.9\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.9\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.9\lxml\isoschematron\resources\xsl\iso-schematron-xslt1 copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\readme.txt -> build\lib.win-amd64-3.9\lxml\isoschematron\resources\xsl\iso-schematron-xslt1 running build_ext building 'lxml.etree' extension creating build\temp.win-amd64-3.9 creating build\temp.win-amd64-3.9\Release creating build\temp.win-amd64-3.9\Release\src creating build\temp.win-amd64-3.9\Release\src\lxml C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DCYTHON_CLINE_IN_TRACEBACK=0 -Isrc -Isrc\lxml\includes -Ic:\users\ashis\onedrive\documents\web apps\webutilities\myenv\include -Ic:\python39\include -Ic:\python39\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\ATLMFC\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt /Tcsrc\lxml\etree.c /Fobuild\temp.win-amd64-3.9\Release\src\lxml\etree.obj -w cl : Command line warning D9025 : overriding '/W3' with '/w' etree.c C:\Users\ashis\AppData\Local\Temp\pip-install-_3mt2e1a\lxml_e3a717266aba478f81e552139f4895c3\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\2019\Community\VC\Tools\MSVC\14.29.30037\bin\HostX86\x64\cl.exe' failed with exit code 2 creating Users creating Users\ashis creating Users\ashis\AppData creating Users\ashis\AppData\Local creating Users\ashis\AppData\Local\Temp C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -I/usr/include/libxml2 -IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\ATLMFC\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt /TcC:\Users\ashis\AppData\Local\Temp\xmlXPathInitodmy1ily.c /FoUsers\ashis\AppData\Local\Temp\xmlXPathInitodmy1ily.obj xmlXPathInitodmy1ily.c C:\Users\ashis\AppData\Local\Temp\xmlXPathInitodmy1ily.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\2019\Community\VC\Tools\MSVC\14.29.30037\bin\HostX86\x64\cl.exe' failed with exit code 2


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



ERROR: Failed building wheel for lxml Running setup.py clean for lxml Failed to build lxml Installing collected packages: lxml, html2text, cssselect, chardet, beautifulsoup4, SerpScrap Attempting uninstall: lxml Found existing installation: lxml 4.6.3 Uninstalling lxml-4.6.3: Successfully uninstalled lxml-4.6.3 Running setup.py install for lxml ... error ERROR: Command errored out with exit status 1: command: 'c:\users\ashis\onedrive\documents\web apps\webutilities\myenv\scripts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\ashis\AppData\Local\Temp\pip-install-_3mt2e1a\lxml_e3a717266aba478f81e552139f4895c3\setup.py'"'"'; file='"'"'C:\Users\ashis\AppData\Local\Temp\pip-install-_3mt2e1a\lxml_e3a717266aba478f81e552139f4895c3\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\ashis\AppData\Local\Temp\pip-record-wgus5gxx\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\ashis\onedrive\documents\web apps\webutilities\myenv\include\site\python3.9\lxml' cwd: C:\Users\ashis\AppData\Local\Temp\pip-install-_3mt2e1a\lxml_e3a717266aba478f81e552139f4895c3\ Complete output (92 lines): Building lxml version 4.3.2. 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.9
creating build\lib.win-amd64-3.9\lxml
copying src\lxml\builder.py -> build\lib.win-amd64-3.9\lxml
copying src\lxml\cssselect.py -> build\lib.win-amd64-3.9\lxml
copying src\lxml\doctestcompare.py -> build\lib.win-amd64-3.9\lxml
copying src\lxml\ElementInclude.py -> build\lib.win-amd64-3.9\lxml
copying src\lxml\pyclasslookup.py -> build\lib.win-amd64-3.9\lxml
copying src\lxml\sax.py -> build\lib.win-amd64-3.9\lxml
copying src\lxml\usedoctest.py -> build\lib.win-amd64-3.9\lxml
copying src\lxml\_elementpath.py -> build\lib.win-amd64-3.9\lxml
copying src\lxml\__init__.py -> build\lib.win-amd64-3.9\lxml
creating build\lib.win-amd64-3.9\lxml\includes
copying src\lxml\includes\__init__.py -> build\lib.win-amd64-3.9\lxml\includes
creating build\lib.win-amd64-3.9\lxml\html
copying src\lxml\html\builder.py -> build\lib.win-amd64-3.9\lxml\html
copying src\lxml\html\clean.py -> build\lib.win-amd64-3.9\lxml\html
copying src\lxml\html\defs.py -> build\lib.win-amd64-3.9\lxml\html
copying src\lxml\html\diff.py -> build\lib.win-amd64-3.9\lxml\html
copying src\lxml\html\ElementSoup.py -> build\lib.win-amd64-3.9\lxml\html
copying src\lxml\html\formfill.py -> build\lib.win-amd64-3.9\lxml\html
copying src\lxml\html\html5parser.py -> build\lib.win-amd64-3.9\lxml\html
copying src\lxml\html\soupparser.py -> build\lib.win-amd64-3.9\lxml\html
copying src\lxml\html\usedoctest.py -> build\lib.win-amd64-3.9\lxml\html
copying src\lxml\html\_diffcommand.py -> build\lib.win-amd64-3.9\lxml\html
copying src\lxml\html\_html5builder.py -> build\lib.win-amd64-3.9\lxml\html
copying src\lxml\html\_setmixin.py -> build\lib.win-amd64-3.9\lxml\html
copying src\lxml\html\__init__.py -> build\lib.win-amd64-3.9\lxml\html
creating build\lib.win-amd64-3.9\lxml\isoschematron
copying src\lxml\isoschematron\__init__.py -> build\lib.win-amd64-3.9\lxml\isoschematron
copying src\lxml\etree.h -> build\lib.win-amd64-3.9\lxml
copying src\lxml\etree_api.h -> build\lib.win-amd64-3.9\lxml
copying src\lxml\lxml.etree.h -> build\lib.win-amd64-3.9\lxml
copying src\lxml\lxml.etree_api.h -> build\lib.win-amd64-3.9\lxml
copying src\lxml\includes\c14n.pxd -> build\lib.win-amd64-3.9\lxml\includes
copying src\lxml\includes\config.pxd -> build\lib.win-amd64-3.9\lxml\includes
copying src\lxml\includes\dtdvalid.pxd -> build\lib.win-amd64-3.9\lxml\includes
copying src\lxml\includes\etreepublic.pxd -> build\lib.win-amd64-3.9\lxml\includes
copying src\lxml\includes\htmlparser.pxd -> build\lib.win-amd64-3.9\lxml\includes
copying src\lxml\includes\relaxng.pxd -> build\lib.win-amd64-3.9\lxml\includes
copying src\lxml\includes\schematron.pxd -> build\lib.win-amd64-3.9\lxml\includes
copying src\lxml\includes\tree.pxd -> build\lib.win-amd64-3.9\lxml\includes
copying src\lxml\includes\uri.pxd -> build\lib.win-amd64-3.9\lxml\includes
copying src\lxml\includes\xinclude.pxd -> build\lib.win-amd64-3.9\lxml\includes
copying src\lxml\includes\xmlerror.pxd -> build\lib.win-amd64-3.9\lxml\includes
copying src\lxml\includes\xmlparser.pxd -> build\lib.win-amd64-3.9\lxml\includes
copying src\lxml\includes\xmlschema.pxd -> build\lib.win-amd64-3.9\lxml\includes
copying src\lxml\includes\xpath.pxd -> build\lib.win-amd64-3.9\lxml\includes
copying src\lxml\includes\xslt.pxd -> build\lib.win-amd64-3.9\lxml\includes
copying src\lxml\includes\__init__.pxd -> build\lib.win-amd64-3.9\lxml\includes
copying src\lxml\includes\etree_defs.h -> build\lib.win-amd64-3.9\lxml\includes
copying src\lxml\includes\lxml-version.h -> build\lib.win-amd64-3.9\lxml\includes
creating build\lib.win-amd64-3.9\lxml\isoschematron\resources
creating build\lib.win-amd64-3.9\lxml\isoschematron\resources\rng
copying src\lxml\isoschematron\resources\rng\iso-schematron.rng -> build\lib.win-amd64-3.9\lxml\isoschematron\resources\rng
creating build\lib.win-amd64-3.9\lxml\isoschematron\resources\xsl
copying src\lxml\isoschematron\resources\xsl\RNG2Schtrn.xsl -> build\lib.win-amd64-3.9\lxml\isoschematron\resources\xsl
copying src\lxml\isoschematron\resources\xsl\XSD2Schtrn.xsl -> build\lib.win-amd64-3.9\lxml\isoschematron\resources\xsl
creating build\lib.win-amd64-3.9\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.9\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.9\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.9\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.9\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.9\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\readme.txt -> build\lib.win-amd64-3.9\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
running build_ext
building 'lxml.etree' extension
creating build\temp.win-amd64-3.9
creating build\temp.win-amd64-3.9\Release
creating build\temp.win-amd64-3.9\Release\src
creating build\temp.win-amd64-3.9\Release\src\lxml
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DCYTHON_CLINE_IN_TRACEBACK=0 -Isrc -Isrc\lxml\includes -Ic:\users\ashis\onedrive\documents\web apps\webutilities\myenv\include -Ic:\python39\include -Ic:\python39\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\ATLMFC\include 

-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt /Tcsrc\lxml\etree.c /Fobuild\temp.win-amd64-3.9\Release\src\lxml\etree.obj -w cl : Command line warning D9025 : overriding '/W3' with '/w' etree.c C:\Users\ashis\AppData\Local\Temp\pip-install-_3mt2e1a\lxml_e3a717266aba478f81e552139f4895c3\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\2019\Community\VC\Tools\MSVC\14.29.30037\bin\HostX86\x64\cl.exe' failed with exit code 2 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -I/usr/include/libxml2 -IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\ATLMFC\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\include -IC:\Program Files (x86)\Windows Kits\10\include\10nrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt /TcC:\Users\ashis\AppData\Local\Temp\xmlXPathInitpf2ecvgu.c /FoUsers\ashis\AppData\Local\Temp\xmlXPathInitpf2ecvgu.obj xmlXPathInitpf2ecvgu.c C:\Users\ashis\AppData\Local\Temp\xmlXPathInitpf2ecvgu.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\2019\Community\VC\Tools\MSVC\14.29.30037\bin\HostX86\x64\cl.exe' failed with exit code 2


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

Rolling back uninstall of lxml Moving to c:\users\ashis\onedrive\documents\web apps\webutilities\myenv\lib\site-packages\lxml-4.6.3.dist-info\ Moving to c:\users\ashis\onedrive\documents\web apps\webutilities\myenv\lib\site-packages\lxml\ from C:\Users\ashis\OneDrive\Documents\Web Apps\WebUtilities\myenv\Lib\site-packages\~xml \AppData\Local\Temp\pip-install-_3mt2e1a\lxml_e3a717266aba478f81e552139f4895c3\setup.py'"'"'; file='"'"'C:\Users\ashis\AppData\Local\Temp\pip-install-_3mt2e1a\lxml_e3a717266aba478f81e552139f4895c3\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\ashis\AppData\Local\Temp\pip-record-wgus5gxx\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\ashis\onedrive\documents\web apps\webutilities\myenv\include\site\python3.9\lxml' Check the logs for full command output.