python pip install 报:HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.错误
下午想要安装 scrapy框架时报错,如图:

网上查了一下:因为网络差导致安装超时,所以用安装时指定源的方法可以解决:
pip install scrapy -i https://pypi.tuna.tsinghua.edu.cn/simple
红色的字体表示要安装的模块
下午想要安装 scrapy框架时报错,如图:

网上查了一下:因为网络差导致安装超时,所以用安装时指定源的方法可以解决:
pip install scrapy -i https://pypi.tuna.tsinghua.edu.cn/simple
红色的字体表示要安装的模块