title: Exitwp is unable to import PyYAML module
body: <p>I'm in the process of migrating a blog from Wordpress to <a href="http://octopress.org" rel="nofollow">Octopress</a>. As a part of this process, I'm using a tool called <a href="https://github.com/thomasf/exitwp" rel="nofollow">exitwp</a> to convert all Wordpress content to Markdown files.</p>
  
  <p>I've followed the <code>exitwp</code> setup instructions and installed all the requirements. Python was installed using <a href="http://brew.sh" rel="nofollow">homebrew</a>; the Python modules were installed with <code>pip</code>. I'm on a Mac with OS X 10.9.</p>
  
  <pre><code>$ which python
  
  /usr/bin/python
  
  $ pip install --upgrade -r pip_requirements.txt
  
  Requirement already up-to-date: html5lib==1.0b1 in /usr/local/lib/python2.7/site-packages (from -r pip_requirements.txt (line 1))
  Requirement already up-to-date: beautifulsoup4==4.2.0 in /usr/local/lib/python2.7/site-packages (from -r pip_requirements.txt (line 2))
  Requirement already up-to-date: PyYAML==3.10 in /usr/local/lib/python2.7/site-packages (from -r pip_requirements.txt (line 3))
  Requirement already up-to-date: html2text==3.200.3 in /usr/local/lib/python2.7/site-packages (from -r pip_requirements.txt (line 4))
  Requirement already up-to-date: six in /usr/local/lib/python2.7/site-packages (from html5lib==1.0b1-&gt;-r pip_requirements.txt (line 1))
  
  $ pip show PyYAML
  
  Name: PyYAML
  Version: 3.10
  Location: /usr/local/lib/python2.7/site-packages
  Requires: 
  
  $ python -c "import sys; print sys.path"
  
  ['', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages', '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload', '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC', '/Library/Python/2.7/site-packages']
  </code></pre>
  
  <p>When I run <code>exitwp</code>, I get the following error:</p>
  
  <pre><code>$ cd ~/code/exitwp/
  $ python exitwp.py
  
  Traceback (most recent call last):
    File "exitwp.py", line 10, in &lt;module&gt;
      import yaml
  ImportError: No module named yaml
  </code></pre>
  
  <p>My thoughts are that this might have something to do with Python coming pre-installed with OS X, and that I have installed a newer version of Python via <code>homebrew</code>. I'm not very experienced with Python and <code>pip</code>, so I'm having some problems getting to the bottom of this.</p>
  
  <p>It would be greatly appreciated if anyone could point me in the right direction.</p>