mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2026-11-05 00:27:30 +00:00
[GH-ISSUE #2863] ModuleNotFoundError: No module named 'infer' #2064
Labels
No labels
AMD/Intel
bug
bug
bug
colab
dependencies
documentation
duplicate
enhancement
following up
good first issue
help wanted
invalid
question
stale
stale
stale
todo list
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
RVC-Project/Retrieval-based-Voice-Conversion-WebUI#2064
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cylin577 on GitHub (Sep 26, 2026).
Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/2863
重现步骤
Console Log
作业环境:
系统: Ubuntu 24.04 amd64
Python: 3.12.14
CUDA版本: 12.8
Notes: 不管是Hugging Face上的整合包或者是repo都可重现
@TianLSama commented on GitHub (Oct 5, 2026):
ModuleNotFoundError: No module named 'infer'
8f2fdbf483Commit:81eed5e8f6运行环境:
阿里云ecs.gn6i-c4g1.xlarge NVIDIA Telsa T4 GPU实例
OS: Ubuntu 24.04
Python: Python3.12.3
CUDA: 11.8
WebUI Log:
【Data slicing】
Status:Failed
Traceback (most recent call last):
File "/home/m1571/project/RVC20260718DML/webui.py", line 653, in preprocess_dataset
for info in run_preprocess_dataset(trainset_dir, exp_dir, sr, n_p, state):
File "/home/m1571/project/RVC20260718DML/webui.py", line 619, in run_preprocess_dataset
yield from wait_train_processes(
File "/home/m1571/project/RVC20260718DML/webui.py", line 588, in wait_train_processes
raise RuntimeError(i18n("子进程执行失败,返回码:%s") % failed)
RuntimeError: Child process failed with exit code: [1]
Console Log:
Data extraction started: start_time=1791171033.395906, requested concurrency=11, actual concurrency limit=11
Traceback (most recent call last):
File "/home/m1571/project/RVC20260718DML/train/preprocess.py", line 20, in
from infer.audio import load_audio
ModuleNotFoundError: No module named 'infer'
Data extraction finished: end_time=1791171034.403361, total elapsed=1.007 seconds
Data extraction started: start_time=1791172058.044548, requested concurrency=11, actual concurrency limit=11
Traceback (most recent call last):
File "/home/m1571/project/RVC20260718DML/train/preprocess.py", line 20, in
from infer.audio import load_audio
ModuleNotFoundError: No module named 'infer'
Data extraction finished: end_time=1791172059.053085, total elapsed=1.009 seconds
在项目根目录下logs/your-experiment-name/目录内生成了一个preprocess.log文件,但未写入任何内容
补充:
经测试,在Windows平台下该问题也存在,按照README.md指导,使用python webui.py命令启动WebUI执行Step 2a步骤时也会出现ModuleNotFoundError: No module named 'infer'
在WSL2 Ubuntu 24.04 使用CPU推理版本python webui.py命令启动WebUI执行Step 2a步骤故障同样存在
总而言之故障现象与上述内容完全一致
OS:
Windows Insider Preview Build 29680.1000.rs_prerelease.260925-1447
Ubuntu 24.04
Python:
Python 3.12.3
CDUA:
NO GPU
*所有部署操作严格按照README.md指导执行,在此基础上产生上述故障