visual-chatgpt icon indicating copy to clipboard operation
visual-chatgpt copied to clipboard

SSLError, Can't download clipseg-rd64-refined

Open bododo opened this issue 2 years ago • 5 comments

I always have below error, it seems the network has some problem. Is there anyway to manually download this model from hugging face and make it works?

SSLError: HTTPSConnectionPool(host='huggingface.co', port=443): Max retries
exceeded with url:
/CIDAS/clipseg-rd64-refined/resolve/main/preprocessor_config.json (Caused by
SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol
(_ssl.c:1131)')))

bododo avatar Mar 11 '23 13:03 bododo

if you use vpn,try close it

F4irytale avatar Mar 11 '23 14:03 F4irytale

@F4irytale 我在执行第三个命令时,不用VPN连第一个都下载不了,会显示超时pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out。 但是用vpn又会显示Could not fetch URL https://pypi.org/simple/torch/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/torch/ (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1131)'))) - skipping ERROR: Could not find a version that satisfies the requirement torch==1.12.1 (from versions: none) ERROR: No matching distribution found for torch==1.12.1

77LJH avatar Mar 11 '23 14:03 77LJH

@F4irytale 我在执行第三个命令时,不用VPN连第一个都下载不了,会显示超时pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out。 但是用vpn又会显示Could not fetch URL https://pypi.org/simple/torch/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/torch/ (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1131)'))) - skipping ERROR: Could not find a version that satisfies the requirement torch==1.12.1 (from versions: none) ERROR: No matching distribution found for torch==1.12.1

同样的问题,请问你解决了吗

zhangch-ss avatar Mar 12 '23 11:03 zhangch-ss

@zhangch-ss 关代理,试试清华的镜像 pip install -r requirement.txt -i https://pypi.tuna.tsinghua.edu.cn/simple

77LJH avatar Mar 12 '23 11:03 77LJH

have you sloved it?

77LJH avatar Mar 14 '23 12:03 77LJH