faiss错误:找不到满足faiss要求的版本(来自版本:无)

2024-04-20 15:13:02 发布

您现在位置:Python中文网/ 问答频道 /正文

运行安装时:

pip install faiss

我得到了这个错误:

^{pr2}$

当我使用conda时:

conda install faiss

我得到这个错误:

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

  - faiss

Tags: installpipthefrompackages错误notcurrent
1条回答
网友
1楼 · 发布于 2024-04-20 15:13:02

Fais on Pypi只是MacOS和Linux的预构建二进制文件的集合,并且仅适用于以下python版本:

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

您的设置似乎与这些规范不匹配

For conda,它不存在于std频道中,但可以安装(仅适用于Linux和MacOS)与:

^{pr2}$

或者

conda install -c pytorch faiss-gpu

相关问题 更多 >