IT评测·应用市场-qidao123.com技术社区

标题: ERROR: Failed building wheel for llama-cpp-python解决方案 [打印本页]

作者: 宝塔山    时间: 2025-1-3 11:07
标题: ERROR: Failed building wheel for llama-cpp-python解决方案
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

总结下来,这条命令用于强制从源代码编译安装 llama-cpp-python包,并且启用了 OpenBLAS 加速。

免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。




欢迎光临 IT评测·应用市场-qidao123.com技术社区 (https://dis.qidao123.com/) Powered by Discuz! X3.4