mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2026-11-05 00:27:30 +00:00
[GH-ISSUE #1155] mutable default <class 'fairseq.dataclass.configs.CommonConfig'> for field common is not allowed: use default_factory #756
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#756
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 @Cr7pt0nic on GitHub (Sep 1, 2023).
Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/1155
When running "infer-web.py" and the "gui_v1.py" python files including running the batch files they showed up an error regarding this.
ValueError: mutable default <class 'fairseq.dataclass.configs.CommonConfig'> for field common is not allowed: use default_factoryHere is the whole error log shown below here.
gui_v1.py:
infer-web.py:
@spgoutham commented on GitHub (Sep 1, 2023):
@Cr7pt0nic @ath @hiwanz @kalkih @scf4 Yes i got the same error. You can activate your env and try this Command instead.
pip install git+https://github.com/One-sixth/fairseq.git@AdrianAguilarT commented on GitHub (Sep 2, 2023):
Not working for me on a Mac M1 Pro.
@spgoutham commented on GitHub (Sep 3, 2023):
what error did you get?
@spgoutham commented on GitHub (Sep 3, 2023):
Sorry to bother. I just looked in to the command now. Now I Updated the command. Try that once again.
@sibo7851 commented on GitHub (Sep 18, 2023):
This fixed the issue for me, thank you!
@Arslan007 commented on GitHub (Oct 8, 2023):
@spgoutham I did try your command and it installs pip but when i run
sh ./run.shon mac it says the same error@sagos95 commented on GitHub (Oct 12, 2023):
@spgoutham ensure that you correctly installed fairseq. Check that python can see it through
pythonthen
import fairseqshouldn't display any errors. As for me, it reveals that additional package install was required.Then if you are using venv, ensure that you are installing package within your venv:
@Arslan007 commented on GitHub (Oct 13, 2023):
@sagos95 Thanks your method worked for me on latest MacOs.
Specially this way
@nospam2k commented on GitHub (Oct 21, 2023):
This isn't working for me. I still get the same error. I installed python through homebrew and it is using pip3. I uninstalled fairsec and then reran pip3 install git+https://github.com/One-sixth/fairseq.git
@nospam2k commented on GitHub (Oct 21, 2023):
Ok. So:
before installing worked!
@Gwatcher commented on GitHub (Nov 2, 2023):
i got an error when i used the command pip install git+https://github.com/One-sixth/fairseq.git
ValueError: mutable default <class 'fairseq.dataclass.configs.CommonConfig'> for field common is not allowed: use default_factory
i searched it on the web and found that this url can't open
@Spritzerland commented on GitHub (Nov 4, 2023):
YEAHHHHHHHHHHHHHHHHHHHHHHHHHHHh
@yukiarimo commented on GitHub (Dec 18, 2023):
Same issue
@Yamamotooo1994 commented on GitHub (Jan 13, 2024):
@Gwatcher @yukiarimo @Arslan007 @nospam2k
Hey guys, I got same problem and I fixed this by install python 3.10.11
During requirement installation, I found some package can only run under <python 3.11
https://www.python.org/ftp/python/3.10.11/python-3.10.11-amd64.exe
Hope this can help you, enjoy!
@yukiarimo commented on GitHub (Mar 1, 2024):
That’s dope. Is it kind of the best version of Python, cause I saw it fixes many bugs?
So, what is it? Is RVC going to work?
@BeyondTheStarry commented on GitHub (Jul 22, 2024):
Why do I generate incorrect file names and numbers when I use fairseq, which can be used in a higher version of python?