twisted.mail 使用 Scrapy 1.0.4 时出错
twisted.mail error using Scrapy 1.0.4
我是 Scrapy 框架的新手,所以我试图完成文档中提供的教程:
http://doc.scrapy.org/en/latest/intro/tutorial.html#creating-a-project
问题是,当我 运行 代码时,出现以下错误:
from twisted.mail.smtp import ESMTPSenderFactory
ImportError: No module named 'twisted.mail'
我正在使用 Python 3.5.1,并且安装了 Scrapy 1.0.4 和 Twisted 15.5.0。但是问题是我在twisted安装目录下找不到任何邮件模块。
谢谢。
Scrapy 不支持 Python 3.5.1。 As explained in the documentation, use Python 2.7.11.
我是 Scrapy 框架的新手,所以我试图完成文档中提供的教程:
http://doc.scrapy.org/en/latest/intro/tutorial.html#creating-a-project
问题是,当我 运行 代码时,出现以下错误:
from twisted.mail.smtp import ESMTPSenderFactory
ImportError: No module named 'twisted.mail'
我正在使用 Python 3.5.1,并且安装了 Scrapy 1.0.4 和 Twisted 15.5.0。但是问题是我在twisted安装目录下找不到任何邮件模块。
谢谢。
Scrapy 不支持 Python 3.5.1。 As explained in the documentation, use Python 2.7.11.