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
Just to state the obvious, but for pip
you can use CPU- or GPU-specific builds (with appropriate CUDA major version in case of GPU):
$ pip install faiss-cpu
# or:
$ pip install faiss-gpu-cu12 # CUDA 12.x, Python 3.8+
$ pip install faiss-gpu-cu11 # CUDA 11.x, Python 3.8+
$ pip install faiss-gpu # Python 3.6-3.10 (legacy, no longer available after version 1.7.3)
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With