Retrieval-based-Voice-Conversion-WebUI icon indicating copy to clipboard operation
Retrieval-based-Voice-Conversion-WebUI copied to clipboard

No module named 'faiss'

Open Mshriver2 opened this issue 1 year ago • 2 comments

Hi, after installing the requirements I try to launch the web interface with python but I get the following error.

Traceback (most recent call last): File "infer-web.py", line 21, in <module> import faiss ModuleNotFoundError: No module named 'faiss' and when I try to install it with pip it says it is not found. Any ideas? I am running Windows 10.

image

Mshriver2 avatar Jul 07 '23 06:07 Mshriver2

I also tried pip install faiss-gpu, but got the following error. image

Mshriver2 avatar Jul 07 '23 06:07 Mshriver2

pip install faiss and pip install numpy

paolobettelini avatar Jul 08 '23 21:07 paolobettelini

You should specify the pip corresponding to the location of the Python environment you want to call, and then enter xxx/xxx/pip install -r requirements.txt no "install faiss", but "install faiss-cpu"

RVC-Boss avatar Jul 10 '23 09:07 RVC-Boss

Thanks, that fixed it

Mshriver2 avatar Jul 12 '23 04:07 Mshriver2