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
相关推荐
狐狐生风6 小时前
LangChain 向量存储:Chroma、FAISS
人工智能·python·学习·langchain·faiss·agentai
Muyuan199812 小时前
27.RAG 系统中的上下文充分性判断:从 Chunk 数量、FAISS 距离到 LLM Relevance Gate
python·django·pdf·fastapi·faiss
chushiyunen6 天前
faiss向量检索库(并非向量数据库)
数据库·faiss
AI木马人7 天前
8.【向量数据库深度对比】Milvus vs FAISS vs Pinecone(真实项目选型指南)
数据库·milvus·faiss
竹之却18 天前
【Agent-阿程】AI先锋杯·14天征文挑战第14期-第6天-大模型RAG检索增强生成实战
人工智能·大模型·检索增强·faiss·rag
guslegend20 天前
第9节:FAISS,HNSW还是BM25?如何选择最适合业务的向量检索引擎?如何选择最适合业务的向量检索引擎
人工智能·大模型·faiss·rag
weisian15120 天前
进阶篇-LangChain篇-10--向量数据库选型指南:本地FAISS, Chroma与云原生方案
数据库·langchain·faiss·向量数据库·chroma
森森-曦1 个月前
在复现overlaptranformer论文中,进行库faiss安装的,解决方案。
faiss
liliangcsdn1 个月前
如何使用向量库faiss和LLM判断问题是否被记录
人工智能·全文检索·faiss
Le0v1n1 个月前
Faiss:大规模向量相似度检索
faiss