Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac issue #237

Open
Wumpanik opened this issue Oct 13, 2023 · 0 comments
Open

Mac issue #237

Wumpanik opened this issue Oct 13, 2023 · 0 comments

Comments

@Wumpanik
Copy link

I got this error:

Collecting lxml
Downloading lxml-4.9.3.tar.gz (3.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.6/3.6 MB 6.0 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: lxml
Building wheel for lxml (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building wheel for lxml (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [116 lines of output]
:67: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
Building lxml version 4.9.3.
Building without Cython.
Building against libxml2 2.9.13 and libxslt 1.1.35
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-11.00-arm64-cpython-310
creating build/lib.macosx-11.00-arm64-cpython-310/lxml
copying src/lxml/_elementpath.py -> build/lib.macosx-11.00-arm64-cpython-310/lxml
copying src/lxml/sax.py -> build/lib.macosx-11.00-arm64-cpython-310/lxml
copying src/lxml/pyclasslookup.py -> build/lib.macosx-11.00-arm64-cpython-310/lxml
copying src/lxml/init.py -> build/lib.macosx-11.00-arm64-cpython-310/lxml
copying src/lxml/builder.py -> build/lib.macosx-11.00-arm64-cpython-310/lxml
copying src/lxml/doctestcompare.py -> build/lib.macosx-11.00-arm64-cpython-310/lxml
copying src/lxml/usedoctest.py -> build/lib.macosx-11.00-arm64-cpython-310/lxml
copying src/lxml/cssselect.py -> build/lib.macosx-11.00-arm64-cpython-310/lxml
copying src/lxml/ElementInclude.py -> build/lib.macosx-11.00-arm64-cpython-310/lxml
creating build/lib.macosx-11.00-arm64-cpython-310/lxml/includes
copying src/lxml/includes/init.py -> build/lib.macosx-11.00-arm64-cpython-310/lxml/includes
creating build/lib.macosx-11.00-arm64-cpython-310/lxml/html
copying src/lxml/html/soupparser.py -> build/lib.macosx-11.00-arm64-cpython-310/lxml/html
copying src/lxml/html/defs.py -> build/lib.macosx-11.00-arm64-cpython-310/lxml/html
copying src/lxml/html/_setmixin.py -> build/lib.macosx-11.00-arm64-cpython-310/lxml/html
copying src/lxml/html/clean.py -> build/lib.macosx-11.00-arm64-cpython-310/lxml/html
copying src/lxml/html/_diffcommand.py -> build/lib.macosx-11.00-arm64-cpython-310/lxml/html
copying src/lxml/html/html5parser.py -> build/lib.macosx-11.00-arm64-cpython-310/lxml/html
copying src/lxml/html/init.py -> build/lib.macosx-11.00-arm64-cpython-310/lxml/html
copying src/lxml/html/formfill.py -> build/lib.macosx-11.00-arm64-cpython-310/lxml/html
copying src/lxml/html/builder.py -> build/lib.macosx-11.00-arm64-cpython-310/lxml/html
copying src/lxml/html/ElementSoup.py -> build/lib.macosx-11.00-arm64-cpython-310/lxml/html
copying src/lxml/html/_html5builder.py -> build/lib.macosx-11.00-arm64-cpython-310/lxml/html
copying src/lxml/html/usedoctest.py -> build/lib.macosx-11.00-arm64-cpython-310/lxml/html
copying src/lxml/html/diff.py -> build/lib.macosx-11.00-arm64-cpython-310/lxml/html
creating build/lib.macosx-11.00-arm64-cpython-310/lxml/isoschematron
copying src/lxml/isoschematron/init.py -> build/lib.macosx-11.00-arm64-cpython-310/lxml/isoschematron
copying src/lxml/etree.h -> build/lib.macosx-11.00-arm64-cpython-310/lxml
copying src/lxml/etree_api.h -> build/lib.macosx-11.00-arm64-cpython-310/lxml
copying src/lxml/lxml.etree.h -> build/lib.macosx-11.00-arm64-cpython-310/lxml
copying src/lxml/lxml.etree_api.h -> build/lib.macosx-11.00-arm64-cpython-310/lxml
copying src/lxml/objectify.pyx -> build/lib.macosx-11.00-arm64-cpython-310/lxml
copying src/lxml/etree.pyx -> build/lib.macosx-11.00-arm64-cpython-310/lxml
copying src/lxml/public-api.pxi -> build/lib.macosx-11.00-arm64-cpython-310/lxml
copying src/lxml/xmlid.pxi -> build/lib.macosx-11.00-arm64-cpython-310/lxml
copying src/lxml/cleanup.pxi -> build/lib.macosx-11.00-arm64-cpython-310/lxml
copying src/lxml/xslt.pxi -> build/lib.macosx-11.00-arm64-cpython-310/lxml
copying src/lxml/xpath.pxi -> build/lib.macosx-11.00-arm64-cpython-310/lxml
copying src/lxml/debug.pxi -> build/lib.macosx-11.00-arm64-cpython-310/lxml
copying src/lxml/serializer.pxi -> build/lib.macosx-11.00-arm64-cpython-310/lxml
copying src/lxml/classlookup.pxi -> build/lib.macosx-11.00-arm64-cpython-310/lxml
copying src/lxml/saxparser.pxi -> build/lib.macosx-11.00-arm64-cpython-310/lxml
copying src/lxml/objectpath.pxi -> build/lib.macosx-11.00-arm64-cpython-310/lxml
copying src/lxml/relaxng.pxi -> build/lib.macosx-11.00-arm64-cpython-310/lxml
copying src/lxml/xinclude.pxi -> build/lib.macosx-11.00-arm64-cpython-310/lxml
copying src/lxml/iterparse.pxi -> build/lib.macosx-11.00-arm64-cpython-310/lxml
copying src/lxml/parser.pxi -> build/lib.macosx-11.00-arm64-cpython-310/lxml
copying src/lxml/dtd.pxi -> build/lib.macosx-11.00-arm64-cpython-310/lxml
copying src/lxml/apihelpers.pxi -> build/lib.macosx-11.00-arm64-cpython-310/lxml
copying src/lxml/xmlerror.pxi -> build/lib.macosx-11.00-arm64-cpython-310/lxml
copying src/lxml/readonlytree.pxi -> build/lib.macosx-11.00-arm64-cpython-310/lxml
copying src/lxml/extensions.pxi -> build/lib.macosx-11.00-arm64-cpython-310/lxml
copying src/lxml/xmlschema.pxi -> build/lib.macosx-11.00-arm64-cpython-310/lxml
copying src/lxml/schematron.pxi -> build/lib.macosx-11.00-arm64-cpython-310/lxml
copying src/lxml/docloader.pxi -> build/lib.macosx-11.00-arm64-cpython-310/lxml
copying src/lxml/nsclasses.pxi -> build/lib.macosx-11.00-arm64-cpython-310/lxml
copying src/lxml/parsertarget.pxi -> build/lib.macosx-11.00-arm64-cpython-310/lxml
copying src/lxml/xsltext.pxi -> build/lib.macosx-11.00-arm64-cpython-310/lxml
copying src/lxml/proxy.pxi -> build/lib.macosx-11.00-arm64-cpython-310/lxml
copying src/lxml/includes/xmlerror.pxd -> build/lib.macosx-11.00-arm64-cpython-310/lxml/includes
copying src/lxml/includes/c14n.pxd -> build/lib.macosx-11.00-arm64-cpython-310/lxml/includes
copying src/lxml/includes/xmlschema.pxd -> build/lib.macosx-11.00-arm64-cpython-310/lxml/includes
copying src/lxml/includes/init.pxd -> build/lib.macosx-11.00-arm64-cpython-310/lxml/includes
copying src/lxml/includes/schematron.pxd -> build/lib.macosx-11.00-arm64-cpython-310/lxml/includes
copying src/lxml/includes/tree.pxd -> build/lib.macosx-11.00-arm64-cpython-310/lxml/includes
copying src/lxml/includes/uri.pxd -> build/lib.macosx-11.00-arm64-cpython-310/lxml/includes
copying src/lxml/includes/etreepublic.pxd -> build/lib.macosx-11.00-arm64-cpython-310/lxml/includes
copying src/lxml/includes/xpath.pxd -> build/lib.macosx-11.00-arm64-cpython-310/lxml/includes
copying src/lxml/includes/htmlparser.pxd -> build/lib.macosx-11.00-arm64-cpython-310/lxml/includes
copying src/lxml/includes/xslt.pxd -> build/lib.macosx-11.00-arm64-cpython-310/lxml/includes
copying src/lxml/includes/config.pxd -> build/lib.macosx-11.00-arm64-cpython-310/lxml/includes
copying src/lxml/includes/xmlparser.pxd -> build/lib.macosx-11.00-arm64-cpython-310/lxml/includes
copying src/lxml/includes/xinclude.pxd -> build/lib.macosx-11.00-arm64-cpython-310/lxml/includes
copying src/lxml/includes/dtdvalid.pxd -> build/lib.macosx-11.00-arm64-cpython-310/lxml/includes
copying src/lxml/includes/relaxng.pxd -> build/lib.macosx-11.00-arm64-cpython-310/lxml/includes
copying src/lxml/includes/lxml-version.h -> build/lib.macosx-11.00-arm64-cpython-310/lxml/includes
copying src/lxml/includes/etree_defs.h -> build/lib.macosx-11.00-arm64-cpython-310/lxml/includes
creating build/lib.macosx-11.00-arm64-cpython-310/lxml/isoschematron/resources
creating build/lib.macosx-11.00-arm64-cpython-310/lxml/isoschematron/resources/rng
copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.macosx-11.00-arm64-cpython-310/lxml/isoschematron/resources/rng
creating build/lib.macosx-11.00-arm64-cpython-310/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.macosx-11.00-arm64-cpython-310/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.macosx-11.00-arm64-cpython-310/lxml/isoschematron/resources/xsl
creating build/lib.macosx-11.00-arm64-cpython-310/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl -> build/lib.macosx-11.00-arm64-cpython-310/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl -> build/lib.macosx-11.00-arm64-cpython-310/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-11.00-arm64-cpython-310/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl -> build/lib.macosx-11.00-arm64-cpython-310/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl -> build/lib.macosx-11.00-arm64-cpython-310/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.macosx-11.00-arm64-cpython-310/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
running build_ext
building 'lxml.etree' extension
creating build/temp.macosx-11.00-arm64-cpython-310
creating build/temp.macosx-11.00-arm64-cpython-310/src
creating build/temp.macosx-11.00-arm64-cpython-310/src/lxml
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/brecht/dev/build_darwin/deps/Release/sqlite/include -I/Users/brecht/dev/build_darwin/deps/Release/bzip2/include -I/Users/brecht/dev/build_darwin/deps/Release/lzma/include -I/Users/brecht/dev/build_darwin/deps/Release/zlib/include -mmacosx-version-min=11.00 -arch arm64 -mmacosx-version-min=11.00 -arch arm64 -DCYTHON_CLINE_IN_TRACEBACK=0 -I/usr/include -Isrc -Isrc/lxml/includes -I/Applications/Blender.app/Contents/Resources/3.6/python/include/python3.10 -c src/lxml/etree.c -o build/temp.macosx-11.00-arm64-cpython-310/src/lxml/etree.o -w -flat_namespace
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
Compile failed: command '/usr/bin/gcc' failed with exit code 1
creating tmp
cc -I/usr/include -I/usr/include/libxml2 -c /tmp/xmlXPathInith2nxq8wf.c -o tmp/xmlXPathInith2nxq8wf.o
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
*********************************************************************************
Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?
Perhaps try: xcode-select --install
*********************************************************************************
error: command '/usr/bin/gcc' failed with exit code 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
Failed to build lxml
ERROR: Could not build wheels for lxml, which is required to install pyproject.toml-based projects

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant