用户70213809 - 模型工坊-模型工坊
用户70213809的头像-模型工坊
这家伙很懒,什么都没有写~

1年前
go web启动不了,报错: E:\xxx\RVC0813Nvidia>runtime\python.exe infer-web.py --pycmd runtime\python.exe --port 7897 Traceback (most recent call last): File "C:\Users\666\AppData\Roaming\Python\Python39\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 "E:\xxx\RVC0813Nvidia\infer-web.py", line 23, in import gradio as gr File "C:\Users\666\AppData\Roaming\Python\Python39\site-packages\gradio\__init__.py", line 3, in import gradio.components as components File "C:\Users\666\AppData\Roaming\Python\Python39\site-packages\gradio\components.py", line 55, in from gradio import processing_utils, utils File "C:\Users\666\AppData\Roaming\Python\Python39\site-packages\gradio\utils.py", line 497, in class AsyncRequest: File "C:\Users\666\AppData\Roaming\Python\Python39\site-packages\gradio\utils.py", line 516, in AsyncRequest client = httpx.AsyncClient() File "C:\Users\666\AppData\Roaming\Python\Python39\site-packages\httpx\_client.py", line 1408, in __init__ self._mounts: typing.Dict[URLPattern, typing.Optional[AsyncBaseTransport]] = { File "C:\Users\666\AppData\Roaming\Python\Python39\site-packages\httpx\_client.py", line 1409, in URLPattern(key): None File "C:\Users\666\AppData\Roaming\Python\Python39\site-packages\httpx\_utils.py", line 397, in __init__ url = URL(pattern) File "C:\Users\666\AppData\Roaming\Python\Python39\site-packages\httpx\_urls.py", line 113, in __init__ self._uri_reference = urlparse(url, **kwargs) File "C:\Users\666\AppData\Roaming\Python\Python39\site-packages\httpx\_urlparse.py", line 246, in urlparse parsed_port: typing.Optional[int] = normalize_port(port, scheme) File "C:\Users\666\AppData\Roaming\Python\Python39\site-packages\httpx\_urlparse.py", line 341, in normalize_port raise InvalidURL("Invalid port") httpx.InvalidURL: Invalid port