raise ReadTimeoutError(self._pool, None, 'Read timed out.') pip._vendor.requests.packages.urllib3.e

 raise ReadTimeoutError(self._pool, None, 'Read timed out.')

pip._vendor.requests.packages.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.

python2或者3的时候会报这个错

应该是下载太慢,导致超时

由于国外pip没有被墙

解决方案:

pip --default-timeout=100 install -U xxxx(库名)

你可能感兴趣的:(raise ReadTimeoutError(self._pool, None, 'Read timed out.') pip._vendor.requests.packages.urllib3.e)