Home Artists Posts Import Register
Patreon importer is back online! Tell your friends ✅

Downloads

Content

Hey everyone! I've created some 1-click installers for the AMAZING RVC Webui. The best Voice Cloning Open-Source Tool there is! That allows you to perfectly clone anyone's voice with around 10 mins of audio for near perfect results. Use it to convert any voice to a new one using RVC or even create AI music covers! The sky is the limit!

Watch the video about RVC voice cloning: https://youtu.be/nXpBlC6OBw4 

The installers of course automates the entire install process!

Here's how it works:

First, choose what version you want, the normal installer (RVC-AUDIO-CLONING_INSTALLER.bat / RVC-AUDIO-CLONING_INSTALLER - AMD.bat) that is the latest up to date version of the webui that you can update wenever you want or the rvc integration package (an older all in one version that you can't update). If possible choose the normal installer based on your GPU (Nvidia or AMD).

Then, simply:

1. Download the installer

2. Create a new folder on your computer and place the installer inside

3. Launch the installer

4.???

5. Profit  😎


As always, supporting me on Patreon allows me to keep creating helpful resources like this for the community. Thank you for your support - now go have some fun😉!

Files

Comments

Jason Alcock

Edge refuses to download the RVC package even when I okay it, shows as a Virus, probably a false positive but it won't let me install

Waub Amik

I'm having issues with this. I'll assume its my issue as I run this all in a VM, although all the previous .bats worked for me. I'll wait and see if others have issues. I double click on it and nothing happens.

Aitrepreneur

you need to click the options and click keep it http://breakthrusoftware.com/html/onlinedocs/kb/installkb/MSEdgeDownloadWarn2.png

Aitrepreneur

open a command prompt window and drag and drop the installer inside, then press enter, see if it gives you an error or something

Денис

PyTorch is not installed or installed without CUDA support. Using default CUDA version... The system cannot find the batch label specified - create_venv

Gideon

goto create_venv doesn't work because there is no such label inside the file.

Gordon Wegener

Sadly also runs into an Error at the start admin or normal user does not matter: Current PyTorch CUDA version: None PyTorch is installed without CUDA support. Using default CUDA version... The system cannot find the batch label specified - create_venv

Aitrepreneur

Yes I uploaded the wrong version, just updated it here: https://www.patreon.com/file?h=100228700&i=18072186

Aitrepreneur

Yes I uploaded the wrong version, just updated it here: https://www.patreon.com/file?h=100228700&i=18072186

Aitrepreneur

Yes I uploaded the wrong version, just updated it here: https://www.patreon.com/file?h=100228700&i=18072186

james

InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate. did i do somthing wrong

Aitrepreneur

this looks like a connection issue, make sure you don't have any vpn or proxy running or if you have an antivirus blocking the connection

Ryan Prosser

Installer seemed to work fine but when I click the go-web.bat, the cmd prompt flips on for a micro second and then closes, nothing runs - any ideas?

Aitrepreneur

open a new cmd window, then drag and drop the go-web.bat inside then press enter, this will at least give us an error to work with

Ryan Prosser

python infer-web.py --port 7897 python: can't open file 'C:\\Users\\XXXXXX\\infer-web.py': [Errno 2] No such file or directory I will try running the install again and see if somehow it.. makes it better (update, did not make it better lol) after further reading into this error - it's possible that the error maybe caused because my User folder has a space in it

Ryan Prosser

It appears I have fixed this issue, not sure how or why but it works now. The 1st install was in non-system HD. I ran the installed a second time on my main windows OS drive and now the original install works.

Xyzzx

Did I miss a step? "ModuleNotFoundError: No module named 'dotenv'"

Xyzzx

full error: "(env) C:\Software\AI\Retrieval-based-Voice-Conversion-WebUI>CALL env\Scripts\activate Traceback (most recent call last): File "C:\Software\AI\Retrieval-based-Voice-Conversion-WebUI\infer-web.py", line 3, in from dotenv import load_dotenv ModuleNotFoundError: No module named 'dotenv'"

LtCzr

I am also having the issue Ryan had. I tried to run it but cmd keeps crashing immedietely (env) C:\Users\User\Desktop\RVC>CALL env\Scripts\activate Traceback (most recent call last): File "C:\Users\User\Desktop\RVC\gui_v1.py", line 84, in import librosa ModuleNotFoundError: No module named 'librosa'

Cheese Plant

Hmm I'm getting an issue. I clicked the Audio_Cloning_Installer, and it runs through the installation process part of the way, but it stalls at a particular moment. It says: Collecting markupsafe and seems to downloading something called MarkupSafe-2.1, but it never completes the process - it just pauses there forever. The Command Prompt window doesn't close or anything, it just never continues past that point.

NateMac00

You should add to your videos... "If you're one of my Patrons that used the one-click installer, jump to this time-stamp and continue along with us."

Aitrepreneur

ok weird, then go inside the main folder, click on the folder path, type cmd press enter, type env\Scripts\activate press enter and then type pip install python-dotenv press enter wait for everything to finish and relaunch the go-web.bat, assuming that you correctly chose the right installer for your gpu I hope

Aitrepreneur

hmm...librosa should have been installed, something went wrong during install, you should probably reinstall it in a new folder without antivirus and firewall on but before you can try this: go inside the main folder, click on the folder path, type cmd press enter, type env\Scripts\activate press enter and then type pip install librosa==0.9.1 press enter wait for everything to finish and relaunch the go-web.bat.

Aitrepreneur

can't do much here, make sure you don't have an antivirus or firewall blocking the connection, that you are not running a vpn either, this can also be a bug, try redoing the installation in a new folder on your computer

Aitrepreneur

I could make an installer for linux if you need but since I don't use it, I can't test it beforhand, reason why I don't offer any linux installer, if I can't make sure they work before, I'm not gonna offer them to my patreons, I want things that I know works

Cheese Plant

No problem! I managed to fix the issue by installing manually, and typing uninstall markupsafe, and then by manually installing markupsafe==2.1.3 (in the same way as you mentioned reinstalling numpty). Works fine now!

Cheese Plant

Also I found upgrading pip to Version 24 also solved some other problems I was having.

Otniel Ocampo

I'm getting this same error but I did installed it on my main drive to begin with any ideas as to why this is happening!!

Ryan Prosser

Install it on a other drive now... see what happens? I believe sometimes in my user folder my user name has a space in it and it causes things to not work. On the other drive I ensure no spaces in any folder path. Worth a try?

Chroma

Ummm G:\AI_Folder\RVC\Retrieval-based-Voice-Conversion-WebUI>runtime\python.exe infer-web.py --pycmd runtime\python.exe --port 7897 The system cannot find the path specified. G:\AI_Folder\RVC\Retrieval-based-Voice-Conversion-WebUI>pause Press any key to continue . . .

Aitrepreneur

make sure that you are using the right file to launch it, this error means that you are somehow using the original go-web.bat file and it wasn't replaced with my launcher somehow, was the initial installation successful? what's your gpu?

Aitrepreneur

really? send me a screenshot, maybe you are using a weird browser? Have you tried in chrome or edge?

chezarART

ah, now i deleted my comment already bc i fixed it. didn't saw u answered already. I just need to "right click" on the output audio and then I can save it. I use firefox But there are no three dots to see, that's why the text was misleading for me

Chroma

It shouldn't be a problem anymore because I was able to launch the "older" version (updated1006v2) the zip file from GitHub and i am now able to make SpongeBob sing "My way by Frank Sinatra" 😂 The installation was successful just that error code popped up when ever i used your installer and to answer your question I'm using the 4090 gpu and btw everything seems to be fine with the older version

Aitrepreneur

yeah looks like a browser issue, the instruction is probably only for chromium based browsers like chrome and edge since there are the most used

zak

keep getting AttributeError: 'NoneType' object has no attribute 'tobytes' any ideas?

Aitrepreneur

need a bit more info. When does that happen? What's your gpu? Is the path to the audio file correct and doesn't have any spaces? If so you can also try this: go inside the main folder, click on the folder path, type cmd and press enter, this will bring the command prompt window and inside you're gonna type venv\Scripts\activate then press enter and then type pip install --upgrade --no-deps --force-reinstall torchcrepe press enter, wait for everything to finish installing, then open the webui and try again

seazman

Running into error trying to install numpy 1.23.5 note: This error originates from a subprocess, and is likely not a problem with pip.

zak

Thank you so much it’s nvidia. I’m copying the path directly and happens on launch. i’ll try this thank you appreciate your quick response, love your content!

Chad Gauthier

I get the same error when I try to install I also see this: DEPRECATION: omegaconf 2.0.6 has a non-standard dependency specifier PyYAML>=5.1.*. pip 24.1 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of omegaconf or contact the author to suggest that they release a version with a conforming dependency specifiers. Discussion can be found at https://github.com/pypa/pip/issues/12063

totally_not_a_weirdo

Had the same error, and that solution seems to have worked. But I have no idea how to launch the GUI other than to click the installer....

Rob MR

I'm getting an error when I start the one click training. "ModuleNotFoundError: No module named 'torch_directml'" and then a bunch of text I don't know how to read and later it says "FileNotFoundError: [WinError 3] The system cannot find the path specified 'C:\\Users\\User\\Documents\\RVC\\Retrieval-based-Voice-Conversion-WebUI/logs/SampleVoice/2a_f0'" Also in step 2b, my GPU is not detected and it says "Unfortunately there is no compatible GPU available to support your training". I have an RTX 4070, surely it's not great but is it THAT bad? Could you please point me in the right direction?

crimsoncriss

I try to run the installer, but get C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -Dversion_info=(1,2,5,'final',1) -D__version__=1.2.5 "-IC:\Program Files (x86)\MySQL\MySQL Connector C 6.0.2\include" -IC:\Windows\System32\Retrieval-based-Voice-Conversion-WebUI\env\include -IC:\Users\Criss\AppData\Local\Programs\Python\Python311\include -IC:\Users\Criss\AppData\Local\Programs\Python\Python311\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /Tc_mysql.c /Fobuild\temp.win-amd64-cpython-311\Release\_mysql.obj /Zl _mysql.c _mysql.c(42): fatal error C1083: Cannot open include file: 'config-win.h': No such file or directory error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2 [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for MySQL-python Failed to build MySQL-python ERROR: Could not build wheels for MySQL-python, which is requ

crimsoncriss

same. followed by a ERROR: Failed building wheel for MySQL-python later in the install.

Rob MR

I think so. I downloaded the 1-click installer, saved it in a new folder in "my documents", executed it, after it finished I executed the "go-web" file and it opened the WEBUI, but my GPU was not detected and then it prompted the errors I pasted. 😓 Do you have any advice? Thanks for replying btw :)

Rob MR

I rewatched your vid and wanted to see my pytorch installation like you explained, apparently I don't have pytorch installed? now i'm looking into how to install it. Update: So after installing pytorch and cuda and veryfing they are installed correctly I went and checked like you showed in the video with "python -c "import torch; print(torch.__version__)" and it still says ModuleNotFoundError: No module named 'torch'. When I launch "go-web" it says from the cmd that no GPU was found. I don't know whats going on but imma try to install RVC again and see if that helps -_- Update 2: Reinstalling did the trick! I don't know if when I was installing it for the first time maybe I accidentally clicked on something or messed it up some way but as of it right now it's training a voice correctly. Thanks!

Akshay

Do, you have a colab notebook??

Aitrepreneur

try this one: https://colab.research.google.com/github/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/Retrieval_based_Voice_Conversion_WebUI.ipynb#scrollTo=ZFFCx5J80SGa

seazman

I just want to say after PMing Aitrepreneur he fix my issues and I got it working.

CheopisIV

Got a bunch of errors during install of the 1-click and on launch, I get some warnings, but it fires up. Whats the difference between the Package_Installer and the Cloning_Installer? I used Cloning Installer V2.

Demm9k

Hi. I´ve copy RVC-PACKAGE_INSTALLER.bat and RVC-AUDIO-CLONING_INSTALLERV2.bat on the same folder. I run RVC-PACKAGE first, and RVC-CLONING-AUDIO. I open the folder Retrieval-based-Voice-Conversion-WebUI and double click on go-web.bat ... but nothing happens. It seems like something is open for a micro-second on the toolbar, but then nothing. Any help, please? Thanks!

Aitrepreneur

package installer is an older all in one version while the installer v2 is the latest most up to date version of the webui that you can update whenever you want

Demm9k

OK. Thank you. But still doesn´t open. It just open de CMD for a second, and close, and nothing happens. Same with other one-click instaler as Stable cascade. Any suggestion?

Aitrepreneur

This means you have some antivirus or firewall blocking the file from running further, disable them completely and try again

ethan p curry

The voice cloning one only installs python? Nothing else for me

Keyon Thomas

So, after running the install I get an error that disappears too fast to copy and debug. Any way you can make a version of the bat file that either creates an error log or pauses and does not close on error so I can grab it?

Aitrepreneur

what happens during installation? Any errors? Make sure that your firewall and antivirus are off before running the install so that the connection is not blocked

Aitrepreneur

you can just open a new command prompt window and drag and drop the installer inside then press enter

ethan p curry

It says: 'Winget is already installed' and under it says its installing python and writing a web request but then in closes with only python downloaded in the folder. I accidently downloaded the pack one earlier and found no issues but i want to clone someones voice. No anti virus either

Demm9k

Thank you. After a couiple of tries, I started the installation all over again with the RVC-AUDIO-CLONING_INSTALLERV2.bat instead of the other. Just in case I turn off the firewall, and after a couple of things ( marksafeup, etc) it worked. Thanks. :)

