安装faiss 报错:找不到满足要求 faiss 的版本

运行安装时:

pip install faiss

报错:

ERROR: Could not find a version that satisfies the requirement faiss (from versions: none)
ERROR: No matching distribution found for faiss

使用 conda 安装时: 

conda install faiss

报错:

PackagesNotFoundError: The following packages are not available from current channels:

  - faiss

Pypi 上的 Faiss只是 MacOS 和 Linux 的预构建二进制文件的集合,并且仅适用于这些 python 版本: 

Python :: 2.7
Python :: 3.5
Python :: 3.6
Python :: 3.7

您的设置似乎与这些规格不符

对于 conda ,它不存在于 std 通道中,但可以通过以下方式安装(仅适用于 Linux 和 MacOS):

安装CPU版本

conda install -c pytorch faiss-cpu

安装GPU版本

conda install -c pytorch faiss-gpu

 

 

在 Windows 上安装 faiss。 Go 到 conda 提示符并输入: 

conda install -c conda-forge faiss-cpu

 

  • 12
    点赞
  • 19
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 3
    评论
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Dr.Petrichor

作者逐个题目分析的噢

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值