Jun-CEN / SegmentAnyRGBD

Segment Any RGBD
Other
773 stars 45 forks source link

The error of running ui.py #2

Open ThePassedWind opened 1 year ago

ThePassedWind commented 1 year ago

The error output:

Traceback (most recent call last): File "ui.py", line 12, in import gradio as gr File "xxx/anaconda3/envs/segment-anything/lib/python3.8/site-packages/gradio/init.py", line 3, in import gradio.components as components File "xxx/envs/segment-anything/lib/python3.8/site-packages/gradio/components.py", line 55, in from gradio import processing_utils, utils File "xxx/envs/segment-anything/lib/python3.8/site-packages/gradio/utils.py", line 497, in class AsyncRequest: File "xxx/envs/segment-anything/lib/python3.8/site-packages/gradio/utils.py", line 516, in AsyncRequest client = httpx.AsyncClient() File "xxx/envs/segment-anything/lib/python3.8/site-packages/httpx/_client.py", line 1395, in init proxy_map = self._get_proxy_map(proxies, allow_env_proxies) File "xxx/envs/segment-anything/lib/python3.8/site-packages/httpx/_client.py", line 216, in _get_proxy_map return { File "xxx/envs/segment-anything/lib/python3.8/site-packages/httpx/_client.py", line 217, in key: None if url is None else Proxy(url=url) File "xxx/envs/segment-anything/lib/python3.8/site-packages/httpx/_config.py", line 336, in init raise ValueError(f"Unknown scheme for proxy URL {url!r}") ValueError: Unknown scheme for proxy URL URL('socks://127.0.0.1:1089/')

Could you please help me solve this problem?

JackyYang258 commented 1 year ago

It was the wrong proxy try the commamd

unset ALL_PROXY

Don't worry it will only change the proxy in this terminal

Jun-CEN commented 1 year ago

Thanks a lot for your solution. Hope it works!