[GH-ISSUE #1545] ModuleNotFoundError: No module named 'faiss' #1020

Closed
opened 2026-10-20 10:05:10 +00:00 by bsakaguchi · 2 comments
Owner

Originally created by @xRAZG0Nx on GitHub (Nov 14, 2023).
Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/1545

Today tried to set up RVC beta and after installing all libraries like - "pip install torch torchvision torchaudio", "pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117" and pip install faiss-gpu. And when launching the neural network and typing "python infer-web.py", I get the following error: File "C:\Rvc\Retrieval-based-Voice-Conversion-WebUI-updated0618v2\infer-web.py", line 20, in
import faiss
ModuleNotFoundError: No module named 'faiss'.

What can I do to fix this problem?

Originally created by @xRAZG0Nx on GitHub (Nov 14, 2023). Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/1545 Today tried to set up RVC beta and after installing all libraries like - "pip install torch torchvision torchaudio", "pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117" and pip install faiss-gpu. And when launching the neural network and typing "python infer-web.py", I get the following error: File "C:\Rvc\Retrieval-based-Voice-Conversion-WebUI-updated0618v2\infer-web.py", line 20, in <module> import faiss ModuleNotFoundError: No module named 'faiss'. What can I do to fix this problem?
bsakaguchi 2026-10-20 10:05:10 +00:00
Author
Owner

@Tps-F commented on GitHub (Nov 16, 2023):

Please check once with pip list to make sure it is really installed and that the virtual environment is correct

<!-- gh-comment-id:1814605153 --> @Tps-F commented on GitHub (Nov 16, 2023): Please check once with `pip list` to make sure it is really installed and that the virtual environment is correct
Author
Owner

@RVC-Boss commented on GitHub (Jul 20, 2026):

You can update the code to the latest main branch, where this issue has already been resolved.

<!-- gh-comment-id:5019818818 --> @RVC-Boss commented on GitHub (Jul 20, 2026): You can update the code to the latest `main` branch, where this issue has already been resolved.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
RVC-Project/Retrieval-based-Voice-Conversion-WebUI#1020
No description provided.