title: Symbol not found: __PyCodecInfo_GetIncrementalDecoder
body: <p>Since updating from Homebrew Python 2.7.11 (from 2.7.10) I'm suddenly unable to test register my package on PyPi from the PyCharm IDE console.</p>
  
  <p>Running (as an "External Tool")</p>
  
  <pre><code>python -B setup.py register -r pypitest
  </code></pre>
  
  <p>I now get</p>
  
  <pre><code>Traceback (most recent call last):
    File "setup.py", line 22, in &lt;module&gt;
      from setuptools import setup
    File "/usr/local/lib/python2.7/site-packages/setuptools/__init__.py", line 12, in &lt;module&gt;
      from setuptools.extension import Extension
    File "/usr/local/lib/python2.7/site-packages/setuptools/extension.py", line 8, in &lt;module&gt;
      from .dist import _get_unpatched
    File "/usr/local/lib/python2.7/site-packages/setuptools/dist.py", line 16, in &lt;module&gt;
      from setuptools.depends import Require
    File "/usr/local/lib/python2.7/site-packages/setuptools/depends.py", line 6, in &lt;module&gt;
      from setuptools import compat
    File "/usr/local/lib/python2.7/site-packages/setuptools/compat.py", line 17, in &lt;module&gt;
      import httplib
    File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 80, in &lt;module&gt;
      import mimetools
    File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/mimetools.py", line 6, in &lt;module&gt;
      import tempfile
    File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/tempfile.py", line 32, in &lt;module&gt;
      import io as _io
    File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/io.py", line 51, in &lt;module&gt;
      import _io
  ImportError: dlopen(/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so, 2): Symbol not found: __PyCodecInfo_GetIncrementalDecoder
    Referenced from: /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so
    Expected in: flat namespace
   in /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so
  
  Process finished with exit code 1
  </code></pre>
  
  <p>I'm not sure how to proceed. I only get this issue if I execute from within my IDE's console. If I do it directly at the system command line (Terminal on OS X) I have no problems.</p>
  
  <hr>
  
  <p>OS X 10.11.3; Homebrew Python 2.7.11; PyCharm 5.0.3</p>