Tag Archives: Firth

[Solved] faiss Failed to install Error: No version of faiss found that meets the requirements

When running the installation:

pip install faiss

report errors:

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

When installing with conda:

conda install faiss

report errors:

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

  - faiss

Faiss on Pypi is just a collection of pre built binary files of MacOS and Linux, and is only applicable to these Python versions:

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

Your settings do not seem to match these specifications

For conda, it does not exist in the std channel, but can be installed in the following ways (Linux and MacOS only):

Install CPU version

conda install -c pytorch faiss-cpu

Install GPU version

conda install -c pytorch faiss-gpu

Install fail on Windows. Go to the conda prompt and enter:

conda install -c conda-forge faiss-cpu