title: Scrapy - No module named mail.smtp
body: <p>System: Ubuntu 14.04</p>
  
  <p>I installed scrapy using the command <code>sudo pip install scrapy</code>.</p>
  
  <p>I am following the tutorial located <a href="http://doc.scrapy.org/en/1.0/intro/tutorial.html" rel="noreferrer">here</a>.</p>
  
  <p>When I run the command <code>scrapy crawl dmoz</code> at <a href="http://doc.scrapy.org/en/1.0/intro/tutorial.html#crawling" rel="noreferrer">this</a> step, I get the following error:</p>
  
  <pre><code>2015-07-04 15:28:58 [scrapy] INFO: Scrapy 1.0.1 started (bot: tutorial)
  2015-07-04 15:28:58 [scrapy] INFO: Optional features available: ssl, http11
  2015-07-04 15:28:58 [scrapy] INFO: Overridden settings: {'NEWSPIDER_MODULE': 'tutorial.spiders', 'SPIDER_MODULES': ['tutorial.spiders'], 'BOT_NAME': 'tutorial'}
  Traceback (most recent call last):
    File "/usr/local/bin/scrapy", line 11, in &lt;module&gt;
      sys.exit(execute())
    File "/usr/local/lib/python2.7/dist-packages/scrapy/cmdline.py", line 143, in execute
      _run_print_help(parser, _run_command, cmd, args, opts)
    File "/usr/local/lib/python2.7/dist-packages/scrapy/cmdline.py", line 89, in _run_print_help
      func(*a, **kw)
    File "/usr/local/lib/python2.7/dist-packages/scrapy/cmdline.py", line 150, in _run_command
      cmd.run(args, opts)
    File "/usr/local/lib/python2.7/dist-packages/scrapy/commands/crawl.py", line 57, in run
      self.crawler_process.crawl(spname, **opts.spargs)
    File "/usr/local/lib/python2.7/dist-packages/scrapy/crawler.py", line 150, in crawl
      crawler = self._create_crawler(crawler_or_spidercls)
    File "/usr/local/lib/python2.7/dist-packages/scrapy/crawler.py", line 166, in _create_crawler
      return Crawler(spidercls, self.settings)
    File "/usr/local/lib/python2.7/dist-packages/scrapy/crawler.py", line 46, in __init__
      self.extensions = ExtensionManager.from_crawler(self)
    File "/usr/local/lib/python2.7/dist-packages/scrapy/middleware.py", line 56, in from_crawler
      return cls.from_settings(crawler.settings, crawler)
    File "/usr/local/lib/python2.7/dist-packages/scrapy/middleware.py", line 32, in from_settings
      mwcls = load_object(clspath)
    File "/usr/local/lib/python2.7/dist-packages/scrapy/utils/misc.py", line 44, in load_object
      mod = import_module(module)
    File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
      __import__(name)
    File "/usr/local/lib/python2.7/dist-packages/scrapy/extensions/memusage.py", line 16, in &lt;module&gt;
      from scrapy.mail import MailSender
    File "/usr/local/lib/python2.7/dist-packages/scrapy/mail.py", line 23, in &lt;module&gt;
      from twisted.mail.smtp import ESMTPSenderFactory
  ImportError: No module named mail.smtp
  </code></pre>