[GH-ISSUE #2112] Can't launch RVC #1424

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

Originally created by @Shoctopus1 on GitHub (Jun 7, 2024).
Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/2112

Whenever I try to launch RVC, I get this error message. Do you have any beginner-friendly tips on how to resolve this? I'll probably need to add some paths to the infer-web.py code but idk where to start or what to do.

Found Intel OpenMP ('libiomp') and LLVM OpenMP ('libomp') loaded at
the same time. Both libraries are known to be incompatible and this
can cause random crashes or deadlocks on Linux when loaded in the
same Python program.
Using threadpoolctl may cause crashes or deadlocks. For more
information and possible workarounds, please see
https://github.com/joblib/threadpoolctl/blob/master/multiple_openmp.md

warnings.warn(msg, RuntimeWarning)
Traceback (most recent call last):
File "C:\Program Files (x86)\Retrieval-based-Voice-Conversion-WebUI-main\infer-web.py", line 8, in
from infer.modules.vc.modules import VC
File "C:\Program Files (x86)\Retrieval-based-Voice-Conversion-WebUI-main\infer\modules\vc\modules.py", line 19, in
from infer.modules.vc.utils import *
File "C:\Program Files (x86)\Retrieval-based-Voice-Conversion-WebUI-main\infer\modules\vc\utils.py", line 3, in
from fairseq import checkpoint_utils
File "C:\Users\X\AppData\Roaming\Python\Python312\site-packages\fairseq_init_.py", line 20, in
from fairseq.distributed import utils as distributed_utils
File "C:\Users\X\AppData\Roaming\Python\Python312\site-packages\fairseq\distributed_init_.py", line 7, in
from .fully_sharded_data_parallel import (
File "C:\Users\X\AppData\Roaming\Python\Python312\site-packages\fairseq\distributed\fully_sharded_data_parallel.py", line 10, in
from fairseq.dataclass.configs import DistributedTrainingConfig
File "C:\Users\X\AppData\Roaming\Python\Python312\site-packages\fairseq\dataclass_init_.py", line 6, in
from .configs import FairseqDataclass
File "C:\Users\X\AppData\Roaming\Python\Python312\site-packages\fairseq\dataclass\configs.py", line 1104, in
@dataclass
^^^^^^^^^
File "C:\Program Files\Python312\Lib\dataclasses.py", line 1275, in dataclass
return wrap(cls)
^^^^^^^^^
File "C:\Program Files\Python312\Lib\dataclasses.py", line 1265, in wrap
return _process_class(cls, init, repr, eq, order, unsafe_hash,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python312\Lib\dataclasses.py", line 994, in _process_class
cls_fields.append(_get_field(cls, name, type, kw_only))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python312\Lib\dataclasses.py", line 852, in _get_field
raise ValueError(f'mutable default {type(f.default)} for field '
ValueError: mutable default <class 'fairseq.dataclass.configs.CommonConfig'> for field common is not allowed: use default_factory

Originally created by @Shoctopus1 on GitHub (Jun 7, 2024). Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/2112 ## Whenever I try to launch RVC, I get this error message. Do you have any beginner-friendly tips on how to resolve this? I'll probably need to add some paths to the infer-web.py code but idk where to start or what to do. Found Intel OpenMP ('libiomp') and LLVM OpenMP ('libomp') loaded at the same time. Both libraries are known to be incompatible and this can cause random crashes or deadlocks on Linux when loaded in the same Python program. Using threadpoolctl may cause crashes or deadlocks. For more information and possible workarounds, please see https://github.com/joblib/threadpoolctl/blob/master/multiple_openmp.md warnings.warn(msg, RuntimeWarning) Traceback (most recent call last): File "C:\Program Files (x86)\Retrieval-based-Voice-Conversion-WebUI-main\infer-web.py", line 8, in <module> from infer.modules.vc.modules import VC File "C:\Program Files (x86)\Retrieval-based-Voice-Conversion-WebUI-main\infer\modules\vc\modules.py", line 19, in <module> from infer.modules.vc.utils import * File "C:\Program Files (x86)\Retrieval-based-Voice-Conversion-WebUI-main\infer\modules\vc\utils.py", line 3, in <module> from fairseq import checkpoint_utils File "C:\Users\X\AppData\Roaming\Python\Python312\site-packages\fairseq\__init__.py", line 20, in <module> from fairseq.distributed import utils as distributed_utils File "C:\Users\X\AppData\Roaming\Python\Python312\site-packages\fairseq\distributed\__init__.py", line 7, in <module> from .fully_sharded_data_parallel import ( File "C:\Users\X\AppData\Roaming\Python\Python312\site-packages\fairseq\distributed\fully_sharded_data_parallel.py", line 10, in <module> from fairseq.dataclass.configs import DistributedTrainingConfig File "C:\Users\X\AppData\Roaming\Python\Python312\site-packages\fairseq\dataclass\__init__.py", line 6, in <module> from .configs import FairseqDataclass File "C:\Users\X\AppData\Roaming\Python\Python312\site-packages\fairseq\dataclass\configs.py", line 1104, in <module> @dataclass ^^^^^^^^^ File "C:\Program Files\Python312\Lib\dataclasses.py", line 1275, in dataclass return wrap(cls) ^^^^^^^^^ File "C:\Program Files\Python312\Lib\dataclasses.py", line 1265, in wrap return _process_class(cls, init, repr, eq, order, unsafe_hash, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\Python312\Lib\dataclasses.py", line 994, in _process_class cls_fields.append(_get_field(cls, name, type, kw_only)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\Python312\Lib\dataclasses.py", line 852, in _get_field raise ValueError(f'mutable default {type(f.default)} for field ' ValueError: mutable default <class 'fairseq.dataclass.configs.CommonConfig'> for field common is not allowed: use default_factory
Author
Owner

@Husky110 commented on GitHub (Jun 7, 2024):

USe Python 3.10.x - Python 3.12 is not supported, since there are issues with it.

<!-- gh-comment-id:2154675450 --> @Husky110 commented on GitHub (Jun 7, 2024): USe Python 3.10.x - Python 3.12 is not supported, since there are issues with it.
Author
Owner

@Shoctopus1 commented on GitHub (Jun 7, 2024):

USe Python 3.10.x - Python 3.12 is not supported, since there are issues with it.

USe Python 3.10.x - Python 3.12 is not supported, since there are issues with it.

I downgraded again, but got a new error saying I'm missing "chardet"

File "C:\Users\X\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\compat.py", line 11, in
import chardet
ModuleNotFoundError: No module named 'chardet'

then the whole thing falls apart. Guess the python installation didn't get chardet when I asked for the "precompiled library". Either that or I forgot to check the box.

Thanks, it works again. cant believe a random failure of torch spiraled so far out of control

<!-- gh-comment-id:2154732494 --> @Shoctopus1 commented on GitHub (Jun 7, 2024): > USe Python 3.10.x - Python 3.12 is not supported, since there are issues with it. > USe Python 3.10.x - Python 3.12 is not supported, since there are issues with it. ### I downgraded again, but got a new error saying I'm missing "chardet" File "C:\Users\X\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\compat.py", line 11, in <module> import chardet ModuleNotFoundError: No module named 'chardet' ### then the whole thing falls apart. Guess the python installation didn't get chardet when I asked for the "precompiled library". Either that or I forgot to check the box. ### Thanks, it works again. cant believe a random failure of torch spiraled so far out of control
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#1424
No description provided.