履行进程中出现毛病:
在setting.py中禁用s3 download就能够了
解决方法:
在stackoverflow上有些解释,有时间可以看看这篇毛病分析毛病
下面是我贴的部份内容。
That particular error message is being generated by boto (boto 2.38.0 py27_0),which is used to connect to Amazon S3. Scrapy doesn’t have this enabled by default.
EDIT: In reply to the comments,this appears to be a bug with Scrapy when boto is present (bug here).
In response “how to disable the Download handler”,add the following to your settings.py file:
Your settings.py file should be in the root of your Scrapy project folder,(one level deeper than your scrapy.cfg file).
If you’ve already got DOWNLOAD_HANDLERS in your settings.py file,just add a new entry for ‘s3’ with a None value.
EDIT 2: I’d highly recommend looking at setting up virtual environments for your projects. Look into virtualenv,and it’s usage. I’d make this recommendation regardless of packages used for this project,but doubly so with your extreme number of packages.
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。