title: Failure to import PyMC (gfortran library not loaded after installing from conda.binstar)
body: <p>I am running Python 2.7.8 :: Anaconda 2.0.1 (x86_64) and conda 3.5.5
  on Mac OS 10.9.4 (Maverick)</p>
  
  <p>I installed PyMC by running</p>
  
  <p><code>conda install -c https://conda.binstar.org/pymc pymc</code></p>
  
  <p>However, <code>import pymc</code>gave an error (I copy the Traceback at the end).</p>
  
  <p><em>Edit1</em>: from reading this question <a href="https://stackoverflow.com/questions/24480279/importerror-cannot-import-name-flib?rq=1">"cannot import name flib"</a>, it seems to me the issue is that by installing PyMC with anaconda it is built against a different gfortran, not the one supplied by <code>brew install gcc</code>. I'm happy to uninstall things and try again, but I hope somebody will provide me with instructions before I screw up things more!</p>
  
  <p><em>Edit2</em>: The Traceback tells me that <code>//anaconda/lib/python2.7/site-packages/pymc/flib.so</code>is trying to call <code>/usr/local/Cellar/gfortran/4.8.2/gfortran/lib/libgfortran.3.dylib</code>, which doesn't exist. I think until recently <code>homebrew</code> installed gfortran on it's own and hence would have a folder in <code>/usr/local/Cellar</code>. Now, however, <code>gfortran</code>is in <code>/usr/local/Cellar/gcc/4.8.3_1/bin</code> when it is installed by <code>brew install gcc</code>. Help!</p>
  
  <hr>
  
  <p>(<em>Aside</em>:
  Since the error suggests a problem with the gfortran compiler I installed from <code>brew</code>, let me give you some details on that, though the might not be relevant.</p>
  
  <p>I installed <code>gfortran</code> from brew by calling</p>
  
  <p><code>brew install gcc</code></p>
  
  <p>It threw some error and suggested I link gmp, mpfr, libmpc, isl and cloog. Hence I did</p>
  
  <p><code>brew link gmp</code> (and mpfr, etc.)</p>
  
  <p>Just in case, <code>which gfortran</code> gives</p>
  
  <p><code>/usr/local/bin/gfortran</code></p>
  
  <hr>
  
  <p>Here is the traceback for <code>import pymc</code>:</p>
  
  <pre><code>In [1]: import pymc
  ---------------------------------------------------------------------------
  ImportError                               Traceback (most recent call last)
  &lt;ipython-input-1-5f262cfcb99b&gt; in &lt;module&gt;()
  ----&gt; 1 import pymc
  
  //anaconda/lib/python2.7/site-packages/pymc/__init__.pyc in &lt;module&gt;()
       28 from .PyMCObjects import *
       29 from .InstantiationDecorators import *
  ---&gt; 30 from .CommonDeterministics import *
       31 from .NumpyDeterministics import *
       32 from .distributions import *
  
  //anaconda/lib/python2.7/site-packages/pymc/CommonDeterministics.py in &lt;module&gt;()
       19 import inspect
       20 import types
  ---&gt; 21 from .utils import safe_len, stukel_logit, stukel_invlogit, logit, invlogit, value, find_element
       22 from copy import copy
       23 import sys
  
  //anaconda/lib/python2.7/site-packages/pymc/utils.py in &lt;module&gt;()
       12 from copy import copy
       13 from .PyMCObjects import Variable
  ---&gt; 14 from . import flib
       15 import pdb
       16 from numpy.linalg.linalg import LinAlgError
  
  ImportError: dlopen(//anaconda/lib/python2.7/site-packages/pymc/flib.so, 2): Library not loaded: /usr/local/Cellar/gfortran/4.8.2/gfortran/lib/libgfortran.3.dylib
    Referenced from: //anaconda/lib/python2.7/site-packages/pymc/flib.so
    Reason: image not found
  </code></pre>