You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.
Backend subprocess exited when trying to invoke build_wheel
:117: SyntaxWarning: invalid escape sequence '.'
:67: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
Building lxml version 4.9.2.
Building without Cython.
Building against libxml2 2.9.4 and libxslt 1.1.29
running bdist_wheel
running build
running build_py
....
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
Compile failed: command '/usr/bin/clang' failed with exit code 1
creating var
creating var/folders
creating var/folders/1n
creating var/folders/1n/s06fb70120d5fdbkb4fwzll80000gn
creating var/folders/1n/s06fb70120d5fdbkb4fwzll80000gn/T
cc -I/usr/include/libxml2 -c /var/folders/1n/s06fb70120d5fdbkb4fwzll80000gn/T/xmlXPathInit_0ns6bm0.c -o var/folders/1n/s06fb70120d5fdbkb4fwzll80000gn/T/xmlXPathInit_0ns6bm0.o
cc var/folders/1n/s06fb70120d5fdbkb4fwzll80000gn/T/xmlXPathInit_0ns6bm0.o -lxml2 -o a.out
error: command '/usr/bin/clang' failed with exit code 1
at /opt/homebrew/Cellar/poetry/1.7.0/libexec/lib/python3.12/site-packages/poetry/installation/chef.py:166 in _prepare
162│
163│ error = ChefBuildError("\n\n".join(message_parts))
164│
165│ if error is not None:
→ 166│ raise error from None
167│
168│ return path
169│
170│ def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:
Note: This error originates from the build backend, and is likely not a problem with poetry but with lxml (4.9.2) not supporting PEP 517 builds. You can verify this by running 'pip wheel --no-cache-dir --use-pep517 "lxml (==4.9.2)"'.
running on macos M1 with Sonoma 14.1, poetry installed vuw brew at 1.7.0
clang --version ─╯
Apple clang version 15.0.0 (clang-1500.0.40.1)
Target: arm64-apple-darwin23.1.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
anyone else got the same problem or its just me ?
thanks in advice
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi everyone,
trying to install cme but having problem with lxml library
poetry install
Installing dependencies from lock file
Package operations: 25 installs, 0 updates, 0 removals
• Installing lxml (4.9.2): Failed
ChefBuildError
Backend subprocess exited when trying to invoke build_wheel
:117: SyntaxWarning: invalid escape sequence '.'
:67: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
Building lxml version 4.9.2.
Building without Cython.
Building against libxml2 2.9.4 and libxslt 1.1.29
running bdist_wheel
running build
running build_py
....
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
Compile failed: command '/usr/bin/clang' failed with exit code 1
creating var
creating var/folders
creating var/folders/1n
creating var/folders/1n/s06fb70120d5fdbkb4fwzll80000gn
creating var/folders/1n/s06fb70120d5fdbkb4fwzll80000gn/T
cc -I/usr/include/libxml2 -c /var/folders/1n/s06fb70120d5fdbkb4fwzll80000gn/T/xmlXPathInit_0ns6bm0.c -o var/folders/1n/s06fb70120d5fdbkb4fwzll80000gn/T/xmlXPathInit_0ns6bm0.o
cc var/folders/1n/s06fb70120d5fdbkb4fwzll80000gn/T/xmlXPathInit_0ns6bm0.o -lxml2 -o a.out
error: command '/usr/bin/clang' failed with exit code 1
at /opt/homebrew/Cellar/poetry/1.7.0/libexec/lib/python3.12/site-packages/poetry/installation/chef.py:166 in _prepare
162│
163│ error = ChefBuildError("\n\n".join(message_parts))
164│
165│ if error is not None:
→ 166│ raise error from None
167│
168│ return path
169│
170│ def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:
Note: This error originates from the build backend, and is likely not a problem with poetry but with lxml (4.9.2) not supporting PEP 517 builds. You can verify this by running 'pip wheel --no-cache-dir --use-pep517 "lxml (==4.9.2)"'.
running on macos M1 with Sonoma 14.1, poetry installed vuw brew at 1.7.0
clang --version ─╯
Apple clang version 15.0.0 (clang-1500.0.40.1)
Target: arm64-apple-darwin23.1.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
anyone else got the same problem or its just me ?
thanks in advice
The text was updated successfully, but these errors were encountered: