Closed
Description
Maybe we should retry few times.
Example log:
Using noxfile-template from parent folder (/tmpfs/src/github/python-docs-samples).
Running session py-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/py-3-7
pip install -r requirements.txt
Command pip install -r requirements.txt failed with exit code 2:
Ignoring tensorflow: markers 'python_version < "3.0"' don't match your environment
Collecting tensorflow==2.0.1
Downloading tensorflow-2.0.1-cp37-cp37m-manylinux2010_x86_64.whl (86.3 MB)
ERROR: Exception:
Traceback (most recent call last):
File "/tmpfs/src/github/python-docs-samples/ml_engine/online_prediction/.nox/py-3-7/lib/python3.7/site-packages/pip/_vendor/urllib3/response.py", line 425, in _error_catcher
yield
File "/tmpfs/src/github/python-docs-samples/ml_engine/online_prediction/.nox/py-3-7/lib/python3.7/site-packages/pip/_vendor/urllib3/response.py", line 507, in read
data = self._fp.read(amt) if not fp_closed else b""
File "/tmpfs/src/github/python-docs-samples/ml_engine/online_prediction/.nox/py-3-7/lib/python3.7/site-packages/pip/_vendor/cachecontrol/filewrapper.py", line 62, in read
data = self.__fp.read(amt)
File "/usr/local/lib/python3.7/http/client.py", line 457, in read
n = self.readinto(b)
File "/usr/local/lib/python3.7/http/client.py", line 501, in readinto
n = self.fp.readinto(b)
File "/usr/local/lib/python3.7/socket.py", line 589, in readinto
return self._sock.recv_into(b)
File "/usr/local/lib/python3.7/ssl.py", line 1071, in recv_into
return self.read(nbytes, buffer)
File "/usr/local/lib/python3.7/ssl.py", line 929, in read
return self._sslobj.read(len, buffer)
ConnectionResetError: [Errno 104] Connection reset by peer