RVC-Project / Retrieval-based-Voice-Conversion-WebUI

Easily train a good VC model with voice data <= 10 mins!
MIT License
24.57k stars 3.61k forks source link

ubuntu用`python infer-web.py`启动报错alueError: invalid literal for int() with base 10: ':1' httpx.InvalidURL: Invalid port #386

Open ghost opened 1 year ago

ghost commented 1 year ago

RVC-beta/RVC-beta-v2-0528> python infer-web.py
Use Language: en_US 2023-05-30 02:11:13 | INFO | fairseq.tasks.text_to_speech | Please install tensorboardX: pip install tensorboardX Traceback (most recent call last): File "/home/pai/lib/python3.9/site-packages/httpx/_urlparse.py", line 339, in normalize_port port_as_int = int(port) ValueError: invalid literal for int() with base 10: ':1'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/mnt/workspace/new_voice/RVC-beta/RVC-beta-v2-0528/infer-web.py", line 82, in import gradio as gr File "/home/pai/lib/python3.9/site-packages/gradio/init.py", line 3, in import gradio.components as components File "/home/pai/lib/python3.9/site-packages/gradio/components.py", line 55, in from gradio import processing_utils, utils File "/home/pai/lib/python3.9/site-packages/gradio/utils.py", line 497, in class AsyncRequest: File "/home/pai/lib/python3.9/site-packages/gradio/utils.py", line 516, in AsyncRequest client = httpx.AsyncClient() File "/home/pai/lib/python3.9/site-packages/httpx/_client.py", line 1408, in init self._mounts: typing.Dict[URLPattern, typing.Optional[AsyncBaseTransport]] = { File "/home/pai/lib/python3.9/site-packages/httpx/_client.py", line 1409, in URLPattern(key): None File "/home/pai/lib/python3.9/site-packages/httpx/_utils.py", line 397, in init url = URL(pattern) File "/home/pai/lib/python3.9/site-packages/httpx/_urls.py", line 113, in init self._uri_reference = urlparse(url, **kwargs) File "/home/pai/lib/python3.9/site-packages/httpx/_urlparse.py", line 246, in urlparse parsed_port: typing.Optional[int] = normalize_port(port, scheme) File "/home/pai/lib/python3.9/site-packages/httpx/_urlparse.py", line 341, in normalize_port raise InvalidURL("Invalid port") httpx.InvalidURL: Invalid port

RVC-Boss commented 1 year ago

pip install httpx==0.23.0