When Running Installation:

pip install faiss 

I am getting this error:

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

also when i use conda:

conda install faiss 

I get this error:

PackagesNotFoundError: The following packages are not available from current channels: - faiss 
2

3 Answers

Just to state the obvious, but for pip you can use gpu or cpu specifc builds:

pip install faiss-cpu 

or

pip install faiss-gpu 

Faiss on Pypi is only a collection of pre-built binaries for MacOS and Linux and only for these python versions:

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

Your setup does not seem to match these specifications

For conda, it does not exist in the std channels, but can be installed (for Linux and MacOS only) with:

conda install -c pytorch faiss-cpu 

or

conda install -c pytorch faiss-gpu 
2

You can install faiss on Windows. Go to the conda prompt and type:

conda install -c conda-forge faiss-cpu 

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.