We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
raise ReadTimeoutError(self._pool, None, 'Read timed out.') pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
The text was updated successfully, but these errors were encountered:
出现ReadTimeoutError(self._pool, None, 'Read timed out.') pip安装时ReadTimeoutError解决办法 - CSDN博客 python 安装第三方库,超时报错--Read timed out. - 破玉 - 博客园
Sorry, something went wrong.
一般情况下PIP出现ReadTimeoutError都是因为被墙了,所以一般遇到这种问题,有两种方法:
在Windows下:
C:\Users\Administrator\下新建pip文件夹,在创建pip.ini文件,拷贝下面代码进去,保存。
[global] index-url = https://pypi.tuna.tsinghua.edu.cn/simple
其实就是把python的源换成了清华源,应该能解决问题。
windows下在cmd中,linux在终端下输入如下命令:
pip --default-timeout=100 install -U pip
或者安装某个特定库时: pip --default-timeout=100 install -U 库名
pip --default-timeout=100 install -U 库名
bingo
No branches or pull requests
The text was updated successfully, but these errors were encountered: