Find answers from the community

Updated 8 months ago

hey guys. i am trying to make a wheel

At a glance

A community member is trying to install the llama-cpp-python package in Google Colab, but is facing an error when running the command !CMAKE_ARGS="-DLLAMA_CUBLAS=on" FORCE_CMAKE=1 pip install llama-cpp-python. The error message indicates that the wheel for llama-cpp-python could not be built successfully. The community members in the comments suggest that the actual error message is further up in the log, and that the command used to work a week ago.

hey guys. i am trying to make a wheel for llama-cpp-python with the following line in Google Colab:
Plain Text
!CMAKE_ARGS="-DLLAMA_CUBLAS=on" FORCE_CMAKE=1 pip install llama-cpp-python

Till last week it worked properly, but now when i try to run that i faced the following error:
Plain Text
  error: subprocess-exited-with-error
  
  Γ— Building wheel for llama-cpp-python (pyproject.toml) 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.
  Building wheel for llama-cpp-python (pyproject.toml) ... error
  ERROR: Failed building wheel for llama-cpp-python
Failed to build llama-cpp-python
ERROR: Could not build wheels for llama-cpp-python, which is required to install pyproject.toml-based projects

Do you have any idea?
L
k
4 comments
theres some error farther up, as the error says
this is exactly the first line of the note book, one week ago it worked!
I meant further up in the error log πŸ˜…
You didn't paste the actual error (it's mentioning it's further up in the log)
Add a reply
Sign up and join the conversation on Discord