title: wxmac image not found (Python 2.7.5, OS X)
body: <p>I had "brew installed" <strong>wxmac</strong> back in 2012. Recently, I "brew upgraded" and then "cleaned up". Since then, I can no longer import wx:</p>
  
  <pre><code>Python 2.7.5 (default, Mar  9 2014, 22:15:05) 
  [GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin
  Type "help", "copyright", "credits" or "license" for more information.
  &gt;&gt;&gt; import wx
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
    File "/Library/Python/2.7/site-packages/wx-2.9.4-osx_cocoa/wx/__init__.py", line 45, in &lt;module&gt;
      from wx._core import *
    File "/Library/Python/2.7/site-packages/wx-2.9.4-osx_cocoa/wx/_core.py", line 4, in &lt;module&gt;
      import _core_
  ImportError: dlopen(/Library/Python/2.7/site-packages/wx-2.9.4-osx_cocoa/wx/_core_.so, 2): Library not loaded: /opt/local/lib/libwx_osx_cocoau_xrc-2.9.4.0.0.dylib
    Referenced from: /Library/Python/2.7/site-packages/wx-2.9.4-osx_cocoa/wx/_core_.so
    Reason: image not found
  </code></pre>
  
  <p>Looks like I now have a version newer than 2.9.4:</p>
  
  <pre><code>brew install wxmac
  Warning: wxmac-3.0.1 already installed
  </code></pre>
  
  <p>Looking at my Python installation, these are the relevant files:</p>
  
  <pre><code>ls /Library/Python/2.7/site-packages/
  wx
  wx-2.9.4-osx_cocoa
  wx.pth
  wxPython_common-2.9.4.0-py2.7.egg-info
  wxversion.py
  wxversion.pyc
  </code></pre>
  
  <p>I'm suspecting that "brew cleanup" removed my older, but working, version of wxmac. Now, either the wxmac version or some symlink is causing the current problem. How should I go about fixing or figuring it out?</p>