failed to pip install -r requirement.txt
When I execute the third step "pip install -r requirement.txt" of quick start with the vpn turned on, the following problem is displayed:(visgpt) PS D:\IDM\IDM_download\压缩文件\visual-chatgpt-main\visual-chatgpt-main> pip install -r requirement.txt WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1131)'))': /simple/torch/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1131)'))': /simple/torch/ WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1131)'))': /simple/torch/ WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1131)'))': /simple/torch/ WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1131)'))': /simple/torch/ 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
But when I turn off the VPN, it shows:ERROR: Exception: Traceback (most recent call last): File "D:\Anaconda\envs\visgpt\lib\site-packages\pip_vendor\urllib3\response.py", line 438, in _error_catcher yield File "D:\Anaconda\envs\visgpt\lib\site-packages\pip_vendor\urllib3\response.py", line 561, in read data = self._fp_read(amt) if not fp_closed else b"" File "D:\Anaconda\envs\visgpt\lib\site-packages\pip_vendor\urllib3\response.py", line 527, in _fp_read return self._fp.read(amt) if amt is not None else self._fp.read() File "D:\Anaconda\envs\visgpt\lib\site-packages\pip_vendor\cachecontrol\filewrapper.py", line 90, in read data = self.__fp.read(amt) File "D:\Anaconda\envs\visgpt\lib\http\client.py", line 459, in read n = self.readinto(b) File "D:\Anaconda\envs\visgpt\lib\http\client.py", line 503, in readinto n = self.fp.readinto(b) File "D:\Anaconda\envs\visgpt\lib\socket.py", line 669, in readinto return self._sock.recv_into(b) File "D:\Anaconda\envs\visgpt\lib\ssl.py", line 1241, in recv_into return self.read(nbytes, buffer) File "D:\Anaconda\envs\visgpt\lib\ssl.py", line 1099, in read return self._sslobj.read(len, buffer) socket.timeout: The read operation timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Anaconda\envs\visgpt\lib\site-packages\pip_internal\cli\base_command.py", line 160, in exc_logging_wrapper
status = run_func(*args)
File "D:\Anaconda\envs\visgpt\lib\site-packages\pip_internal\cli\req_command.py", line 247, in wrapper
return func(self, options, args)
File "D:\Anaconda\envs\visgpt\lib\site-packages\pip_internal\commands\install.py", line 419, in run
requirement_set = resolver.resolve(
File "D:\Anaconda\envs\visgpt\lib\site-packages\pip_internal\resolution\resolvelib\resolver.py", line 92, in resolve
result = self._result = resolver.resolve(
File "D:\Anaconda\envs\visgpt\lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 481, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File "D:\Anaconda\envs\visgpt\lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 348, in resolve
self._add_to_criteria(self.state.criteria, r, parent=None)
File "D:\Anaconda\envs\visgpt\lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 172, in _add_to_criteria
if not criterion.candidates:
File "D:\Anaconda\envs\visgpt\lib\site-packages\pip_vendor\resolvelib\structs.py", line 151, in bool
return bool(self._sequence)
File "D:\Anaconda\envs\visgpt\lib\site-packages\pip_internal\resolution\resolvelib\found_candidates.py", line 155, in bool
return any(self)
File "D:\Anaconda\envs\visgpt\lib\site-packages\pip_internal\resolution\resolvelib\found_candidates.py", line 143, in
you can try the clash's Tun MODEL
@quancunzuidiao 你的意思是打开tun dode吗?我试了没用嘞。

需要先安装tun mode,再打开tun
77LJH @.***> 于2023年3月11日周六 23:24写道:
@quancunzuidiao https://github.com/quancunzuidiao 你的意思是打开tun dode吗?我试了没用嘞。 [image: image] https://user-images.githubusercontent.com/104681814/224492733-a2e20c6f-9aad-4840-94a3-d80242bbfb7f.png
— Reply to this email directly, view it on GitHub https://github.com/microsoft/visual-chatgpt/issues/82#issuecomment-1464934280, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKRL224RJR2LEIJ54UY7J3DW3SKL5ANCNFSM6AAAAAAVXQX6R4 . You are receiving this because you were mentioned.Message ID: @.***>
service mode
forever young @.***> 于2023年3月11日周六 23:26写道:
需要先安装tun mode,再打开tun
77LJH @.***> 于2023年3月11日周六 23:24写道:
@quancunzuidiao https://github.com/quancunzuidiao 你的意思是打开tun dode吗?我试了没用嘞。 [image: image] https://user-images.githubusercontent.com/104681814/224492733-a2e20c6f-9aad-4840-94a3-d80242bbfb7f.png
— Reply to this email directly, view it on GitHub https://github.com/microsoft/visual-chatgpt/issues/82#issuecomment-1464934280, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKRL224RJR2LEIJ54UY7J3DW3SKL5ANCNFSM6AAAAAAVXQX6R4 . You are receiving this because you were mentioned.Message ID: @.***>
换个清华镜像源,就不用折腾代理了 https://mirrors.tuna.tsinghua.edu.cn/help/pypi/