I'm trying to make docker image where will be installed pyiso==0.4.0 (with python3.8.13): ``` Collecting lxml Downloading lxml-3.6.4.tar.gz (3.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.7/3.7 MB 15.0 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Building wheels for collected packages: dash-renderer, pyiso, lxml, PyMeeus, retrying, sklearn Building wheel for dash-renderer (setup.py): started Building wheel for dash-renderer (setup.py): finished with status 'done' Created wheel for dash-renderer: filename=dash_renderer-1.9.1-py3-none-any.whl size=1014875 sha256=591211e277b2960250a65630d82a3022771870724820fc1ce3e5e495f271ed27 Stored in directory: /root/.cache/pip/wheels/ac/7e/fd/807844722d79d8babcd27b16e5f7ecc7b476c45ca607c11729 Building wheel for pyiso (setup.py): started Building wheel for pyiso (setup.py): finished with status 'done' Created wheel for pyiso: filename=pyiso-0.4.0-py3-none-any.whl size=84633 sha256=838cba1771d62f9cfea5ec26c000629f8e514f41ea444b1bd819c23c7b06149f Stored in directory: /root/.cache/pip/wheels/4b/c3/1b/224cd217563fcc1dfe64db059a9fc67319437f64e30dfb9010 Building wheel for lxml (setup.py): started Building wheel for lxml (setup.py): still running... Building wheel for lxml (setup.py): finished with status 'error' error: subprocess-exited-with-error × python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [167 lines of output] Building lxml version 3.6.4. Building without Cython. Using build configuration of libxslt 1.1.34 running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-3.8 creating build/lib.linux-x86_64-3.8/lxml copying src/lxml/builder.py -> build/lib.linux-x86_64-3.8/lxml copying src/lxml/sax.py -> build/lib.linux-x86_64-3.8/lxml copying src/lxml/__init__.py -> build/lib.linux-x86_64-3.8/lxml copying src/lxml/cssselect.py -> build/lib.linux-x86_64-3.8/lxml copying src/lxml/_elementpath.py -> build/lib.linux-x86_64-3.8/lxml copying src/lxml/ElementInclude.py -> build/lib.linux-x86_64-3.8/lxml copying src/lxml/doctestcompare.py -> build/lib.linux-x86_64-3.8/lxml copying src/lxml/pyclasslookup.py -> build/lib.linux-x86_64-3.8/lxml copying src/lxml/usedoctest.py -> build/lib.linux-x86_64-3.8/lxml creating build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/__init__.py -> build/lib.linux-x86_64-3.8/lxml/includes creating build/lib.linux-x86_64-3.8/lxml/html copying src/lxml/html/defs.py -> build/lib.linux-x86_64-3.8/lxml/html copying src/lxml/html/builder.py -> build/lib.linux-x86_64-3.8/lxml/html copying src/lxml/html/_diffcommand.py -> build/lib.linux-x86_64-3.8/lxml/html copying src/lxml/html/ElementSoup.py -> build/lib.linux-x86_64-3.8/lxml/html copying src/lxml/html/clean.py -> build/lib.linux-x86_64-3.8/lxml/html copying src/lxml/html/soupparser.py -> build/lib.linux-x86_64-3.8/lxml/html copying src/lxml/html/_setmixin.py -> build/lib.linux-x86_64-3.8/lxml/html copying src/lxml/html/__init__.py -> build/lib.linux-x86_64-3.8/lxml/html copying src/lxml/html/formfill.py -> build/lib.linux-x86_64-3.8/lxml/html copying src/lxml/html/_html5builder.py -> build/lib.linux-x86_64-3.8/lxml/html copying src/lxml/html/html5parser.py -> build/lib.linux-x86_64-3.8/lxml/html copying src/lxml/html/diff.py -> build/lib.linux-x86_64-3.8/lxml/html copying src/lxml/html/usedoctest.py -> build/lib.linux-x86_64-3.8/lxml/html creating build/lib.linux-x86_64-3.8/lxml/isoschematron copying src/lxml/isoschematron/__init__.py -> build/lib.linux-x86_64-3.8/lxml/isoschematron copying src/lxml/lxml.etree.h -> build/lib.linux-x86_64-3.8/lxml copying src/lxml/lxml.etree_api.h -> build/lib.linux-x86_64-3.8/lxml copying src/lxml/includes/xslt.pxd -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/schematron.pxd -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/htmlparser.pxd -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/xinclude.pxd -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/uri.pxd -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/xpath.pxd -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/config.pxd -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/c14n.pxd -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/etreepublic.pxd -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/relaxng.pxd -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/xmlparser.pxd -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/dtdvalid.pxd -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/xmlschema.pxd -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/tree.pxd -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/xmlerror.pxd -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/lxml-version.h -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/etree_defs.h -> build/lib.linux-x86_64-3.8/lxml/includes creating build/lib.linux-x86_64-3.8/lxml/isoschematron/resources creating build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/rng copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/rng creating build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/xsl copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/xsl copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/xsl creating build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl -> build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl -> build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl -> build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl -> build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl -> build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 running build_ext building 'lxml.etree' extension creating build/temp.linux-x86_64-3.8 creating build/temp.linux-x86_64-3.8/src creating build/temp.linux-x86_64-3.8/src/lxml gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/include/libxml2 -Isrc/lxml/includes -I/usr/local/include/python3.8 -c src/lxml/lxml.etree.c -o build/temp.linux-x86_64-3.8/src/lxml/lxml.etree.o -w src/lxml/lxml.etree.c: In function ‘__Pyx_ExceptionSave’: src/lxml/lxml.etree.c:221065:21: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’? 221065 | *type = tstate->exc_type; | ^~~~~~~~ | curexc_type src/lxml/lxml.etree.c:221066:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’? 221066 | *value = tstate->exc_value; | ^~~~~~~~~ | curexc_value src/lxml/lxml.etree.c:221067:19: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’? 221067 | *tb = tstate->exc_traceback; | ^~~~~~~~~~~~~ | curexc_traceback src/lxml/lxml.etree.c: In function ‘__Pyx_ExceptionReset’: src/lxml/lxml.etree.c:221079:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’? 221079 | tmp_type = tstate->exc_type; | ^~~~~~~~ | curexc_type src/lxml/lxml.etree.c:221080:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’? 221080 | tmp_value = tstate->exc_value; | ^~~~~~~~~ | curexc_value src/lxml/lxml.etree.c:221081:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’? 221081 | tmp_tb = tstate->exc_traceback; | ^~~~~~~~~~~~~ | curexc_traceback src/lxml/lxml.etree.c:221082:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’? 221082 | tstate->exc_type = type; | ^~~~~~~~ | curexc_type src/lxml/lxml.etree.c:221083:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’? 221083 | tstate->exc_value = value; | ^~~~~~~~~ | curexc_value src/lxml/lxml.etree.c:221084:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’? 221084 | tstate->exc_traceback = tb; | ^~~~~~~~~~~~~ | curexc_traceback src/lxml/lxml.etree.c: In function ‘__Pyx_GetException’: src/lxml/lxml.etree.c:221127:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’? 221127 | tmp_type = tstate->exc_type; | ^~~~~~~~ | curexc_type src/lxml/lxml.etree.c:221128:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’? 221128 | tmp_value = tstate->exc_value; | ^~~~~~~~~ | curexc_value src/lxml/lxml.etree.c:221129:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’? 221129 | tmp_tb = tstate->exc_traceback; | ^~~~~~~~~~~~~ | curexc_traceback src/lxml/lxml.etree.c:221130:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’? 221130 | tstate->exc_type = local_type; | ^~~~~~~~ | curexc_type src/lxml/lxml.etree.c:221131:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’? 221131 | tstate->exc_value = local_value; | ^~~~~~~~~ | curexc_value src/lxml/lxml.etree.c:221132:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’? 221132 | tstate->exc_traceback = local_tb; | ^~~~~~~~~~~~~ | curexc_traceback src/lxml/lxml.etree.c: In function ‘__Pyx_ExceptionSwap’: src/lxml/lxml.etree.c:221441:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’? 221441 | tmp_type = tstate->exc_type; | ^~~~~~~~ | curexc_type src/lxml/lxml.etree.c:221442:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’? 221442 | tmp_value = tstate->exc_value; | ^~~~~~~~~ | curexc_value src/lxml/lxml.etree.c:221443:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’? 221443 | tmp_tb = tstate->exc_traceback; | ^~~~~~~~~~~~~ | curexc_traceback src/lxml/lxml.etree.c:221444:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’? 221444 | tstate->exc_type = *type; | ^~~~~~~~ | curexc_type src/lxml/lxml.etree.c:221445:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’? 221445 | tstate->exc_value = *value; | ^~~~~~~~~ | curexc_value src/lxml/lxml.etree.c:221446:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’? 221446 | tstate->exc_traceback = *tb; | ^~~~~~~~~~~~~ | curexc_traceback Compile failed: command 'gcc' failed with exit status 1 creating tmp cc -I/usr/include/libxml2 -I/usr/include/libxml2 -c /tmp/xmlXPathInite9awqf50.c -o tmp/xmlXPathInite9awqf50.o cc tmp/xmlXPathInite9awqf50.o -lxml2 -o a.out error: command 'gcc' failed with exit status 1 [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for lxml Running setup.py clean for lxml Building wheel for PyMeeus (setup.py): started Building wheel for PyMeeus (setup.py): finished with status 'done' Created wheel for PyMeeus: filename=PyMeeus-0.5.11-py3-none-any.whl size=730985 sha256=209becbf35c0e5c8752ff6f690e1cd12e6f5e11f8c1603d6085fd4fe25d89aa9 Stored in directory: /root/.cache/pip/wheels/a0/8b/b2/810ae5a6f970c8be4725353400d643c90de1c0f023a9884ee7 Building wheel for retrying (setup.py): started Building wheel for retrying (setup.py): finished with status 'done' Created wheel for retrying: filename=retrying-1.3.3-py3-none-any.whl size=11447 sha256=746a0dcfece1ffad658f6102fe7e13b0ee1ff921a404e438e2518d369227fc7d Stored in directory: /root/.cache/pip/wheels/c4/a7/48/0a434133f6d56e878ca511c0e6c38326907c0792f67b476e56 Building wheel for sklearn (setup.py): started Building wheel for sklearn (setup.py): finished with status 'done' Created wheel for sklearn: filename=sklearn-0.0-py2.py3-none-any.whl size=1310 sha256=f158b7ab10c78362e72492e66b6173e7838d78c65c87c05fd7ba8e48c7614648 Stored in directory: /root/.cache/pip/wheels/22/0b/40/fd3f795caaa1fb4c6cb738bc1f56100be1e57da95849bfc897 Successfully built dash-renderer pyiso PyMeeus retrying sklearn Failed to build lxml Installing collected packages: webencodings, Send2Trash, PyMeeus, pure-eval, ptyprocess, pickleshare, mistune, lxml, korean-lunar-calendar, ipython-genutils, fastjsonschema, executing, dash-table, dash-renderer, dash-html-components, dash-core-components, beautifulsoup4, backcall, appnope, zipp, xlrd, Werkzeug, urllib3, typing-extensions, traitlets, tornado, tinycss2, threadpoolctl, testpath, soupsieve, Shapely, retrying, pyzmq, pyrsistent, pyproj, Pygments, psutil, prometheus-client, plotly, Pillow, pexpect, parso, pandocfilters, numpy, nest-asyncio, munch, mock, kiwisolver, jupyterlab-widgets, jupyterlab-pygments, joblib, idna, html5lib, hijri-converter, gunicorn, fonttools, entrypoints, defusedxml, decorator, debugpy, cycler, convertdate, cligj, charset-normalizer, chardet, cffi, bleach, attrs, async-generator, asttokens, terminado, stack-data, scipy, requests, QtPy, pandas, matplotlib-inline, matplotlib, jupyter-core, jedi, importlib-resources, holidays, Fiona, argon2-cffi-bindings, xgboost, timezonefinderL, scikit-learn, jupyter-client, jsonschema, ipython, geopandas, Flask, descartes, argon2-cffi, sklearn, pyiso, nbformat, ipykernel, qtconsole, nbclient, jupyter-console, dash, nbconvert, dash-bootstrap-components, notebook, widgetsnbextension, ipywidgets, jupyter Running setup.py install for lxml: started Running setup.py install for lxml: still running... Running setup.py install for lxml: finished with status 'error' error: subprocess-exited-with-error × Running setup.py install for lxml did not run successfully. │ exit code: 1 ╰─> [166 lines of output] Building lxml version 3.6.4. Building without Cython. Using build configuration of libxslt 1.1.34 running install running build running build_py creating build creating build/lib.linux-x86_64-3.8 creating build/lib.linux-x86_64-3.8/lxml copying src/lxml/builder.py -> build/lib.linux-x86_64-3.8/lxml copying src/lxml/sax.py -> build/lib.linux-x86_64-3.8/lxml copying src/lxml/__init__.py -> build/lib.linux-x86_64-3.8/lxml copying src/lxml/cssselect.py -> build/lib.linux-x86_64-3.8/lxml copying src/lxml/_elementpath.py -> build/lib.linux-x86_64-3.8/lxml copying src/lxml/ElementInclude.py -> build/lib.linux-x86_64-3.8/lxml copying src/lxml/doctestcompare.py -> build/lib.linux-x86_64-3.8/lxml copying src/lxml/pyclasslookup.py -> build/lib.linux-x86_64-3.8/lxml copying src/lxml/usedoctest.py -> build/lib.linux-x86_64-3.8/lxml creating build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/__init__.py -> build/lib.linux-x86_64-3.8/lxml/includes creating build/lib.linux-x86_64-3.8/lxml/html copying src/lxml/html/defs.py -> build/lib.linux-x86_64-3.8/lxml/html copying src/lxml/html/builder.py -> build/lib.linux-x86_64-3.8/lxml/html copying src/lxml/html/_diffcommand.py -> build/lib.linux-x86_64-3.8/lxml/html copying src/lxml/html/ElementSoup.py -> build/lib.linux-x86_64-3.8/lxml/html copying src/lxml/html/clean.py -> build/lib.linux-x86_64-3.8/lxml/html copying src/lxml/html/soupparser.py -> build/lib.linux-x86_64-3.8/lxml/html copying src/lxml/html/_setmixin.py -> build/lib.linux-x86_64-3.8/lxml/html copying src/lxml/html/__init__.py -> build/lib.linux-x86_64-3.8/lxml/html copying src/lxml/html/formfill.py -> build/lib.linux-x86_64-3.8/lxml/html copying src/lxml/html/_html5builder.py -> build/lib.linux-x86_64-3.8/lxml/html copying src/lxml/html/html5parser.py -> build/lib.linux-x86_64-3.8/lxml/html copying src/lxml/html/diff.py -> build/lib.linux-x86_64-3.8/lxml/html copying src/lxml/html/usedoctest.py -> build/lib.linux-x86_64-3.8/lxml/html creating build/lib.linux-x86_64-3.8/lxml/isoschematron copying src/lxml/isoschematron/__init__.py -> build/lib.linux-x86_64-3.8/lxml/isoschematron copying src/lxml/lxml.etree.h -> build/lib.linux-x86_64-3.8/lxml copying src/lxml/lxml.etree_api.h -> build/lib.linux-x86_64-3.8/lxml copying src/lxml/includes/xslt.pxd -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/schematron.pxd -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/htmlparser.pxd -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/xinclude.pxd -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/uri.pxd -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/xpath.pxd -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/config.pxd -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/c14n.pxd -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/etreepublic.pxd -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/relaxng.pxd -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/xmlparser.pxd -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/dtdvalid.pxd -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/xmlschema.pxd -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/tree.pxd -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/xmlerror.pxd -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/lxml-version.h -> build/lib.linux-x86_64-3.8/lxml/includes copying src/lxml/includes/etree_defs.h -> build/lib.linux-x86_64-3.8/lxml/includes creating build/lib.linux-x86_64-3.8/lxml/isoschematron/resources creating build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/rng copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/rng creating build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/xsl copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/xsl copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/xsl creating build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl -> build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl -> build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl -> build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl -> build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl -> build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.linux-x86_64-3.8/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 running build_ext building 'lxml.etree' extension creating build/temp.linux-x86_64-3.8 creating build/temp.linux-x86_64-3.8/src creating build/temp.linux-x86_64-3.8/src/lxml gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/include/libxml2 -Isrc/lxml/includes -I/usr/local/include/python3.8 -c src/lxml/lxml.etree.c -o build/temp.linux-x86_64-3.8/src/lxml/lxml.etree.o -w src/lxml/lxml.etree.c: In function ‘__Pyx_ExceptionSave’: src/lxml/lxml.etree.c:221065:21: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’? 221065 | *type = tstate->exc_type; | ^~~~~~~~ | curexc_type src/lxml/lxml.etree.c:221066:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’? 221066 | *value = tstate->exc_value; | ^~~~~~~~~ | curexc_value src/lxml/lxml.etree.c:221067:19: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’? 221067 | *tb = tstate->exc_traceback; | ^~~~~~~~~~~~~ | curexc_traceback src/lxml/lxml.etree.c: In function ‘__Pyx_ExceptionReset’: src/lxml/lxml.etree.c:221079:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’? 221079 | tmp_type = tstate->exc_type; | ^~~~~~~~ | curexc_type src/lxml/lxml.etree.c:221080:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’? 221080 | tmp_value = tstate->exc_value; | ^~~~~~~~~ | curexc_value src/lxml/lxml.etree.c:221081:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’? 221081 | tmp_tb = tstate->exc_traceback; | ^~~~~~~~~~~~~ | curexc_traceback src/lxml/lxml.etree.c:221082:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’? 221082 | tstate->exc_type = type; | ^~~~~~~~ | curexc_type src/lxml/lxml.etree.c:221083:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’? 221083 | tstate->exc_value = value; | ^~~~~~~~~ | curexc_value src/lxml/lxml.etree.c:221084:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’? 221084 | tstate->exc_traceback = tb; | ^~~~~~~~~~~~~ | curexc_traceback src/lxml/lxml.etree.c: In function ‘__Pyx_GetException’: src/lxml/lxml.etree.c:221127:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’? 221127 | tmp_type = tstate->exc_type; | ^~~~~~~~ | curexc_type src/lxml/lxml.etree.c:221128:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’? 221128 | tmp_value = tstate->exc_value; | ^~~~~~~~~ | curexc_value src/lxml/lxml.etree.c:221129:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’? 221129 | tmp_tb = tstate->exc_traceback; | ^~~~~~~~~~~~~ | curexc_traceback src/lxml/lxml.etree.c:221130:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’? 221130 | tstate->exc_type = local_type; | ^~~~~~~~ | curexc_type src/lxml/lxml.etree.c:221131:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’? 221131 | tstate->exc_value = local_value; | ^~~~~~~~~ | curexc_value src/lxml/lxml.etree.c:221132:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’? 221132 | tstate->exc_traceback = local_tb; | ^~~~~~~~~~~~~ | curexc_traceback src/lxml/lxml.etree.c: In function ‘__Pyx_ExceptionSwap’: src/lxml/lxml.etree.c:221441:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’? 221441 | tmp_type = tstate->exc_type; | ^~~~~~~~ | curexc_type src/lxml/lxml.etree.c:221442:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’? 221442 | tmp_value = tstate->exc_value; | ^~~~~~~~~ | curexc_value src/lxml/lxml.etree.c:221443:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’? 221443 | tmp_tb = tstate->exc_traceback; | ^~~~~~~~~~~~~ | curexc_traceback src/lxml/lxml.etree.c:221444:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’? 221444 | tstate->exc_type = *type; | ^~~~~~~~ | curexc_type src/lxml/lxml.etree.c:221445:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’? 221445 | tstate->exc_value = *value; | ^~~~~~~~~ | curexc_value src/lxml/lxml.etree.c:221446:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’? 221446 | tstate->exc_traceback = *tb; | ^~~~~~~~~~~~~ | curexc_traceback Compile failed: command 'gcc' failed with exit status 1 cc -I/usr/include/libxml2 -I/usr/include/libxml2 -c /tmp/xmlXPathInitahkspco6.c -o tmp/xmlXPathInitahkspco6.o cc tmp/xmlXPathInitahkspco6.o -lxml2 -o a.out error: command 'gcc' failed with exit status 1 [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure × Encountered error while trying to install package. ╰─> lxml note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure. WARNING: You are using pip version 22.0.4; however, version 22.2.2 is available. You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command. ```