-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Description
I'm using Linux Mint 22. I'm using a venv in Python 3.10. I tried the installation instructions and it has all gone well except for trying to launch using python infer-web.py, where I'm getting:
(venv) PC:~/Retrieval-based-Voice-Conversion-WebUI$ python infer-web.py
2025-12-24 14:01:59 | INFO | configs.config | Found GPU NVIDIA GeForce GTX 1650, force to fp32
2025-12-24 14:01:59 | INFO | configs.config | overwrite v1/32k.json
2025-12-24 14:01:59 | INFO | configs.config | overwrite v1/40k.json
2025-12-24 14:01:59 | INFO | configs.config | overwrite v1/48k.json
2025-12-24 14:01:59 | INFO | configs.config | overwrite v2/48k.json
2025-12-24 14:01:59 | INFO | configs.config | overwrite v2/32k.json
2025-12-24 14:01:59 | INFO | configs.config | overwrite preprocess_per to 3
2025-12-24 14:01:59 | INFO | configs.config | Half-precision floating-point: False, device: cuda:0
Traceback (most recent call last):
File "/home/username/Retrieval-based-Voice-Conversion-WebUI/infer-web.py", line 21, in
import gradio as gr
File "/home/username/Retrieval-based-Voice-Conversion-WebUI/venv/lib/python3.10/site-packages/gradio/init.py", line 3, in
import gradio.components as components
File "/home/username/Retrieval-based-Voice-Conversion-WebUI/venv/lib/python3.10/site-packages/gradio/components.py", line 34, in
from gradio_client import media_data
ImportError: cannot import name 'media_data' from 'gradio_client' (/home/username/Retrieval-based-Voice-Conversion-WebUI/venv/lib/python3.10/site-packages/gradio_client/init.py)
Some people in other threads have said something about the possibility of not having right versions of dependencies, but I had no trouble with the pip installs. I don't know how to check the version of my dependencies. I know very little about coding and I'm just trying to get RVC to work on my Linux computer like it did on Windows. I literally only created this account because I couldn't find anything else about this error. Any help please?
UPDATE: I figured out "Gradio" is a program that RVC presumably needs, so I entered the venv and ran pip install --upgrade gradio as per the installation/update instructions on the gradio github page. Now when I run 'python infer-web.py' it progresses further, but I've hit another problem:
(venv) PC:~/Retrieval-based-Voice-Conversion-WebUI$ python infer-web.py
2025-12-25 18:25:37 | INFO | configs.config | Found GPU NVIDIA GeForce GTX 1650, force to fp32
2025-12-25 18:25:37 | INFO | configs.config | overwrite v1/32k.json
2025-12-25 18:25:37 | INFO | configs.config | overwrite v1/40k.json
2025-12-25 18:25:37 | INFO | configs.config | overwrite v1/48k.json
2025-12-25 18:25:37 | INFO | configs.config | overwrite v2/48k.json
2025-12-25 18:25:37 | INFO | configs.config | overwrite v2/32k.json
2025-12-25 18:25:37 | INFO | configs.config | overwrite preprocess_per to 3
2025-12-25 18:25:37 | INFO | configs.config | Half-precision floating-point: False, device: cuda:0
2025-12-25 18:25:39 | INFO | main | Use Language: en_US
Traceback (most recent call last):
File "/home/username/Retrieval-based-Voice-Conversion-WebUI/infer-web.py", line 1614, in
app.queue(concurrency_count=511, max_size=1022).launch(
TypeError: Blocks.queue() got an unexpected keyword argument 'concurrency_count'
I can't find where exactly it's finding this keyword argument. So I don't know how to fix it. Help?