微信公众号:leetcode_algos_life,代码随想随记
小红书:412408155
CSDN:https://blog.csdn.net/woai8339?type=blog ,代码随想随记
GitHub: https://github.com/riverind
抖音【暂未开始,计划开始】:tian72530,代码随想随记
知乎【暂未开始,计划开始】:代码随想随记
背景
安装 llama-cpp-python报错,采用pip install llama-cpp-python
报错信息如下:
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for llama-cpp-python
Failed to build llama-cpp-python
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (llama-cpp-python)
解决方案
# Linux环境下
apt-get install gcc-11 g++-11
apt install build-essential
pip install --no-cache-dir llama-cpp-python==0.2.77
文章来源于互联网:【亲测解决】Failed to build installable wheels for some pyproject.toml based projects (llama-cpp-python)
相关推荐: 实战解读:Llama Guard 3 & Prompt Guard
前序研究:实战解读:Llama 3 安全性对抗分析 近日,腾讯朱雀实验室又针对 Llama 3.1 安全性做了进一步解读。 2024年7月23日晚,随着Llama3.1的发布,Meta正式提出了“Llama系统”的概念,通过系统级的安全组件对AI系统进行更好的…
5bei.cn大模型教程网










