title: Cannot import pyarrow in pyspark
body: <p>I am trying to use pyarrow in with pyspark. However when I try to execute </p>
  
  <pre><code>import pyarrow
  </code></pre>
  
  <p>I receive the following error</p>
  
  <pre><code>    In [1]: import pyarrow
  ---------------------------------------------------------------------------
  ImportError                               Traceback (most recent call last)
  &lt;ipython-input-1-f1048abcb32d&gt; in &lt;module&gt;
  ----&gt; 1 import pyarrow
  
  ~/opt/anaconda3/lib/python3.7/site-packages/pyarrow/__init__.py in &lt;module&gt;
       47 import pyarrow.compat as compat
       48
  ---&gt; 49 from pyarrow.lib import cpu_count, set_cpu_count
       50 from pyarrow.lib import (null, bool_,
       51                          int8, int16, int32, int64,
  
  ImportError: dlopen(/Users/user/opt/anaconda3/lib/python3.7/site-packages/pyarrow/lib.cpython-37m-darwin.so, 2): Library not loaded: @rpath/libboost_filesystem.dylib
    Referenced from: /Users/user/opt/anaconda3/lib/libarrow.15.1.0.dylib
    Reason: image not found
  </code></pre>
  
  <p>I have tried to install pyarrow in a conda environment, downgrading to python 3.6 but without success. </p>
  
  <p>Doe someone have any suggestion to solve the problem?</p>