
错误
scrapy.core.downloader.tls WARNING: Remote certificate is not valid for hostname
其实这种情况下scrapy已经安装好了 可以使用 只是有部分功能 有影响就是其中提到的 service_identity模块。其实这个模块是已经安装了的。但是为什么还会报错呢。耗费了我两个小时 各种发帖 搜索。终于在一位大神那里找到了答案。
原因是不知道因为什么原因导致本机上的service_identity模块太老旧,而你通过install安装的时候 不会更新到最新版本。
pip3 install service_identity --force --upgrade下载和安装service_identity,地址为:https://pypi.python.org/pypi/service_identity#downloads,下载whl文件

pip install service_identity-17.0.0-py2.py3-none-any.whl