RVC-Project / RVC-Project/Retrieval-based-Voice-Conversion-WebUI
both infer-web.py and go-web.bat do not work, fix described inside
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 38.4k
- Forks
- 5.3k
- PR merge metrics
- No merged PRs in 30d
Description
when running the go-web.bat i get the follwong error:
D:\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.
D:\RVC\Retrieval-based-Voice-Conversion-WebUI>pause
Press any key to continue . . .
No big deal, as I can use the python infer-web.py in the command prompt
but even that won't work, I get:
D:\RVC\Retrieval-based-Voice-Conversion-WebUI>python infer-web.py
Traceback (most recent call last):
File "D:\RVC\Retrieval-based-Voice-Conversion-WebUI\infer-web.py", line 8, in <module>
from infer.modules.vc.modules import VC
File "D:\RVC\Retrieval-based-Voice-Conversion-WebUI\infer\modules\vc\modules.py", line 7, in <module>
import soundfile as sf
ModuleNotFoundError: No module named 'soundfile'
I installed everything properly and got no errors at all during install,
from going over the issues here I found people with similar issues but that was almost a year ago and I am sure many changes have been pushed since then.
-EDIT-
So, the original go-web.bat file is calling python.exe in runtime\python.exe
but there is no such directory, the python.exe is actually inside env/scripts (naturally)
Inside the infer-web.py there is no python,exe mentioned at all.
changing the code inside go-web.bat to env\Scripts\python.exe infer-web.py --port 7897 fixed the issue
and the webui now runs, but I can't be sure it will work without issues when actually doing training
and the windows firewall blocked the webui when it opened which tbh is kind of odd and suspicious to me
Hope this helps
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with go-web.bat and compare its interpreter path with the environment location described in the issue. Then inspect infer-web.py and infer/modules/vc/modules.py, reproducing the missing soundfile import; done means both documented launch paths start the web UI without the reported path or dependency errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 38/100