Python 安装faiss失败

报错

遇到ModuleNotFoundError: No module named 'faiss',使用下面语句安装失败。

python 复制代码
pip3 install faiss 

遇到

ERROR: Could not find a version that satisfies the requirement faiss (from versions: none)

ERROR: No matching distribution found for faiss

解决方法

python 复制代码
pip3  install faiss-cpu
python 复制代码
Collecting faiss-cpu
  Downloading faiss_cpu-1.8.0-cp312-cp312-macosx_10_14_x86_64.whl.metadata (3.6 kB)
Requirement already satisfied: numpy in /Users/rsun/miniconda3/lib/python3.12/site-packages (from faiss-cpu) (1.26.4)
Downloading faiss_cpu-1.8.0-cp312-cp312-macosx_10_14_x86_64.whl (7.4 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.4/7.4 MB 10.6 MB/s eta 0:00:00
Installing collected packages: faiss-cpu
Successfully installed faiss-cpu-1.8.0
相关推荐
li星野12 天前
本地 RAG 问答系统实战:FAISS 检索 + DeepSeek 生成
faiss
NeilYuen12 天前
gRPC结合FAISS构建AI助手语义缓存模块(一):设计
人工智能·缓存·faiss
HappyAcmen12 天前
7.faiss-cpu向量库安装
python·faiss
海天一色y13 天前
深入理解 RAG 技术:从语义张量到向量数据库,Milvus 与 FAISS 全面对比
数据库·milvus·faiss
沪漂阿龙14 天前
Vector Store:FAISS、Chroma、Milvus、Qdrant、ES 怎么选?
人工智能·elasticsearch·架构·milvus·faiss
程序员佳佳16 天前
四个月长期实测:自建 Milvus、FAISS、原生向量 API 和向量引擎中转方案,到底怎么选?
人工智能·windows·python·gpt·milvus·faiss
li星野17 天前
从 PDF 到 FAISS 向量索引:构建本地 RAG 数据预处理流水线
pdf·faiss
veminhe20 天前
关于下载pip install faiss-cpu失败的问题
python·pip·faiss
程序员佳佳20 天前
我在 Windows 和低配 Linux 上做 RAG:Milvus、FAISS、向量 API 中转的中立实测
linux·人工智能·windows·gpt·aigc·milvus·faiss