Guest User

Untitled

a guest
Oct 9th, 2023
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.42 KB | None | 0 0
  1. ╰─$ CMAKE_ARGS="-DLLAMA_BUILD=OFF" pip install llama-cpp-python Collecting llama-cpp-python
  2. Using cached llama_cpp_python-0.2.11.tar.gz (3.6 MB)
  3. Installing build dependencies ... done
  4. Getting requirements to build wheel ... done
  5. Installing backend dependencies ... error
  6. error: subprocess-exited-with-error
  7.  
  8. × pip subprocess to install backend dependencies did not run successfully.
  9. │ exit code: 1
  10. ╰─> [56 lines of output] Collecting cmake>=3.21
  11. Using cached cmake-3.27.6.tar.gz (35 kB)
  12. Installing build dependencies: started Installing build dependencies: finished with status 'done'
  13. Getting requirements to build wheel: started
  14. Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started
  15. Preparing metadata (pyproject.toml): finished with status 'done'
  16. Building wheels for collected packages: cmake Building wheel for cmake (pyproject.toml): started
  17. Building wheel for cmake (pyproject.toml): finished with status 'error'
  18. error: subprocess-exited-with-error
  19. × Building wheel for cmake (pyproject.toml) did not run successfully.
  20. │ exit code: 1 ╰─> [34 lines of output]
  21. Traceback (most recent call last):
  22. 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)
  23. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  24. 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__
  25. self.cmake_version = get_cmake_version(self.cmake_executable)
  26. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  27. 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
  28. raise SKBuildError(msg) from err
  29.  
  30.  
  31. =============================DEBUG ASSISTANCE=============================
  32. If you are seeing a compilation error please try the following steps to
  33. successfully install cmake:
  34. 1) Upgrade to the latest pip and try again. This will fix errors for most
  35. users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
  36. 2) If on Linux, with glibc < 2.12, you can set PIP_ONLY_BINARY=cmake in
  37. order to retrieve the last manylinux1 compatible wheel.
  38. 3) If on Linux, with glibc < 2.12, you can cap "cmake<3.23" in your
  39. requirements in order to retrieve the last manylinux1 compatible wheel.
  40. 4) Open an issue with the debug information that follows at
  41. https://github.com/scikit-build/cmake-python-distributions/issues
  42.  
  43. Python: 3.11.5
  44. platform: Linux-4.19.157-perf+-aarch64-with-libc
  45. machine: aarch64
  46. bits: 64
  47. pip: n/a
  48. setuptools: 68.2.2
  49. scikit-build: 0.17.6
  50. PEP517_BUILD_BACKEND=setuptools.build_meta
  51. =============================DEBUG ASSISTANCE=============================
  52.  
  53. Problem with the CMake installation, aborting build. CMake executable is cmake
  54. [end of output]
  55.  
  56. note: This error originates from a subprocess, and is likely not a problem with pip.
  57. ERROR: Failed building wheel for cmake
  58. Failed to build cmake
  59. ERROR: Could not build wheels for cmake, which is required to install pyproject.toml-based projects
  60. [end of output]
  61.  
  62. note: This error originates from a subprocess, and is likely not a problem with pip.
  63. error: subprocess-exited-with-error
  64.  
  65. × pip subprocess to install backend dependencies did not run successfully.
  66. │ exit code: 1
  67. ╰─> See above for output.
  68.  
  69. note: This error originates from a subprocess, and is likely not a problem with pip.
Advertisement
Add Comment
Please, Sign In to add comment