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
相关推荐
linweidong1 个月前
如何设计和实施高效的向量化数据检索解决方案
人工智能·机器学习·大模型·agent·milvus·faiss·向量索引
Jackilina_Stone1 个月前
【faiss】用于高效相似性搜索和聚类的C++库 | 源码详解与编译安装
android·linux·c++·编译·faiss
我就是全世界1 个月前
Faiss中L2欧式距离与余弦相似度:究竟该如何选择?
算法·faiss
乱蹦的小鱼干2 个月前
从零搭建企业私有化知识问答系统:LLM + RAG + Qdrant/Faiss + Chainlit 实战全流程
faiss
许愿与你永世安宁2 个月前
基于Llama的RAG 3种模型配置方法
人工智能·python·自然语言处理·json·github·llama·faiss
若兰幽竹2 个月前
【基于大模型 + FAISS 的本地知识库与智能 PPT 生成系统:从架构到实现】
架构·powerpoint·faiss
jdmike2 个月前
【FAISS安装】FAISS向量数据库安装避坑
faiss
whoarethenext2 个月前
使用 C++/Faiss 加速海量 MFCC 特征的相似性搜索
开发语言·c++·faiss
whoarethenext3 个月前
使用 C++/OpenCV 计算图像特征并用 Faiss 进行相似细节搜索
c++·opencv·faiss
whoarethenext3 个月前
使用 C++、OpenCV 与 Faiss 构建高性能视觉搜索库
c++·opencv·faiss