title: undefined symbol: PyUnicodeUCS4_AsWideChar
body: <p>I've compiled the Caffe framework (caffe.berkeleyvision.org) successfully by running</p>
  
  <pre><code>make all
  make pycaffe
  </code></pre>
  
  <p>However, when I try to load up the library I am getting a weird error:</p>
  
  <pre><code>In [1]: import sys
  
  In [2]: sys.path.append('/contrib/projects/caffe/caffe/python')
  
  In [3]: import caffe
  ---------------------------------------------------------------------------
  ImportError                               Traceback (most recent call last)
  &lt;ipython-input-3-1cca3aa1f8c5&gt; in &lt;module&gt;()
  ----&gt; 1 import caffe
  
  /contrib/projects/caffe/caffe/python/caffe/__init__.py in &lt;module&gt;()
  ----&gt; 1 from .pycaffe import Net, SGDSolver
        2 from .classifier import Classifier
        3 from .detector import Detector
        4 import io
  
  /contrib/projects/caffe/caffe/python/caffe/pycaffe.py in &lt;module&gt;()
        8 import numpy as np
        9 
  ---&gt; 10 from ._caffe import Net, SGDSolver
       11 import caffe.io
       12 
  
  ImportError: /usr/lib/libboost_python-py27.so.1.49.0: undefined symbol: PyUnicodeUCS4_AsWideChar
  </code></pre>
  
  <p>Do I need to re-compile my python distribution with certain flags?</p>