Installation troubles on Ubuntu 20.04.3 LTS
Summary
I have tried installing FAISS package according to the installation manual with commands "conda install -c pytorch faiss-cpu", "conda install -c pytorch faiss-gpu", "conda install -c pytorch faiss-gpu cudatoolkit=11.4". After that importing faiss gives me "ModuleNotFoundError: No module named 'faiss'".
Command "conda list" shows me a list of packages with the only faiss-like package in the list: faiss-proc 1.0.0 cuda rapidsai
I am using base conda environment. Don't know how to deal with the problem.
Platform
Ubuntu 20.04.3 LTS NVIDIA GTX 1080 Ti CUDA 11.4 conda 4.11.0
Running on:
- [x] CPU
- [x] GPU
Interface:
- [ ] C++
- [x] Python
Reproduction instructions
Could you try with cudatoolkit=11.3?
Also, which version of Python are you using?
Also, which version of Python are you using?
I am using python 3.8.10, forgot to mention
Could you try with
cudatoolkit=11.3?
Same problem occurs. During the installation process it writes about package conflicts, but in the end it prints: "Your installed version is: 2.31"
- It is mentioned here that we should install either, not both. Can you check that out?
- Is it possible that you have a file named
faiss.pyin the same working directory? If yes, that might cause the problem with importing faiss. - Does creating a new conda environment and installing
faissthere fix your issue?
Just my 2 cents.