pip install requests报错 Could not find a version that satisfies the requirement requests

windows环境:

找到pip.ini文件,修改配置如下:

[global]
timeout = 6000
index-url = http://pypi.douban.com/simple
trusted-host = pypi.douban.com

保存后,重新安装即可
pip install requests报错 Could not find a version that satisfies the requirement requests_第1张图片

你可能感兴趣的:(Python,pip,python,开发语言)