1、问题描述:
python pip安装包的时候报以下错误:
raise ReadTimeoutError(self._pool, None, “Read timed out.”)
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host=‘files.pythonhosted.org’, port=443): Read timed out.
2、解决方法:
pip --default-timeout=1688 install 库名称 -i https://pypi.tuna.tsinghua.edu.cn/simple/ package-name