title: Installing Python module with pip
body: <p>I'm trying to install a module called Scrapy. I installed it using</p>
  
  <pre><code>pip install Scrapy
  </code></pre>
  
  <p>I see the 'scrapy' folder in my /usr/local/lib/python2.7/site-packages, but when I try to import it in a Python program, is says there is no module by that name. Any ideas as to why this might be happening?</p>
  
  <p>EDIT: Here is the output of the pip command: </p>
  
  <pre><code>    Downloading/unpacking Scrapy
    Downloading Scrapy-0.20.0.tar.gz (745kB): 745kB downloaded
    Running setup.py egg_info for package Scrapy
  
      no previously-included directories found matching 'docs/build'
  Requirement already satisfied (use --upgrade to upgrade): Twisted&gt;=10.0.0 in /usr/local/lib/python2.7/site-packages (from Scrapy)
  Requirement already satisfied (use --upgrade to upgrade): w3lib&gt;=1.2 in /usr/local/lib/python2.7/site-packages (from Scrapy)
  Requirement already satisfied (use --upgrade to upgrade): queuelib in /usr/local/lib/python2.7/site-packages (from Scrapy)
  Requirement already satisfied (use --upgrade to upgrade): lxml in /usr/local/lib/python2.7/site-packages (from Scrapy)
  Requirement already satisfied (use --upgrade to upgrade): pyOpenSSL in /usr/local/lib/python2.7/site-packages (from Scrapy)
  Requirement already satisfied (use --upgrade to upgrade): cssselect&gt;=0.9 in /usr/local/lib/python2.7/site-packages (from Scrapy)
  Requirement already satisfied (use --upgrade to upgrade): zope.interface&gt;=3.6.0 in /usr/local/lib/python2.7/site-packages (from Twisted&gt;=10.0.0-&gt;Scrapy)
  Requirement already satisfied (use --upgrade to upgrade): six&gt;=1.4.1 in /usr/local/lib/python2.7/site-packages (from w3lib&gt;=1.2-&gt;Scrapy)
  Requirement already satisfied (use --upgrade to upgrade): setuptools in /usr/local/lib/python2.7/site-packages/setuptools-1.1.6-py2.7.egg (from zope.interface&gt;=3.6.0-&gt;Twisted&gt;=10.0.0-&gt;Scrapy)
  Installing collected packages: Scrapy
    Running setup.py install for Scrapy
      changing mode of build/scripts-2.7/scrapy from 644 to 755
  
      no previously-included directories found matching 'docs/build'
      changing mode of /usr/local/bin/scrapy to 755
  Successfully installed Scrapy
  Cleaning up...
  </code></pre>
  
  <p>When I run /usr/local/bin/scrapy I get the usage for the command and the available commands. I noticed that I have a python2.7 and python2.7-32 in my /usr/local/bin, and I remember installing the 32 bit version because of a problem with Mavericks. </p>
  
  <p>Here is the output of <code>python /usr/local/bin/scrapy</code>:</p>
  
  <pre><code>Traceback (most recent call last): File "/usr/local/bin/scrapy", line 3, in &lt;module&gt; from scrapy.cmdline import execute ImportError: No module named scrapy.cmdline 
  </code></pre>
  
  <p>And <code>head /usr/local/bin/scrapy</code>:</p>
  
  <pre><code>#!/usr/local/opt/python/bin/python2.7 from scrapy.cmdline import execute execute()
  </code></pre>