title: ImportError: No module named _io
body: <p>When I compile my python scripts I'm getting the following error message. This started happening when I installed Anaconda. I've tried to find a solution online to the problem but I've had no luck. Can anyone help with solving this?</p>
  
  <pre><code>Traceback (most recent call last):
    File "query.py", line 1, in &lt;module&gt;
      import mysql.connector
    File "/usr/local/lib/python2.7/dist-packages/mysql/connector/__init__.py", line 37, in &lt;module&gt;
      from .connection import MySQLConnection
    File "/usr/local/lib/python2.7/dist-packages/mysql/connector/connection.py", line 27, in &lt;module&gt;
      from io import IOBase
    File "/usr/lib/python2.7/io.py", line 51, in &lt;module&gt;
      import _io
  ImportError: No module named _io
  </code></pre>