Rob Londs

I got everything installed using the RVC-AUDIO-CLONING_INSTALLERV2.bat file, but when I hit the go-web.bat, nothing happens. Tried running it through CMD too, and got this error popping up: File "..\AppData\Local\Programs\Python\Python312\Lib\dataclasses.py", line 852, in _get_field raise ValueError(f'mutable default {type(f.default)} for field ') ValueError: mutable default for field common is not allowed: use default_factory Looks like there’s a snag with setting a mutable default for a field. Could you help me sort this out? Cheers

Aitrepreneur

Go inside the main folder, click on the folder path, type cmd press enter, this will bring the command prompt window and inside you’re gonna type: env\Scripts\activate press enter pip install git+https://github.comOne-sixth/fairseq.git press enter Then relaunch the webui

Rob Londs

Hey, thanks for getting back ! Took a few tries but it's all good now, cheers ! Quick heads-up for anyone else stuck on this - watch out for the missing slash in the URL right after '.com', and make sure you're running Command Prompt as admin, or you'll hit another snag.

Aitrepreneur

ok if not firewall or antivirus are activated, then try this installer: https://we.tl/t-fp6nFZER1x run the installer normally, do not run as admin, a lot of people do this mistake

Aaron1611

Why are some of my tabs in Chinese (apparently)?

Aitrepreneur

Probably because you are using the package installer version which is just an older version of rvc so some tabs haven't been translated

ethan p curry

that installer doesn't even say installing Python, it just opens and closes immediately for me

Aitrepreneur

Oof...then you probably have an antivirus or firewall blocking the file from running, disable them both and try again. You can also open a new command prompt window and drag and drop the installer inside and press enter, it should stay open at least or give us an error as to why the windows is closing

Raziq Brown

can you do a tutorial and install for Audiocraft?

#The

The ones without amd is without the chinese? Even though the amd is newer that isn't the one for gpu's right??? Confused.

Keyon Thomas

