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
Thank you for the book, it's really enajoyable to read,
I encountered an issue following the book's steps after running uv sync. The problem seems related to patchelf.
Using CPython 3.12.7 interpreter at: /usr/local/opt/[email protected]/bin/python3.12
Creating virtual environment at: .venv
Resolved 192 packages in 22ms
× Failed to download and build `patchelf==0.17.2.1`
╰─▶ Build backend failed to build wheel through `build_wheel` (exit status: 1)
[stdout]
[ 11%] Performing patch step for'build_patchelf'
[stderr]
./bootstrap.sh: line 2: autoreconf: command not found
make[2]: ***
[build_patchelf-prefix/src/build_patchelf-stamp/build_patchelf-patch]
Error 127
make[1]: *** [CMakeFiles/build_patchelf.dir/all] Error 2
make: *** [all] Error 2
Traceback (most recent call last):
File
"~/.cache/uv/builds-v0/.tmpBcRguU/lib/python3.12/site-packages/skbuild/setuptools_wrap.py",
line 668, in setup
cmkr.make(make_args, install_target=cmake_install_target, env=env)
File
"~/.cache/uv/builds-v0/.tmpBcRguU/lib/python3.12/site-packages/skbuild/cmaker.py",
line 696, in make
self.make_impl(clargs=clargs, config=config, source_dir=source_dir,
install_target=install_target, env=env)
File
"~/.cache/uv/builds-v0/.tmpBcRguU/lib/python3.12/site-packages/skbuild/cmaker.py",
line 741, in make_impl
raise SKBuildError(msg)
An error occurred while building with CMake.
Command:
/usr/local/bin/cmake --build . --target install --config Release --
Install target:
install
Source directory:
~/.cache/uv/sdists-v6/pypi/patchelf/0.17.2.1/KILSp9dUu-mSOTZ2D8OEu/src
Working directory:
~/.cache/uv/sdists-v6/pypi/patchelf/0.17.2.1/KILSp9dUu-mSOTZ2D8OEu/src/_skbuild/macosx-13.0-x86_64-3.12/cmake-build
Please check the install target is valid and see CMake's output for more information. help: `patchelf` (v0.17.2.1) was included because `python-polars-the-definitive-guide` (v1.0.0) depends on `patchelf`
I tried deleting the entire repository and cloning it again, but the issue persists. I even installed the three packages mentioned in the error using Homebrew, but that didn’t resolve it either. After a bit of research, I found that patchelf is specifically designed for Linux, though I’m not entirely sure if that’s the root cause.
Here are the details:
uv version: uv 0.5.6 (Homebrew 2024-12-03)
macOS: 13.7.1
Thank you
The text was updated successfully, but these errors were encountered:
Thank you for the book, it's really enajoyable to read,
I encountered an issue following the book's steps after running
uv sync
. The problem seems related topatchelf
.I tried deleting the entire repository and cloning it again, but the issue persists. I even installed the three packages mentioned in the error using Homebrew, but that didn’t resolve it either. After a bit of research, I found that
patchelf
is specifically designed for Linux, though I’m not entirely sure if that’s the root cause.Here are the details:
Thank you
The text was updated successfully, but these errors were encountered: