ERROR: Failed building wheel for llama-cpp-python解决方案
报错背景:pip install llama-cpp-python报错!
方案1:
Updating to gcc-11 and g+±11 worked for me on Ubuntu 18.04.
Did that using sudo apt install gcc-11 and sudo apt install g+±11.
尝试后没用 方案2:
CMAKE_ARGS=“-DLLAMA_OPENBLAS=on” FORCE_CMAKE=1 pip install llama-cpp-python==0.1.48