Answer the question
In order to leave comments, you need to log in
Trouble installing lxml to python3.8.0 on windows OS?
Hi, when installing the lxml library, I get an error like:
copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_abstra
ct_expand.xsl -> build\lib.win32-3.8\lxml\isoschematron\resources\xsl\iso-schema
tron-xslt1
copying src\lxml\ isoschematron\resources\xsl\iso-schematron-xslt1\iso_dsdl_i
nclude.xsl -> build\lib.win32-3.8\lxml\isoschematron\resources\xsl\iso-schematro
n-xslt1
copying src\lxml\isoschematron\resources\xsl \iso-schematron-xslt1\iso_schema
tron_message.xsl -> build\lib.win32-3.8\lxml\isoschematron\resources\xsl\iso-sch
ematron-xslt1
copying src\lxml\isoschematron\resources\xsl\iso-schematron- xslt1\iso_schema
tron_skeleton_for_xslt1.xsl -> build\lib.win32-3.8\lxml\isoschematron\resources\
xsl\iso-schematron-xslt1
copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_svrl_f
or_xslt1.xsl -> build\lib.win32-3.8\lxml\isoschematron\resources\xsl\iso-schematron-
ron -xslt1
copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\readme.txt
-> build\lib.win32-3.8\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/
--------------------------------- -------------
ERROR: Command errored out with exit status 1: 'C:\Users\D3coy\AppData\Local\Pro
grams\Python\Python38-32\python.exe' -u -c 'import sys, setuptools, tokenize; sy
s.argv[0] = '"'"'C:\\Users\\D3coy\\AppData\\Local\\Temp\\pip-install-26cju2yb\\l
xml\\setup.py'"'" '; __file__='"'"'C:\\Users\\D3coy\\AppData\\Local\\Temp\\pip-in
stall-26cju2yb\\lxml\\setup.py'"'"';f=getattr( tokenize, '"'"'open'"'"', open)(__
file__);code=f.read().replace('"'"'\r\n'"'"', '"'" '\n'"'"');f.close();exec(compi
le(code, __file__, '"'"'exec'"'"'))' install --record 'C:
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question