解决pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host=‘files.pythonhosted.org’, port=443): Read timed out.
安装jupyter时,出现上面的报错信息。
原因是网络超时了。
1.我的解决方式是继续在cmd执行原来的指令,它会继续自动执行下载的任务。
2.我在网上也找过一个方法
执行下面的命令:
pip install --default-timeout=1000 --no-cache-dir -r requirements.txt
不过我在执行的时候报错,找不到这个文件。