[GH-ISSUE #795] ModuleNotFoundError: No module named 'faiss' #499

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

Originally created by @gjin10969 on GitHub (Jul 19, 2023).
Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/795

image

/content/Retrieval-based-Voice-Conversion-WebUI
Traceback (most recent call last):
File "/content/Retrieval-based-Voice-Conversion-WebUI/infer-web.py", line 7, in
import faiss
ModuleNotFoundError: No module named 'faiss'

Originally created by @gjin10969 on GitHub (Jul 19, 2023). Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/795 ![image](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/assets/113190973/fdd886bd-d6ae-47d6-b74c-b15448782802) /content/Retrieval-based-Voice-Conversion-WebUI Traceback (most recent call last): File "/content/Retrieval-based-Voice-Conversion-WebUI/infer-web.py", line 7, in <module> import faiss ModuleNotFoundError: No module named 'faiss'
bsakaguchi 2026-10-20 10:00:00 +00:00
Author
Owner

@RVC-Boss commented on GitHub (Jul 19, 2023):

pip3 install faiss-cpu==1.7.2
Environmental Dependence: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/requirements.txt

<!-- gh-comment-id:1641484739 --> @RVC-Boss commented on GitHub (Jul 19, 2023): pip3 install faiss-cpu==1.7.2 Environmental Dependence: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/requirements.txt
Author
Owner

@Ali99997 commented on GitHub (Jul 19, 2023):

cpu

how can install it??????? vedio pleas

<!-- gh-comment-id:1642315173 --> @Ali99997 commented on GitHub (Jul 19, 2023): > cpu how can install it??????? vedio pleas
Author
Owner

@gjin10969 commented on GitHub (Jul 19, 2023):

after i install this
pip3 install faiss-cpu==1.7.2
Environmental Dependence: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/requirements.txt

New error
/content/Retrieval-based-Voice-Conversion-WebUI
Traceback (most recent call last):
File "/content/Retrieval-based-Voice-Conversion-WebUI/infer-web.py", line 21, in
import ffmpeg
ModuleNotFoundError: No module named 'ffmpeg'

<!-- gh-comment-id:1642331448 --> @gjin10969 commented on GitHub (Jul 19, 2023): after i install this pip3 install faiss-cpu==1.7.2 Environmental Dependence: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/requirements.txt New error /content/Retrieval-based-Voice-Conversion-WebUI Traceback (most recent call last): File "/content/Retrieval-based-Voice-Conversion-WebUI/infer-web.py", line 21, in <module> import ffmpeg ModuleNotFoundError: No module named 'ffmpeg'
Author
Owner

@gjin10969 commented on GitHub (Jul 19, 2023):

image

<!-- gh-comment-id:1642331998 --> @gjin10969 commented on GitHub (Jul 19, 2023): ![image](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/assets/113190973/3ac1295b-9f4b-4350-908f-eb09b6c15f6c)
Author
Owner

@an-internet-user001 commented on GitHub (Jul 25, 2023):

Yes - i am running into the same issue

<!-- gh-comment-id:1649055435 --> @an-internet-user001 commented on GitHub (Jul 25, 2023): Yes - i am running into the same issue
Author
Owner

@RVC-Boss commented on GitHub (Aug 10, 2023):

try
apt install ffmpeg
or
1-download ffmpeg(linux version) from https://github.com/BtbN/FFmpeg-Builds/releases
2-chmod the ffmpeg file to 777
3-modify "ffmpeg" to "path/of/ffmpeg" from https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/lib/audio.py#L16

<!-- gh-comment-id:1672487268 --> @RVC-Boss commented on GitHub (Aug 10, 2023): try apt install ffmpeg or 1-download ffmpeg(linux version) from https://github.com/BtbN/FFmpeg-Builds/releases 2-chmod the ffmpeg file to 777 3-modify "ffmpeg" to "path/of/ffmpeg" from https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/lib/audio.py#L16
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#499
No description provided.