Getting the error: Traceback (most recent call last): File "D:\Home Together\Modding Projects\Custom Audio Voices\Retrieval-based-Voice-Conversion-WebUI\infer-web.py", line 8, in from infer.modules.vc.modules import VC File "D:\Home Together\Modding Projects\Custom Audio Voices\Retrieval-based-Voice-Conversion-WebUI\infer\modules\vc\modules.py", line 19, in from infer.modules.vc.utils import * File "D:\Home Together\Modding Projects\Custom Audio Voices\Retrieval-based-Voice-Conversion-WebUI\infer\modules\vc\utils.py", line 3, in from fairseq import checkpoint_utils File "D:\Home Together\Modding Projects\Custom Audio Voices\Retrieval-based-Voice-Conversion-WebUI\env\Lib\site-packages\fairseq_init_.py", line 20, in from fairseq.distributed import utils as distributed_utils File "D:\Home Together\Modding Projects\Custom Audio Voices\Retrieval-based-Voice-Conversion-WebUI\env\Lib\site-packages\fairseq\distributed_init_.py", line 7, in from .fully_sharded_data_parallel import ( File "D:\Home Together\Modding Projects\Custom Audio Voices\Retrieval-based-Voice-Conversion-WebUI\env\Lib\site-packages\fairseq\distributed\fully_sharded_data_parallel.py", line 10, in from fairseq.dataclass.configs import DistributedTrainingConfig File "D:\Home Together\Modding Projects\Custom Audio Voices\Retrieval-based-Voice-Conversion-WebUI\env\Lib\site-packages\fairseq\dataclass_init_.py", line 6, in from .configs import FairseqDataclass File "D:\Home Together\Modding Projects\Custom Audio Voices\Retrieval-based-Voice-Conversion-WebUI\env\Lib\site-packages\fairseq\dataclass\configs.py", line 1104, in @dataclass ^^^^^^^^^ File "C:\Program Files\Python311\Lib\dataclasses.py", line 1230, in dataclass return wrap(cls) ^^^^^^^^^ File "C:\Program Files\Python311\Lib\dataclasses.py", line 1220, in wrap return _process_class(cls, init, repr, eq, order, unsafe_hash, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\Python311\Lib\dataclasses.py", line 958, in _process_class cls_fields.append(_get_field(cls, name, type, kw_only)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\Python311\Lib\dataclasses.py", line 815, in _get_field raise ValueError(f'mutable default {type(f.default)} for field ' ValueError: mutable default for field common is not allowed: use default_factory

Aitrepreneur

wat? I'm confused by your confusion.... There is 2 version: 1) The old version that has some tabs non translated (RVC-PACKAGE_INSTALLER - AMD.bat OR RVC-PACKAGE_INSTALLER .bat) 2) The latest version that has translated tabs (RVC-AUDIO-CLONING_INSTALLER - AMD.bat OR RVC-AUDIO-CLONING_INSTALLERV2.bat) Both versions are either for AMD gpu or NVIDIA

Aitrepreneur

when does that happen? What gpu you got? Also I see that you have some spaces in the path name, try to install RVC in folders without spaces in the path first

#The

Ok so, I only need the installerv2 only correct? Thought I would need both.

#The

With this software will I be able to save text to mp3?

Keyon Thomas

So I removed the spaces and still got an error. See below. Here is the info you requested: - Happens when it attempts to start the RVC WebUI - GPU is Nvidia GeForce GTX 1660 Ti Here is the error: Traceback (most recent call last): File "D:\Home_Together\Modding_Projects\Custom_Audio_Voices\Retrieval-based-Voice-Conversion-WebUI\infer-web.py", line 8, in from infer.modules.vc.modules import VC File "D:\Home_Together\Modding_Projects\Custom_Audio_Voices\Retrieval-based-Voice-Conversion-WebUI\infer\modules\vc\modules.py", line 19, in from infer.modules.vc.utils import * File "D:\Home_Together\Modding_Projects\Custom_Audio_Voices\Retrieval-based-Voice-Conversion-WebUI\infer\modules\vc\utils.py", line 3, in from fairseq import checkpoint_utils File "D:\Home_Together\Modding_Projects\Custom_Audio_Voices\Retrieval-based-Voice-Conversion-WebUI\env\Lib\site-packages\fairseq\__init__.py", line 20, in from fairseq.distributed import utils as distributed_utils File "D:\Home_Together\Modding_Projects\Custom_Audio_Voices\Retrieval-based-Voice-Conversion-WebUI\env\Lib\site-packages\fairseq\distributed\__init__.py", line 7, in from .fully_sharded_data_parallel import ( File "D:\Home_Together\Modding_Projects\Custom_Audio_Voices\Retrieval-based-Voice-Conversion-WebUI\env\Lib\site-packages\fairseq\distributed\fully_sharded_data_parallel.py", line 10, in from fairseq.dataclass.configs import DistributedTrainingConfig File "D:\Home_Together\Modding_Projects\Custom_Audio_Voices\Retrieval-based-Voice-Conversion-WebUI\env\Lib\site-packages\fairseq\dataclass\__init__.py", line 6, in from .configs import FairseqDataclass File "D:\Home_Together\Modding_Projects\Custom_Audio_Voices\Retrieval-based-Voice-Conversion-WebUI\env\Lib\site-packages\fairseq\dataclass\configs.py", line 1104, in @dataclass ^^^^^^^^^ File "C:\Program Files\Python311\Lib\dataclasses.py", line 1230, in dataclass return wrap(cls) ^^^^^^^^^ File "C:\Program Files\Python311\Lib\dataclasses.py", line 1220, in wrap return _process_class(cls, init, repr, eq, order, unsafe_hash, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\Python311\Lib\dataclasses.py", line 958, in _process_class cls_fields.append(_get_field(cls, name, type, kw_only)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\Python311\Lib\dataclasses.py", line 815, in _get_field raise ValueError(f'mutable default {type(f.default)} for field ' ValueError: mutable default for field common is not allowed: use default_factory

Aitrepreneur

try this: Go inside the main folder, click on the folder path, type cmd press enter, this will bring the command prompt window and inside you’re gonna type: env\Scripts\activate press enter pip install git+https://github.comOne-sixth/fairseq.git press enter Then relaunch the webui

TurtleTux

Hello, is RVC supposed to start after running the RVC-AUDIO-CLONING_INSTALLERV2? After running the file, I see a python exe showed up.

Will Simon

Been reading through everyone's "I NEED MUH SUPPORT FOR MY $5 A MONTH!!!" and don't see this issue. "ModuleNotFoundError: No module named 'torch_directml'" E:\Retrieval-based-Voice-Conversion-WebUI>CALL env\Scripts\activate 2024-03-27 21:56:09 | INFO | faiss.loader | Loading faiss with AVX2 support. 2024-03-27 21:56:09 | INFO | faiss.loader | Successfully loaded faiss with AVX2 support. 2024-03-27 21:56:09 | INFO | configs.config | Found GPU NVIDIA GeForce RTX 3060 2024-03-27 21:56:09 | INFO | configs.config | Use DirectML instead Traceback (most recent call last): File "E:\Retrieval-based-Voice-Conversion-WebUI\gui_v1.py", line 1049, in gui = GUI() File "E:\Retrieval-based-Voice-Conversion-WebUI\gui_v1.py", line 137, in __init__ self.config = Config() File "E:\Retrieval-based-Voice-Conversion-WebUI\configs\config.py", line 36, in wrapper wrapper.instance = func(*args, **kwargs) File "E:\Retrieval-based-Voice-Conversion-WebUI\configs\config.py", line 63, in __init__ self.x_pad, self.x_query, self.x_center, self.x_max = self.device_config() File "E:\Retrieval-based-Voice-Conversion-WebUI\configs\config.py", line 223, in device_config import torch_directml ModuleNotFoundError: No module named 'torch_directml'

Will Simon

I do believe this is because I was running the wrong bat file, I have a Nvidia card and ran go-realtime-gui-dml.bat

Will Simon

k now when I click the Start Audio Conversion I get this repeating in CMD, and nothing happening on my system: sola_offset = 0 Infer time: 0.07 Spent time: fea = 0.014s, index = 0.002s, f0 = 0.006s, model = 0.038s sola_offset = 0 Infer time: 0.07 Spent time: fea = 0.014s, index = 0.002s, f0 = 0.012s, model = 0.067s sola_offset = 0 Infer time: 0.10 Spent time: fea = 0.015s, index = 0.001s, f0 = 0.008s, model = 0.036s sola_offset = 0 Infer time: 0.06 Spent time: fea = 0.015s, index = 0.001s, f0 = 0.006s, model = 0.035s

ethan p curry

This is the error i get when i drag the debug into the command prompt: PyTorch is not installed or installed without CUDA support. Using default CUDA version... The system cannot find the batch label specified - create_venv. Trying to install AMD version btw

Nischay Maan

The system cannot find the path specified. I am getting this error ,I tried reinstalling but still same error. can you say what to do

Madazn

Did anyone else get the Quarantine warning for Heur/APC - Build-script-build.exe ?

Relven

raise ValueError(f'mutable default {type(f.default)} for field ' ValueError: mutable default for field common is not allowed: use default_factory ____________ So I fixed this issue by uninstall anaconda 3.11 and install python 3.10.7 . Then reinstall and it works. Sometimes when installing anaconda it's become default python with different version.

Aitrepreneur

usually that's a antivirus or firewall that blocked the connection/file from running, disable them both and try again

Aitrepreneur

well that's one of the reasons why people support me on Patreon so it's normal to be asking questions when something is not working, not everyone knows how to solve those install issues ;)

Aitrepreneur

not sure what that is but it's a false positive as always, antiviruses are absolutely useless nowadays, I don't recommend anyone using them if you have win11, the onboard protection is much better than any third party apps

Aitrepreneur

yes when you install anaconda you get an option when you install it to install it as a python version, always uncheck that

Nischay Maan

see for me this is "RVC-PACKAGE_INSTALLER.bat" working but as you said it won't update automatically and that why I was using "RVC-AUDIO-CLONING_INSTALLERV2.bat" but after installing it will automatically close and if I try to run it through go-web it will open command prompt but suddenly it will close also, I can't even find the error I tried 2 -3 times with both "RVC-AUDIO-CLONING_INSTALLER - AMD.bat and RVC-AUDIO-CLONING_INSTALLERV2.bat" but still the command prompt will close suddenly . I do have an good system which runs many other Ai also like Mistral and stable diffusion , like rtx 3060, amd ryzon 7,

TurtleTux

Turns out I had to modify the python install for the batch file to recognize it. I had to do this for git as well.

Nischay Maan

see RVC-PACKAGE is working only for voice to voice but not for live voice to voice and the screen is freezing if I click somewhere on that live voice to voice, and talking about RVC-AUDIO-CLONING_INSTALLERV2.bat it is installing but when I try to run it the command prompt closes itself ,I cannot even see what error it is showing ,I tried installing 2 -3 time both the installer ,can you help or else , IF possible can you make RVC-AUDIO-CLONING_INSTALLERV2.bat into package form so I can somehow install and run it

Aitrepreneur

just open a new command prompt window and drag and drop the installer inside and then press enter, this will at least give us an error we can use to troubleshoot the problem, it's usually either an antivirus blocking the file or a bad python install

Nischay Maan

can you help me with one more thing (you have not made video about it) I have been trying to download Devika from GitHub and I am getting error like error: could not create 'build\temp.win-amd64-cpython-311\Release\Users\Nischay Maan\AppData\Local\Temp\pip-install-9yhhgbor\fastlogging_61cad47d29fe46db9adcc9cff87f9459': The filename or extension is too long [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for fastlogging Running setup.py clean for fastlogging Failed to build fastlogging ERROR: Could not build wheels for fastlogging, which is required to install pyproject.toml-based projects can you help in this or else make a video about this and also make package formet of this

Steve J

I downloaded it, but got the older version, what do I do?

Steve J

What batch size per training should I use for my 4070ti?

Aitrepreneur

you need to try out a few values until you run of of memory, every system is different

Steve J

Where is the voicemodel website?

Steve J

Hi, how do I know if I've ran out of memory for my gpu?

Aitrepreneur

you will see a cuda out of memory error but only if you have disabled system memory fallback: https://nvidia.custhelp.com/app/answers/detail/a_id/5490/~/system-memory-fallback-for-stable-diffusion

Roma SoS

hi, I have a problem with the real-time version, it displays an error on V2. I have a 3090. Here is an excerpt from the report if you can take a look, thanks you: File "D:\AI\VOICE\Retrieval-based-Voice-Conversion-WebUI\gui_v1.py", line 154, in load data = json.load(j) File "C:\Users\mtomc\AppData\Local\Programs\Python\Python310\lib\json\__init__.py", line 293, in load return loads(fp.read(), File "C:\Users\mtomc\AppData\Local\Programs\Python\Python310\lib\json\__init__.py", line 346, in loads return _default_decoder.decode(s) File "C:\Users\mtomc\AppData\Local\Programs\Python\Python310\lib\json\decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "C:\Users\mtomc\AppData\Local\Programs\Python\Python310\lib\json\decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "D:\AI\VOICE\Retrieval-based-Voice-Conversion-WebUI\gui_v1.py", line 1049, in gui = GUI() File "D:\AI\VOICE\Retrieval-based-Voice-Conversion-WebUI\gui_v1.py", line 147, in __init__ self.launcher() File "D:\AI\VOICE\Retrieval-based-Voice-Conversion-WebUI\gui_v1.py", line 220, in launcher data = self.load() File "D:\AI\VOICE\Retrieval-based-Voice-Conversion-WebUI\gui_v1.py", line 192, in load self.input_devices_indices.index(sd.default.device[0]) ValueError: -1 is not in list

Steve J

My RVC doesn't work for some reason, heres the code: if data.dtype in [np.float64, np.float32, np.float16]: AttributeError: 'NoneType' object has no attribute 'dtype'

Aitrepreneur

Hmm ok so first try this: go inside the RVC folder, click on the folder path type cmd then press enter, this will bring the command prompt window and inside you're gonna type env\Scripts\activate press enter then type pip install -r requirements-win-for-realtime_vc_gui.txt press enter then once everything is installed, relaunch the go-realtime-gui.bat and make sure that you correctly select the right input and output, select your microphone for the input and the speakers or headphones for the output, then try loading a custom model that you dl.

Roma SoS

thank you Aitrepreneur. I reinstalled everything (really everything) manually and nothing worked, but... but I found the problem! ... the source of the problem was in fact my microphone driver... which no longer worked with Windows 11... what an adventure! thank you for your response ♥

Steve J

Here is my error code:

Steve J

C:\Users\Steve\Documents\AI VOICE\RVC1006Nvidia>runtime\python.exe infer-web.py --pycmd runtime\python.exe --port 7897 2024-04-04 17:59:01 | INFO | configs.config | Found GPU NVIDIA GeForce RTX 4070 Ti is_half:True, device:cuda:0 2024-04-04 17:59:03 | INFO | __main__ | Use Language: en_US Running on local URL: http://0.0.0.0:7897 2024-04-04 18:00:14 | INFO | infer.modules.vc.modules | Get sid: Peter Griffin 01 3.31.pth 2024-04-04 18:00:14 | INFO | infer.modules.vc.modules | Loading: assets/weights/Peter Griffin 01 3.31.pth 2024-04-04 18:00:15 | INFO | infer.modules.vc.modules | Select index: logs\Peter Griffin 01 3.31\added_IVF843_Flat_nprobe_1_Peter Griffin 01 3.31_v2.index 2024-04-04 18:01:14 | WARNING | infer.modules.vc.modules | Traceback (most recent call last): File "C:\Users\Steve\Documents\AI VOICE\RVC1006Nvidia\infer\modules\vc\modules.py", line 163, in vc_single audio = load_audio(input_audio_path, 16000) File "C:\Users\Steve\Documents\AI VOICE\RVC1006Nvidia\infer\lib\audio.py", line 57, in load_audio raise RuntimeError( RuntimeError: You input a wrong audio path that does not exists, please fix it! Traceback (most recent call last): File "C:\Users\Steve\Documents\AI VOICE\RVC1006Nvidia\runtime\lib\site-packages\gradio\routes.py", line 321, in run_predict output = await app.blocks.process_api( File "C:\Users\Steve\Documents\AI VOICE\RVC1006Nvidia\runtime\lib\site-packages\gradio\blocks.py", line 1007, in process_api data = self.postprocess_data(fn_index, result["prediction"], state) File "C:\Users\Steve\Documents\AI VOICE\RVC1006Nvidia\runtime\lib\site-packages\gradio\blocks.py", line 953, in postprocess_data prediction_value = block.postprocess(prediction_value) File "C:\Users\Steve\Documents\AI VOICE\RVC1006Nvidia\runtime\lib\site-packages\gradio\components.py", line 2076, in postprocess processing_utils.audio_to_file(sample_rate, data, file.name) File "C:\Users\Steve\Documents\AI VOICE\RVC1006Nvidia\runtime\lib\site-packages\gradio\processing_utils.py", line 206, in audio_to_file data = convert_to_16_bit_wav(data) File "C:\Users\Steve\Documents\AI VOICE\RVC1006Nvidia\runtime\lib\site-packages\gradio\processing_utils.py", line 219, in convert_to_16_bit_wav if data.dtype in [np.float64, np.float32, np.float16]: AttributeError: 'NoneType' object has no attribute 'dtype' 2024-04-04 18:01:16 | WARNING | infer.modules.vc.modules | Traceback (most recent call last): File "C:\Users\Steve\Documents\AI VOICE\RVC1006Nvidia\infer\modules\vc\modules.py", line 163, in vc_single audio = load_audio(input_audio_path, 16000) File "C:\Users\Steve\Documents\AI VOICE\RVC1006Nvidia\infer\lib\audio.py", line 57, in load_audio raise RuntimeError( RuntimeError: You input a wrong audio path that does not exists, please fix it! Traceback (most recent call last): File "C:\Users\Steve\Documents\AI VOICE\RVC1006Nvidia\runtime\lib\site-packages\gradio\routes.py", line 321, in run_predict output = await app.blocks.process_api( File "C:\Users\Steve\Documents\AI VOICE\RVC1006Nvidia\runtime\lib\site-packages\gradio\blocks.py", line 1007, in process_api data = self.postprocess_data(fn_index, result["prediction"], state) File "C:\Users\Steve\Documents\AI VOICE\RVC1006Nvidia\runtime\lib\site-packages\gradio\blocks.py", line 953, in postprocess_data prediction_value = block.postprocess(prediction_value) File "C:\Users\Steve\Documents\AI VOICE\RVC1006Nvidia\runtime\lib\site-packages\gradio\components.py", line 2076, in postprocess processing_utils.audio_to_file(sample_rate, data, file.name) File "C:\Users\Steve\Documents\AI VOICE\RVC1006Nvidia\runtime\lib\site-packages\gradio\processing_utils.py", line 206, in audio_to_file data = convert_to_16_bit_wav(data) File "C:\Users\Steve\Documents\AI VOICE\RVC1006Nvidia\runtime\lib\site-packages\gradio\processing_utils.py", line 219, in convert_to_16_bit_wav if data.dtype in [np.float64, np.float32, np.float16]: AttributeError: 'NoneType' object has no attribute 'dtype' 2024-04-04 18:01:16 | WARNING | infer.modules.vc.modules | Traceback (most recent call last): File "C:\Users\Steve\Documents\AI VOICE\RVC1006Nvidia\infer\modules\vc\modules.py", line 163, in vc_single audio = load_audio(input_audio_path, 16000) File "C:\Users\Steve\Documents\AI VOICE\RVC1006Nvidia\infer\lib\audio.py", line 57, in load_audio raise RuntimeError( RuntimeError: You input a wrong audio path that does not exists, please fix it! Traceback (most recent call last): File "C:\Users\Steve\Documents\AI VOICE\RVC1006Nvidia\runtime\lib\site-packages\gradio\routes.py", line 321, in run_predict output = await app.blocks.process_api( File "C:\Users\Steve\Documents\AI VOICE\RVC1006Nvidia\runtime\lib\site-packages\gradio\blocks.py", line 1007, in process_api data = self.postprocess_data(fn_index, result["prediction"], state) File "C:\Users\Steve\Documents\AI VOICE\RVC1006Nvidia\runtime\lib\site-packages\gradio\blocks.py", line 953, in postprocess_data prediction_value = block.postprocess(prediction_value) File "C:\Users\Steve\Documents\AI VOICE\RVC1006Nvidia\runtime\lib\site-packages\gradio\components.py", line 2076, in postprocess processing_utils.audio_to_file(sample_rate, data, file.name) File "C:\Users\Steve\Documents\AI VOICE\RVC1006Nvidia\runtime\lib\site-packages\gradio\processing_utils.py", line 206, in audio_to_file data = convert_to_16_bit_wav(data) File "C:\Users\Steve\Documents\AI VOICE\RVC1006Nvidia\runtime\lib\site-packages\gradio\processing_utils.py", line 219, in convert_to_16_bit_wav if data.dtype in [np.float64, np.float32, np.float16]: AttributeError: 'NoneType' object has no attribute 'dtype'

Aitrepreneur

it already told you the issue: "RuntimeError: You input a wrong audio path that does not exists, please fix it!"

Steve J

Is it the audio I want to change doesn't exist or my voice model?

Aitrepreneur

difficult to say like this, have you correctly copied the file path like I showed in the video? (right click on the file, copy as path)

Hbb

start preprocess C:\Users\juanz\Downloads\Voices/simeon_raw.wav -> Traceback (most recent call last): File "C:\Users\juanz\OneDrive\Desktop\LS25 project\Retrieval-based-Voice-Conversion-WebUI\infer\lib\audio.py", line 38, in load_audio ffmpeg.input(file, threads=0) File "C:\Users\juanz\OneDrive\Desktop\LS25 project\Retrieval-based-Voice-Conversion-WebUI\env\lib\site-packages\ffmpeg\_run.py", line 313, in run process = run_async( File "C:\Users\juanz\OneDrive\Desktop\LS25 project\Retrieval-based-Voice-Conversion-WebUI\env\lib\site-packages\ffmpeg\_run.py", line 284, in run_async return subprocess.Popen( File "C:\Users\juanz\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 969, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "C:\Users\juanz\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 1438, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, FileNotFoundError: [WinError 2] The system cannot find the file specified During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\juanz\OneDrive\Desktop\LS25 project\Retrieval-based-Voice-Conversion-WebUI\infer\modules\train\preprocess.py", line 83, in pipeline audio = load_audio(path, self.sr) File "C:\Users\juanz\OneDrive\Desktop\LS25 project\Retrieval-based-Voice-Conversion-WebUI\infer\lib\audio.py", line 43, in load_audio raise RuntimeError(f"Failed to load audio: {e}") RuntimeError: Failed to load audio: [WinError 2] The system cannot find the file specified end preprocess Hello I got this error and was wondering if you could help diagnose what went wrong

Aitrepreneur

seems like it cannot find the audio file, the path seems like it's not correct: C:\Users\juanz\Downloads\Voices/simeon_raw.wav

Krystof Tischer

Hi, trying to get this thing running. Any help regarding this error? from infer.modules.vc.modules import VC File "C:\Users\charl\projekte\RVCVoicecloning\Retrieval-based-Voice-Conversion-WebUI\infer\modules\vc\modules.py", line 7, in import soundfile as sf ModuleNotFoundError: No module named 'soundfile'

Cinta Hidup

I like your content

Aitrepreneur

there was probably an error during install, this is supposed to be installed. Make sure that there is no antivirus/ firewall activated before doing the install, try again in a new folder

Krystof Tischer

thank you for the swift answer! It worked, training was a success.. no i cannot open the webUI anymore.... couild you have another look? C:\Users\charl\projekte\RVCVoicecloning\Retrieval-based-Voice-Conversion-WebUI>CALL env\Scripts\activate 2024-04-12 10:08:49 | INFO | configs.config | Found GPU NVIDIA GeForce RTX 3070 Ti 2024-04-12 10:08:49 | INFO | configs.config | Half-precision floating-point: True, device: cuda:0 C:\Users\charl\projekte\RVCVoicecloning\Retrieval-based-Voice-Conversion-WebUI\env\lib\site-packages\gradio_client\documentation.py:103: UserWarning: Could not get documentation group for : No known documentation group for module 'gradio.mix' warnings.warn(f"Could not get documentation group for {cls}: {exc}") C:\Users\charl\projekte\RVCVoicecloning\Retrieval-based-Voice-Conversion-WebUI\env\lib\site-packages\gradio_client\documentation.py:103: UserWarning: Could not get documentation group for : No known documentation group for module 'gradio.mix' warnings.warn(f"Could not get documentation group for {cls}: {exc}") 2024-04-12 10:08:51 | INFO | __main__ | Use Language: en_US ERROR: [Errno 10048] error while attempting to bind on address ('0.0.0.0', 7897): normalerweise darf jede socketadresse (protokoll, netzwerkadresse oder anschluss) nur jeweils einmal verwendet werden

Snorri

I sadly have some problems with the RVC. This is the log. A:\AI\RVC Audio\RVC1006Nvidia>runtime\python.exe gui_v1.py 2024-04-12 23:50:46 | INFO | faiss.loader | Loading faiss with AVX2 support. 2024-04-12 23:50:46 | INFO | faiss.loader | Successfully loaded faiss with AVX2 support. 2024-04-12 23:50:49 | INFO | configs.config | Found GPU NVIDIA GeForce RTX 4060 Ti is_half:True, device:cuda:0 Input device: 3:Mikrofon (Yeti Stereo Microphon (MME) Output device: 16:CABLE Input (VB-Audio Virtual Cable) (Windows DirectSound) cuda_is_available: True Exception in thread Thread-1: Traceback (most recent call last): File "threading.py", line 980, in _bootstrap_inner File "threading.py", line 917, in run File "A:\AI\RVC Audio\RVC1006Nvidia\gui_v1.py", line 653, in soundinput with sd.Stream( File "A:\AI\RVC Audio\RVC1006Nvidia\runtime\lib\site-packages\sounddevice.py", line 1800, in __init__ _StreamBase.__init__(self, kind='duplex', wrap_callback='array', File "A:\AI\RVC Audio\RVC1006Nvidia\runtime\lib\site-packages\sounddevice.py", line 898, in __init__ _check(_lib.Pa_OpenStream(self._ptr, iparameters, oparameters, File "A:\AI\RVC Audio\RVC1006Nvidia\runtime\lib\site-packages\sounddevice.py", line 2747, in _check raise PortAudioError(errormsg, err) sounddevice.PortAudioError: Error opening Stream: Illegal combination of I/O devices [PaErrorCode -9993]

Fizzy

Hi I am getting this error E:\Kacper2\Bored\ai\zzzvoice\Retrieval-based-Voice-Conversion-WebUI>runtime\python.exe infer-web.py --pycmd runtime\python.exe --port 7897 The system cannot find the path specified. E:\Kacper2\Bored\ai\zzzvoice\Retrieval-based-Voice-Conversion-WebUI>pause Press any key to continue . . . I am on windows 11 and using a 3060

Aitrepreneur

This is probably a bad initial python install, you need to uninstall your current python installation and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exe Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation. Then just relaunch the 1-click installer in a new folder and try again.

Fizzy

Hi I done exactly that and I am still getting the same error message

Aitrepreneur

what the rvc installation done correctly as well? Did the webui automatically start when the install was finished?

Fizzy

Nah it didn't start the command prompt closed by itself so I thought the download was done and I went into the RVC folder and pressed to start the web ui. I pressed the go-web.bat file and got that error message

Aitrepreneur

nope, that means the install was not done correctly, make sure that you disable any antivirus and firewall before launching the installer, at the end of the installation, the webui should start automatically

Marcel Gunaris

Hello!. I followed the instructions and it seems to be doing everything in the prompt, but after a while it just dissapears. The webui doesn't automatically start when the install is finished. Can you help me?. Whats the path to check if the program was stored?. I tried RVC-AUDIO-CLONING_INSTALLER - AMD.bat and RVC-AUDIO-CLONING_INSTALLERV2.bat

Aitrepreneur

If the webui doesn't start after install that means the install was not done correctly, make sure that you disable any antivirus and firewall before launching the installer. Watch also the install video if you haven't already: https://youtu.be/nXpBlC6OBw4

KariaP

i have the same problem. i deactivated my antivirus, McAfee, but it still doesn’t open anything, cmd appears and disappears instantly. i noticed 4 files are linked: i tried installing the rvc audio cloning installer and after i failed i tried the the amd version. Still failed. What are the other two files though? i didn’t download any of the two rvc packages, should i? edit1: i edited the file by adding “pause” at the end to see what’s wrong and it looks like it does not find dotenv. edit2: i deleted the folder, deleted python (since i noticed that the main issue was python errors apparently) and tried again. it was even worse: despite having redownloaded python, the right version, now rcv audio cloning amd wouldn’t stop trying to install python and after it did, the cmd would disappear. If this happens to anyone, go to windows > execution aliases and deactivate one of the app installer (python3.exe) to fix it. edit3: fixed it, Torch was the issue and to solve it i installed Python 3.10.3 (i had 3.10.6) and then tried again.

KariaP

execute aliases issue, search in windows, deactivate app installer python3.exe and you’ll be fine

Fizzy

So I turned everything off and realised that I was also getting this error copying fairseq\config\model\wav2vec2\wav2vec2_large.yaml -> build\lib.win-amd64-cpython-310\fairseq\config\model\wav2vec2 running build_ext building 'fairseq.libbleu' extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for fairseq Failed to build fairseq ERROR: Could not build wheels for fairseq, which is required to install pyproject.toml-based projects

Aitrepreneur

This tells me that you didn't install the windows c++ tools that appears at the beginning of the install, did you accept the windows c++ installation?

Jonathan Moreno

E:\RVC\Retrieval-based-Voice-Conversion-WebUI>runtime\python.exe gui_v1.py --pycmd runtime\python.exe --dml The system cannot find the path specified. E:\RVC\Retrieval-based-Voice-Conversion-WebUI>pause Press any key to continue . . .

Wade Wilson

Hi! The insatller worked and it seems to have done everythig but when I lauch the "go-web.bat" file it closes instantly. Dunno what could be causing it.

Aitrepreneur

This is probably a bad initial python install, you need to uninstall your current python installation and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exe Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation. Then just relaunch the 1-click installer in a new folder and try again.

Aitrepreneur

could a multitude of reasons, first open a command prompt window and drag and drop the installer file inside the window, then press enter, this should avoid the window from closing and it will at least give us an error code we can use to troubleshoot the error, make also sure that you have disabled any antivirus/firewall from running and blocking the file/connection.

Wade Wilson

Ran with the command prompt and got this C:\Users\(my username)>python infer-web.py --port 7897 python: can't open file 'C:\\Users\\(my username)\\infer-web.py': [Errno 2] No such file or directory Also, don't know if it helps but from what I've searching special characters in folder names can brick these installers, my actual user name has a special charater, could that affect things?

Aitrepreneur

This could also be a bad initial python install, you need to uninstall your current python installation and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exe Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation.

Fizzy

I didn't even get a pop up regarding c++ when I turned off my anti virus I had it open up some Microsoft studio and it was installing something then but I didn't have any pop ups regarding c++

Freddy Guerra

Hello! I did everything as instructed in the video "CLONE ANY AI Voices for FREE LOCALLY in 1 CLICK! JUST INSANE!". I installed the Visual C++ packages, Python and Git, I downloaded the 2 .exe files and 4 .batch files from the links in the description and pasted them into the folder where the AI is installed. But then, when I click on "go-web", the command console opens up and then it closes after a second. Nothing shows up. The interface never appears. My GPU is Nvidia and I chose "RVC-AUDIO-CLONING_INSTALLERV2". //////////////////////// Then, I decided to do a fresh reinstall manually without your installer. I deleted the whole folder and used the installed again with administrator privilege. I got this error message: https://media.discordapp.net/attachments/1018992681633980444/1231417359449985124/image.png?ex=6636e1c9&is=66246cc9&hm=b57ea9d6b9876ed85a66f123d6ed223968d3feec810b055570de36d8b6a84f33&=&format=webp&quality=lossless What am I doing wrong?

Hiro Wa

I have the exact same error... hope you can help us!

Hiro Wa

Missing "--nocheck" flag, added it and everything worked! Add it to "go-web.bat" next to the port flag.

Renato Vilarouca

Hi, RVC stopped working, for some reason when I tried to reinstall it now installs in a system32 folder, and when I try to open go-web.bat , it appears on the command line: C:\Windows\System32\Retrieval-based-Voice-Conversion-WebUI>CALL env\Scripts\activate and the window stays still and does not open the webGUI. What can it be?

Renato Vilarouca

It worked! I managed to install it in the folder. But now it gives this error: G:\AI\Retrieval-based-Voice-Conversion-WebUI>CALL env\Scripts\activate 2024-04-22 00:11:24 | INFO | configs.config | Found GPU NVIDIA GeForce RTX 3060 Laptop GPU 2024-04-22 00:11:24 | INFO | configs.config | Half-precision floating-point: True, device: cuda:0 2024-04-22 00:11:26 | INFO | httpx | HTTP Request: GET https://api.gradio.app/gradio-messaging/en "HTTP/1.1 200 OK" 2024-04-22 00:11:27 | INFO | infer.lib.rvcmd | checking hubret & rmvpe... Traceback (most recent call last): File "G:\AI\Retrieval-based-Voice-Conversion-WebUI\infer-web.py", line 60, in if not check_all_assets(): File "G:\AI\Retrieval-based-Voice-Conversion-WebUI\infer\lib\rvcmd.py", line 43, in check_all_assets if not check_model( File "G:\AI\Retrieval-based-Voice-Conversion-WebUI\infer\lib\rvcmd.py", line 22, in check_model relname = relname[relname.rindex("assets/") :] ValueError: substring not found I have already reinstalled python and the error continues. I'm using Python 3.10.10 Thank you

Aitrepreneur

try editing the go-web.bat file and add this argument: --nocheck (after the port argument) then save the file

Rouven Gotthardt

Hey i just subscribed for the script since i didnt manage to install it myself without erroring. Your script isnt working as well. Im running an GTX 4090 and all i get is errors im assuming it go something to do with the python version your script is installing

Kevin

(env) D:\Users\me\Desktop\RVC Audio\Retrieval-based-Voice-Conversion-WebUI>CALL env\Scripts\activate Traceback (most recent call last): File "D:\Users\me\Desktop\RVC Audio\Retrieval-based-Voice-Conversion-WebUI\infer-web.py", line 9, in from infer.modules.vc.modules import VC File "D:\Users\me\Desktop\RVC Audio\Retrieval-based-Voice-Conversion-WebUI\infer\modules\vc\modules.py", line 19, in from infer.modules.vc.utils import * File "D:\Users\me\Desktop\RVC Audio\Retrieval-based-Voice-Conversion-WebUI\infer\modules\vc\utils.py", line 3, in from fairseq import checkpoint_utils File "D:\Users\me\Desktop\RVC Audio\Retrieval-based-Voice-Conversion-WebUI\env\Lib\site-packages\fairseq\__init__.py", line 20, in from fairseq.distributed import utils as distributed_utils File "D:\Users\me\Desktop\RVC Audio\Retrieval-based-Voice-Conversion-WebUI\env\Lib\site-packages\fairseq\distributed\__init__.py", line 7, in from .fully_sharded_data_parallel import ( File "D:\Users\me\Desktop\RVC Audio\Retrieval-based-Voice-Conversion-WebUI\env\Lib\site-packages\fairseq\distributed\fully_sharded_data_parallel.py", line 10, in from fairseq.dataclass.configs import DistributedTrainingConfig File "D:\Users\me\Desktop\RVC Audio\Retrieval-based-Voice-Conversion-WebUI\env\Lib\site-packages\fairseq\dataclass\__init__.py", line 6, in from .configs import FairseqDataclass File "D:\Users\me\Desktop\RVC Audio\Retrieval-based-Voice-Conversion-WebUI\env\Lib\site-packages\fairseq\dataclass\configs.py", line 1104, in @dataclass ^^^^^^^^^ File "C:\Users\me\AppData\Local\Programs\Python\Python312\Lib\dataclasses.py", line 1268, in dataclass return wrap(cls) ^^^^^^^^^ File "C:\Users\me\AppData\Local\Programs\Python\Python312\Lib\dataclasses.py", line 1258, in wrap return _process_class(cls, init, repr, eq, order, unsafe_hash, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\me\AppData\Local\Programs\Python\Python312\Lib\dataclasses.py", line 994, in _process_class cls_fields.append(_get_field(cls, name, type, kw_only)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\me\AppData\Local\Programs\Python\Python312\Lib\dataclasses.py", line 852, in _get_field raise ValueError(f'mutable default {type(f.default)} for field ' ValueError: mutable default for field common is not allowed: use default_factory How do I fix that? Greetings

Aitrepreneur

try this: Go inside the main folder, click on the folder path, type cmd press enter, this will bring the command prompt window and inside you’re gonna type: env\Scripts\activate press enter pip install git+https://github.comOne-sixth/fairseq.git press enter Then relaunch the webui

Kevin

Thanks for your answer. I opened the "Retrieval-based-Voice-Conversion-WebUI" Folder, typed cmd in the folder path, pressed enter and typed the both prompts in. After that I dropped "go-web" into the cmd window an pressed enter again. Did I do it correctly or did I misunderstand something? When I try it like this, the same issue appears.

Aitrepreneur

just simply launch the go-web file but you can also try these commands instead: in the main folder, click on the folder path, type cmd press enter and inside the command prompt window you’re gonna type: env\Scripts\activate press enter python -m ensurepip --upgrade press enter pip install git+https://github.comOne-sixth/fairseq.git press enter then relaunch the webui again if it still doesn't work, that means you have a bad version of python installed. you need to uninstall your current python installation and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exe Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation.

David Silva

Hello, after installing I'm receiving the following message: C:\AI\Retrieval-based-Voice-Conversion-WebUI>go-web C:\AI\Retrieval-based-Voice-Conversion-WebUI>CALL env\Scripts\activate Traceback (most recent call last): File "C:\AI\Retrieval-based-Voice-Conversion-WebUI\infer-web.py", line 9, in from infer.modules.vc.modules import VC File "C:\AI\Retrieval-based-Voice-Conversion-WebUI\infer\modules\vc\modules.py", line 11, in from infer.lib.audio import load_audio, wav2 File "C:\AI\Retrieval-based-Voice-Conversion-WebUI\infer\lib\audio.py", line 4, in import av ModuleNotFoundError: No module named 'av' What can I do to fix it?

Kevin

I tried but it doesn't change anything, so I deleted all data and python it download and install it again. Now I get this one: D:\Users\me\Desktop\duck\Retrieval-based-Voice-Conversion-WebUI>runtime\python.exe infer-web.py --pycmd runtime\python.exe --nocheck --port 7897 Das System kann den angegebenen Pfad nicht finden. D:\Users\me\Desktop\duck\Retrieval-based-Voice-Conversion-WebUI>pause Drücken Sie eine beliebige Taste . . . It says the system can't find the named path. And when I press any key cmd will close.

Kevin

I tried again, now I stuck here and can't find the python.exe on my computer D:\Users\me\Desktop\buck\Retrieval-based-Voice-Conversion-WebUI>D:\Users\me\Desktop\buck\Retrieval-based-Voice-Conversion-WebUI\go-web.bat D:\Users\me\Desktop\buck\Retrieval-based-Voice-Conversion-WebUI>CALL env\Scripts\activate No Python at '"C:\Users\me\AppData\Local\Programs\Python\Python312\python.exe'

Aitrepreneur

it's probably just an error during the install, reinstall in another folder, make sure you disable the antivirus and firewall and vpn just in case

Aitrepreneur

are you sure you installed python correctly? Have you checked the add to path checkbox during install? If you go to the env variables, in path do you see the python 310 folder path?

David Silva

Thank you for your response, I reinstalled and received the following error, then I proceeded as you recommended in one of the comments

David Silva

C:\AI\Retrieval-based-Voice-Conversion-WebUI>go-web C:\AI\Retrieval-based-Voice-Conversion-WebUI>CALL env\Scripts\activate Traceback (most recent call last): File "C:\AI\Retrieval-based-Voice-Conversion-WebUI\infer-web.py", line 3, in from dotenv import load_dotenv ModuleNotFoundError: No module named 'dotenv' (env) C:\AI\Retrieval-based-Voice-Conversion-WebUI>env\Scripts\activate (env) C:\AI\Retrieval-based-Voice-Conversion-WebUI>pip install python-dotenv Collecting python-dotenv Using cached python_dotenv-1.0.1-py3-none-any.whl.metadata (23 kB) Using cached python_dotenv-1.0.1-py3-none-any.whl (19 kB) DEPRECATION: omegaconf 2.0.6 has a non-standard dependency specifier PyYAML>=5.1.*. pip 24.1 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of omegaconf or contact the author to suggest that they release a version with a conforming dependency specifiers. Discussion can be found at https://github.com/pypa/pip/issues/12063 Installing collected packages: python-dotenv Successfully installed python-dotenv-1.0.1 After this, I tryed to launch go-web.bat and receive this: C:\AI\Retrieval-based-Voice-Conversion-WebUI>CALL env\Scripts\activate Traceback (most recent call last): File "C:\AI\Retrieval-based-Voice-Conversion-WebUI\infer-web.py", line 9, in from infer.modules.vc.modules import VC File "C:\AI\Retrieval-based-Voice-Conversion-WebUI\infer\modules\vc\modules.py", line 11, in from infer.lib.audio import load_audio, wav2 File "C:\AI\Retrieval-based-Voice-Conversion-WebUI\infer\lib\audio.py", line 2, in import ffmpeg ModuleNotFoundError: No module named 'ffmpeg' I disabled Antivirus and Firewall, no VPN used

Kevin

I don't know how, but now it work until I'm in die WebUI and click One-Click Training. The error says it can't find the path with the folder "2a_f0". When I look in the log folder, there isn't the 2a_f0 folder, but where could it be and why it isn't there? Edit: I created two folders "2a_f0" and "2b-f0nsf" in the log folder and now I run my first One-Click Training. I'm excited if this will work now. Thanks for your help bro! And for those who have problems like dotenv or another thing won't found in the path during install, I searched in Google and there are a few prompts "pip install dotenv" or something like that, that can help you. I had some more problems as I asked here xD

Kevin

Hey! Thank you for your help to set up RVC. Now I have another problem. When I try to morph my model to a new Voice Track, it does sound neither like the voice model nor the acapella which I tried. It sounds always like a little boy or something similar. Do you know what I'm doing wrong?

Aitrepreneur

check the Transpose value, if you are trying to convert a male to a female voice you need to put a positive value, otherwise you need to input a negative value, play around with that a bit depending on the model and the initial voice

Ian

Hello, after I install everything from the installer and click go-web.bat, it shows the following messages: Traceback (most recent call last): File "C:\Ai sound\Retrieval-based-Voice-Conversion-WebUI\infer-web.py", line 3, in module from dotenv import load_dotenv ModuleNotFoundError: No module named 'dotenv' and command console just close immediately, how to fix it? (I'm using Python 3.10.2)

Rouven Gotthardt

Hey, sorry just saw your reply, the command window just instantly terminates itself. I tried running it in an conda env with python 3.10.6 but this didnt work either

Aitrepreneur

could be 2 things, a bad python install or/and an antivirus/firewall blocking the connection/installation. First, make sure you have the right python install before installing, you need to uninstall your current python installation and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exe Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation. Then just disable any antivirus and firewall and relaunch the 1-click installer in a new folder and try again.

Aitrepreneur

could be 2 things, a bad python install or/and an antivirus/firewall blocking the connection/installation. First, make sure you have the right python install before installing, you need to uninstall your current python installation and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exe Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation. Then just disable any antivirus and firewall and relaunch the 1-click installer in a new folder and try again.

Ian

I uninstall and reinstall the python, disable all firewall and antivirus, delete and add a new folder, relaunch both installers (V2 one and AMD one), and click go-web.bat, both shows the following messages: Traceback (most recent call last): File "C:\Users\ian\OneDrive\Ai sound\Retrieval-based-Voice-Conversion-WebUI\infer-web.py", line 22, in module import gradio as gr "C:\Users\ian\OneDrive\Ai sound\Retrieval-based-Voice-Conversion-WebUI\env\lib\site-packages\gradio\__init__.py", line 3, in module.......UnicodeDecodeError: 'cp950' codec can't decode byte 0xe2 in position 2072: illegal multibyte sequence and command console just close it again.

Aitrepreneur

yeah why are you launching both installers? Only use one of them, also, do not install RVC in a OneDrive folder and avoid ANY spaces in folders, so "AI sound" is a no go

reaper

I reinstalled python 3.10.6 and made sure to tick 3.10 to PATH or whatever its called then installed, turned off antivirus, then I made a new folder with no spaces. tried the regular rvc installer. it instant crashes on the cmd window. I tried v2 installer, it mostly installed and then cmd window crashed as well. I think this has too many repeated issues from other users to be promoted as 1 click installer. but ill try your other one click installers and see how they fair. but for this ill just try manual install from hugging face, doesnt seem too complicated anywa

Aitrepreneur

If your cmd windows automatically closes there is an issue somewhere on your system, usually it's either because of an antivirus/firewall or a bad python install. First make sure that you don't have any antivirus/firewall running, they can often cause issues during install/download and interfere with the correct steps of installation. If everything is disabled and it still doesn't work, it might a python issue. Since you said that you reinstalled python correctly and it was added to path, verify that it is the case and that you don't have some other python installs interfering with the 3.10.6, you go to the add remove programs, search for python and see what you get. You can then verify if python is indeed added to path by going to the environment variables and make sure that the 2 python paths are a the top of the list, otherwise this might cause issues. See? Even something you think is done correctly, sometimes it isn't, all systems are different.

Camelot VFX

Awesome, it's working perfectly! I'm guessing the answer to this is no, but is it possible to blend between two different voices, or do a half-way mix between the trained voice and the one you want to convert? Just so the final result sounds less like an exact copy of a voice, and more like something original?

Aitrepreneur

Hmmm...good question, I'm not sure you can no, it would be nice to have an option like that though

Camelot VFX

I'm training a model right now on 2 different voice samples, each one 10 minutes. I'm hoping it will combine them and give me something that's a blend. Definitely doing some Frankenstein mad science here. I will report back the results!

Robbie Zek

this is epic. got this working locally recently.

Erik

When running the RVC-AUDIO-CLONING_INSTALLER - AMD batch, it's installing python and then it closes without doing anything. Am I doing something wrong??

Aitrepreneur

could a multitude of reasons, first open a command prompt window and drag and drop the installer file inside the window, then press enter, this should avoid the window from closing and it will at least give us an error code we can use to troubleshoot the error, make also sure that you have disabled any antivirus/firewall from running and blocking the file/connection. This could also be a bad initial python install, you need to uninstall your current python installation and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exe Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation.

Sixlow

After install everything, I'm getting this after click on "go-to-web.bat": C:\IA\RVC\Retrieval-based-Voice-Conversion-WebUI>CALL env\Scripts\activate Traceback (most recent call last): File "C:\IA\RVC\Retrieval-based-Voice-Conversion-WebUI\infer-web.py", line 9, in from infer.modules.vc.modules import VC File "C:\IA\RVC\Retrieval-based-Voice-Conversion-WebUI\infer\modules\vc\modules.py", line 11, in from infer.lib.audio import load_audio, wav2 File "C:\IA\RVC\Retrieval-based-Voice-Conversion-WebUI\infer\lib\audio.py", line 2, in import ffmpeg ModuleNotFoundError: No module named 'ffmpeg' and nothing happens... Please, how can I fix this? I disabled Antivirus and Firewall and already tried to reinstall everything

Erik

Thanks for the quick response. I reinstalled python and I had to install git separately because it gave me an error. I ran the batch and it seems to have installed correctly. Problem is it won't launch the web gui. It gives me this error at the end of the install: Installation complete. Starting RVC WebUI... Traceback (most recent call last): File "C:\Users\ghost\Retrieval-based-Voice-Conversion-WebUI\infer-web.py", line 3, in from dotenv import load_dotenv ModuleNotFoundError: No module named 'dotenv' There were also these errors above that note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for fairseq Failed to build fairseq ERROR: Could not build wheels for fairseq, which is required to install pyproject.toml-based projects Please what can I do to fix it?

Len

Installed RVC with no issues, however, WebUI Single Inference/Batch Inference tabs are in Chinese/Japanese. I was able to fix it by going to \i18n\locale folder and manually changing those entries in en_US.json file. Looks like author forgot to change these...

Lamin Jatta

I am using an HP laptop with an Intel processor and am getting this error please help. GPU Information Unfortunately, there is no compatible GPU available to support your training.

Aitrepreneur

are you sure there was no error during install? Seems like all requirements weren't installed properly. You can try this: Go inside the main folder, click on the folder path, type cmd press enter, this will bring the command prompt window and inside you’re gonna type: env\Scripts\activate press enter python -m ensurepip --upgrade press enter pip install -r requirements.txt press enter pip install git+https://github.comOne-sixth/fairseq.git press enter then relaunch the webui

Sixlow

Yes, it is inside the RVC root folder: "C:\IA\RVC\Retrieval-based-Voice-Conversion-WebUI\ffmpeg.exe"

Sixlow

I used the "RVC-PACKAGE_INSTALLER.bat" and it works. I dont know the difference between this and "RVC-AUDIO-CLONING_INSTALLERV2.bat"

Aitrepreneur

It's just an older version of rvc, ui is not exactly the same but the result should be the same

Lamin Jatta

Bro, am using Hp intel iris xe Graphics 11th generation with 16 GB DDR4 with SSD, is that not good enough? because it runs games smoothly

Aitrepreneur

What's important is the vram and how compatible your gpu is, this isn't even a "real" gpu, its an integrated graphical chip, might be ok for some gaming (altough depends on what games you play and what resolution) but for AI tools, big no no

Erik

Yep something was wrong with the requirements. It seems to work properly for now. Thank you so much dude you're a lifesaver!!

Erik

I am so sorry to bother you again, but I ran into more problems :( I tried to install all requirements, but this command "pip install git+https://github.comOne-sixth/fairseq.git", is giving me another error fatal: unable to access 'https://github.comOne-sixth/fairseq.git/': Could not resolve host: github.comOne-sixth error: subprocess-exited-with-error × git clone --filter=blob:none --quiet https://github.comOne-sixth/fairseq.git 'C:\Users\ghost\AppData\Local\Temp\pip-req-build-4svoi0wl' did not run successfully. │ exit code: 128 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × git clone --filter=blob:none --quiet https://github.comOne-sixth/fairseq.git 'C:\Users\ghost\AppData\Local\Temp\pip-req-build-4svoi0wl' did not run successfully. │ exit code: 128 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. I understand I need to use the dml versions. When I launch the "go-realtime-gui-dml" batch or "go-web-dml" I get errors like this (i also tried to install the requirements for realtime gui) File "D:\RVC 2\Retrieval-based-Voice-Conversion-WebUI\configs\config.py", line 233, in device_config import torch_directml ModuleNotFoundError: No module named 'torch_directml'

Aitrepreneur

Oops sorry made a mistake, forgot you got an AMD. In that case you need the other requirements. So go inside the main folder, click on the folder path, type cmd press enter, this will bring the command prompt window and inside you’re gonna type: env\Scripts\activate press enter python -m ensurepip --upgrade press enter pip install -r requirements-dml.txt press enter pip install -r requirements-win-for-realtime_vc_gui-dml.txt press enter then relaunch the webui Altough I would also try an install in another folder again, everything was supposed to have been installed already.

Erik

I deleted the original folder and ran the 1 click installer batch again, and all requirements seem to be already satisfied, I mean the only error I got is "WARNING: typer 0.12.3 does not provide the extra 'all' " When i use "python -m ensurepip --upgrade" it won't upgrade to 24.0, unless i use "python.exe -m pip install --upgrade pip" (though it didn't really fix anything). My current version is 22.2.1 I can open the non-dml versions for both webui and realtime-gui but they don't work properly, mainly the realtime version having very very weird crackle sounds that make it unusable. If i launch the go-realtime-gui-dml, this is what it shows: 2024-05-11 11:59:52 | INFO | faiss.loader | Loading faiss with AVX2 support. 2024-05-11 11:59:52 | INFO | faiss.loader | Could not load library with AVX2 support due to: ModuleNotFoundError("No module named 'faiss.swigfaiss_avx2'") 2024-05-11 11:59:52 | INFO | faiss.loader | Loading faiss. 2024-05-11 11:59:52 | INFO | faiss.loader | Successfully loaded faiss. 2024-05-11 11:59:53 | INFO | configs.config | No supported Nvidia GPU found 2024-05-11 11:59:53 | INFO | configs.config | overwrite v1/32k.json 2024-05-11 11:59:53 | INFO | configs.config | overwrite v1/40k.json 2024-05-11 11:59:53 | INFO | configs.config | overwrite v1/48k.json 2024-05-11 11:59:53 | INFO | configs.config | overwrite v2/48k.json 2024-05-11 11:59:53 | INFO | configs.config | overwrite v2/32k.json 2024-05-11 11:59:53 | INFO | configs.config | overwrite preprocess_per to 3 2024-05-11 11:59:53 | INFO | configs.config | Use DirectML instead Traceback (most recent call last): File "D:\RVC NEW\Retrieval-based-Voice-Conversion-WebUI\gui_v1.py", line 1085, in gui = GUI() File "D:\RVC NEW\Retrieval-based-Voice-Conversion-WebUI\gui_v1.py", line 138, in __init__ self.config = Config() File "D:\RVC NEW\Retrieval-based-Voice-Conversion-WebUI\configs\config.py", line 36, in wrapper wrapper.instance = func(*args, **kwargs) File "D:\RVC NEW\Retrieval-based-Voice-Conversion-WebUI\configs\config.py", line 65, in __init__ self.x_pad, self.x_query, self.x_center, self.x_max = self.device_config() File "D:\RVC NEW\Retrieval-based-Voice-Conversion-WebUI\configs\config.py", line 233, in device_config import torch_directml ModuleNotFoundError: No module named 'torch_directml'

Aitrepreneur

ok....well from here we got 2 solutions. First let's install the module manually I guess, so go inside the RVC folder, click on the folder path, type “cmd” press enter, this will bring the command prompt window and inside you’re gonna type: env\Scripts\activate press enter pip install torch-directml press enter then try again OR you can try the RVC-PACKAGE_INSTALLER - AMD.bat instead as well, it's an older version of the webui but should work fine

Erik

okay so reinstalling torch-directml shows this error at the end: Installing collected packages: torch, torchvision, torch-directml Attempting uninstall: torch Found existing installation: torch 2.3.0 Uninstalling torch-2.3.0: Successfully uninstalled torch-2.3.0 Attempting uninstall: torchvision Found existing installation: torchvision 0.18.0 Uninstalling torchvision-0.18.0: Successfully uninstalled torchvision-0.18.0 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. torchaudio 2.3.0 requires torch==2.3.0, but you have torch 2.0.0 which is incompatible. Successfully installed torch-2.0.0 torch-directml-0.2.0.dev230426 torchvision-0.15.1 I am not familiar with python but I don't think this is normal. Should i force update pip using "python.exe -m pip install --upgrade pip"? Is this fixable? If not I guess I will stick to the older version.. Edit: After running pip install torch-directml, a windows erorr pops up: python.exe - Entry Point Not Found The procedure entry point ??Smutable_data_ptr@UHalf@c10@@@TensorBase@at@@Q EBAPEAUHalf@c10@@XZ could not be located in the dynamic link library D:\RVC NEW Retrieval-based-Voice-Conversion-WebUI\env\Lib\site-p ackages\torchaudio\lib\libtorchaudio.pyd.

Aitrepreneur

no the pip install torch-directml was done correctly, do not forget to activate the env before running the command of course. Try running the webui

xuan gu

Dear Aitrepreneur, I hope this message finds you well. I recently encountered an issue when running the .bat file you provided, which uses the Gradio library. The script failed due to a UnicodeDecodeError during file operations. Here's a brief overview of the problem and the solution that worked for me: Error Description: The script halted with the following error message: arduino UnicodeDecodeError: 'gbk' codec can't decode byte 0xb2 in position 2074: illegal multibyte sequence This error occurred because the pathlib module's read_text() function attempted to read a file with the default system encoding (gbk), which was incompatible with the actual encoding of the file (likely UTF-8). Resolution: I resolved this issue by updating the Gradio library to its latest version using the following command: bash pip install --upgrade gradio After the update, the script executed successfully without any encoding errors. I thought it would be useful to share this solution with you, so you can consider it when providing scripts to other users, ensuring compatibility and minimizing similar issues. Thank you for your support and the resources you have provided. Best regards, Guu

Erik

After restarting a few times, only the web-dml works fully for now. However after running "env\Scripts\activate" and then "pip install torch-directml", the realtime gui shows that same error python.exe - Entry Point Not Found The procedure entry point ??Smutable_data_ptr@UHalf@c10@@@TensorBase@at@@Q EBAPEAUHalf@c10@@XZ could not be located in the dynamic link library D:\RVC NEW Retrieval-based-Voice-Conversion-WebUI\env\Lib\site-p ackages\torchaudio\lib\libtorchaudio.pyd. Is this fixable or should I just stick to the old version for the realtime-gui? Also thank you for helping me this far man, you're awesome

Aitrepreneur

seeing all the weird errors, you are better off just using the older version at this point, it will take much longer to try to troubleshoot...

Aitrepreneur

Thank you I haven't seen this error before but I'll write this one down for next time, thanks!

David Silva

You were right, everything is working great now, what a cool piece of software!

Potenzo

I get the following error: (env) %USERPROFILE%\RVC\Retrieval-based-Voice-Conversion-WebUI>python infer-web.py Traceback (most recent call last): File "%USERPROFILE%\RVC\Retrieval-based-Voice-Conversion-WebUI\infer-web.py", line 9, in from infer.modules.vc.modules import VC File "%USERPROFILE%\RVC\Retrieval-based-Voice-Conversion-WebUI\infer\modules\vc\modules.py", line 11, in from infer.lib.audio import load_audio, wav2 File "%USERPROFILE%\RVC\Retrieval-based-Voice-Conversion-WebUI\infer\lib\audio.py", line 2, in import ffmpeg ModuleNotFoundError: No module named 'ffmpeg' (obviously, I replaced %UserProfile%). For certainty, ffmpeg.exe has been added to %USERPROFILE%\RVC\Retrieval-based-Voice-Conversion-WebUI just as you said.

Aitrepreneur

hmm ok, have you seen any error during install? do you have the ffmpeg.exe and ffprobe.exe in the folder? if yes you can try this: Go inside the main folder, click on the folder path, type “cmd” press enter, this will bring the command prompt window and inside you’re gonna type: env\Scripts\activate press enter pip install ffmpeg-python press enter then relaunch the webui

Brendan Eagles

I am getting this error when trying this solution: (env) C:\Users\User\Desktop\RVC\Retrieval-based-Voice-Conversion-WebUI>pip install ffmpeg-python Collecting ffmpeg-python Downloading ffmpeg_python-0.2.0-py3-none-any.whl.metadata (1.7 kB) Collecting future (from ffmpeg-python) Downloading future-1.0.0-py3-none-any.whl.metadata (4.0 kB) Downloading ffmpeg_python-0.2.0-py3-none-any.whl (25 kB) Downloading future-1.0.0-py3-none-any.whl (491 kB) ---------------------------------------- 491.3/491.3 kB 5.1 MB/s eta 0:00:00 DEPRECATION: omegaconf 2.0.6 has a non-standard dependency specifier PyYAML>=5.1.*. pip 24.1 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of omegaconf or contact the author to suggest that they release a version with a conforming dependency specifiers. Discussion can be found at https://github.com/pypa/pip/issues/12063 Installing collected packages: future, ffmpeg-python Successfully installed ffmpeg-python-0.2.0 future-1.0.0

Brendan Eagles

That deprecation message is in orange, and seems to be the only warning message i can pull up. Starting the program gives me the module not found error the above user had, despite having it in the folder and saying successfully installed when i try that solution you gave.

Aitrepreneur

ok then please next time respond to the comment, don't make a new one otherwise it's impossible to follow. Also what's your GPU and have you seen any errors during the initial install?

Brendan Eagles

Apologies, sent that just before bed and forgot with the text field just below it. GPU is Nvidia 3070, there was a large block of red during the install, but I wasn't able to get a good look at it before it kept scrolling. there were a few sections in yellow or orange as well. If I delete and reinstall, I might be able to get a screenshot of it, I will try that when i get back to my PC in after work.

Brendan Eagles

Too large to get it in one picture: https://media.discordapp.net/attachments/748000024285282356/1242135626220834957/image.png?ex=664cbc73&is=664b6af3&hm=0a168bc461904437a77a6bf0e8920cfafea5d1e979eb5675593b660eb7cb9aae&=&format=webp&quality=lossless&width=734&height=466 And the second, will probably be some overlap: https://media.discordapp.net/attachments/748000024285282356/1242135465897889832/image.png?ex=664cbc4c&is=664b6acc&hm=1a8ceb633a43603f6b0bb11f8c6a88356c63cd0c175cbdc1d1aff20e2405d6f0&=&format=webp&quality=lossless&width=734&height=450 I tried to just copy paste it, but it reset my selection whenever a new line appeared, and disappeared when it was finished. I could try again to get a text copy instead of an image if this is difficult to read.

Aitrepreneur

oooh boi, yeah that's some error alright... This is probably a bad initial python install, you need to uninstall your current python installation and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exe Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation. You can check that the right python version is installed by opening a new command prompt window and typing: python --version and it should give you the 3.10.6 version Then just relaunch the 1-click installer in a new folder and try again.

Brendan Eagles

Seemed a cleaner install this time, only a couple warning messages. I caught two WARNING: typer 0.12.3 does not provide the extra 'all' and WARNING: There was an error checking the latest version of pip. It seemed to do a reinstall of pip later on however, and the gui finally opens and seems to work this time. Barring anything strange happening later, I think that solved it. Thank you very much for the help!

overfl0w art

Hey man great thing thx! But i have a problem. Others can hear me but i cant hear them. how can i fix that ?

Aitrepreneur

you mean the live voice? It's probably on the app side that you are using to communicate

Grumpy Razzku

Firstly. Awesome and easy-to-use tool. Thanks. I'm just curious, is there a transcript made and saved somewhere during the training process? I'd like to see how the software interprets certain not-so-clearly spoken words in a few voices I like.

·Xamãn

Hey, i'm getting an error when i exec go-web.bat, i think it's something about Numpy2.0 and something needs to be compiled with Numpy bellow 2.0 and higher than 1.0 or install both, i don't really know. The .bat closes very quickly but i managed to record the screen with obs.

Einar Petersen

Anything similar install wise for a lazy Linux user ?

Aitrepreneur

I mean I might if enough people ask for it but linux users are such a suuuper small percentage, as they just do everything themselves anyway

DrummerMan419

Hello, I used your 1-click installer to install this. Everything installed properly and the web ui was launched immediately. However, when I try to relaunch the web ui, nothing happens. I click the Go-Web batch file, but it just opens a cmd window and gets stuck on activate. Is there another way I'm supposed to be launching this?

Onex Sys

when starting 1-click training the following error occurs, any idea on how to fix this (installed with 1-click): RuntimeError: use_libuv was requested but PyTorch was build without libuv support

Felevenhero

I've installed, processed data, and extracted features. Training gives me this error: Process Process-1: Traceback (most recent call last): File "C:\Program Files\Python310\lib\multiprocessing\process.py", line 314, in _bootstrap self.run() File "C:\Program Files\Python310\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) File "X:\RVC\Retrieval-based-Voice-Conversion-WebUI\infer\modules\train\train.py", line 129, in run dist.init_process_group( File "X:\RVC\Retrieval-based-Voice-Conversion-WebUI\env\lib\site-packages\torch\distributed\c10d_logger.py", line 79, in wrapper return func(*args, **kwargs) File "X:\RVC\Retrieval-based-Voice-Conversion-WebUI\env\lib\site-packages\torch\distributed\c10d_logger.py", line 93, in wrapper func_return = func(*args, **kwargs) File "X:\RVC\Retrieval-based-Voice-Conversion-WebUI\env\lib\site-packages\torch\distributed\distributed_c10d.py", line 1361, in init_process_group store, rank, world_size = next(rendezvous_iterator) File "X:\RVC\Retrieval-based-Voice-Conversion-WebUI\env\lib\site-packages\torch\distributed\rendezvous.py", line 258, in _env_rendezvous_handler store = _create_c10d_store(master_addr, master_port, rank, world_size, timeout, use_libuv) File "X:\RVC\Retrieval-based-Voice-Conversion-WebUI\env\lib\site-packages\torch\distributed\rendezvous.py", line 185, in _create_c10d_store return TCPStore( RuntimeError: use_libuv was requested but PyTorch was build without libuv support

MrPittStone

@Aitrepreneur I used the RVC-AUDIO-CLONING_INSTALLERV2.bat and it seem it stops at Collecting markupsafe. Downloading MarkupSafe-2.1.4-cp39-cp39-win_amd64.whl (17 kB) Downloading MarkupSafe-2.1.3-cp39-cp39-win_amd64.whl (17 kB) Downloading MarkupSafe-2.1.2-cp39-cp39-win_amd64.whl (16 kB) Downloading MarkupSafe-2.1.1-cp39-cp39-win_amd64.whl (17 kB)

Terry Astrial

I tried to run the go-web.bat file but it doesn't trigger the html ui page. am i doing something wrong? also, shouldn't the batch file be something like this? @echo off cd /d F:\XTTS\XTTS-rvc-webui CALL env\Scripts\activate python infer-web.py --port 7897 Instead of a web html file?

Scofiled Yeh

I can not activate the go-realtime-gui.bat. There is no pop up registration of pysimplegui as show in your video. How can I fix it? The error message is: (env) E:\AI\RVC\Retrieval-based-Voice-Conversion-WebUI>python gui_v1.py Traceback (most recent call last): File "E:\AI\RVC\Retrieval-based-Voice-Conversion-WebUI\gui_v1.py", line 87, in import FreeSimpleGUI as sg ModuleNotFoundError: No module named 'FreeSimpleGUI'