Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ╰─$ CMAKE_ARGS="-DLLAMA_BUILD=OFF" pip install llama-cpp-python Collecting llama-cpp-python
- Using cached llama_cpp_python-0.2.11.tar.gz (3.6 MB)
- Installing build dependencies ... done
- Getting requirements to build wheel ... done
- Installing backend dependencies ... error
- error: subprocess-exited-with-error
- × pip subprocess to install backend dependencies did not run successfully.
- │ exit code: 1
- ╰─> [56 lines of output] Collecting cmake>=3.21
- Using cached cmake-3.27.6.tar.gz (35 kB)
- Installing build dependencies: started Installing build dependencies: finished with status 'done'
- Getting requirements to build wheel: started
- Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started
- Preparing metadata (pyproject.toml): finished with status 'done'
- Building wheels for collected packages: cmake Building wheel for cmake (pyproject.toml): started
- Building wheel for cmake (pyproject.toml): finished with status 'error'
- error: subprocess-exited-with-error
- × Building wheel for cmake (pyproject.toml) did not run successfully.
- │ exit code: 1 ╰─> [34 lines of output]
- Traceback (most recent call last):
- File "/data/data/com.termux/files/usr/tmp/pip-build-env-hu_06uov/overlay/lib/python3.11/site-packages/skbuild/setuptools_wrap.py", line 645, in setup cmkr = cmaker.CMaker(cmake_executable)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/data/data/com.termux/files/usr/tmp/pip-build-env-hu_06uov/overlay/lib/python3.11/site-packages/skbuild/cmaker.py", line 148, in __init__
- self.cmake_version = get_cmake_version(self.cmake_executable)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/data/data/com.termux/files/usr/tmp/pip-build-env-hu_06uov/overlay/lib/python3.11/site-packages/skbuild/cmaker.py", line 105, in get_cmake_version
- raise SKBuildError(msg) from err
- =============================DEBUG ASSISTANCE=============================
- If you are seeing a compilation error please try the following steps to
- successfully install cmake:
- 1) Upgrade to the latest pip and try again. This will fix errors for most
- users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
- 2) If on Linux, with glibc < 2.12, you can set PIP_ONLY_BINARY=cmake in
- order to retrieve the last manylinux1 compatible wheel.
- 3) If on Linux, with glibc < 2.12, you can cap "cmake<3.23" in your
- requirements in order to retrieve the last manylinux1 compatible wheel.
- 4) Open an issue with the debug information that follows at
- https://github.com/scikit-build/cmake-python-distributions/issues
- Python: 3.11.5
- platform: Linux-4.19.157-perf+-aarch64-with-libc
- machine: aarch64
- bits: 64
- pip: n/a
- setuptools: 68.2.2
- scikit-build: 0.17.6
- PEP517_BUILD_BACKEND=setuptools.build_meta
- =============================DEBUG ASSISTANCE=============================
- Problem with the CMake installation, aborting build. CMake executable is cmake
- [end of output]
- note: This error originates from a subprocess, and is likely not a problem with pip.
- ERROR: Failed building wheel for cmake
- Failed to build cmake
- ERROR: Could not build wheels for cmake, which is required to install pyproject.toml-based projects
- [end of output]
- note: This error originates from a subprocess, and is likely not a problem with pip.
- error: subprocess-exited-with-error
- × pip subprocess to install backend dependencies did not run successfully.
- │ exit code: 1
- ╰─> See above for output.
- note: This error originates from a subprocess, and is likely not a problem with pip.
Advertisement
Add Comment
Please, Sign In to add comment