title: SQLAlchemy import error : import _mysql
body: <p>I am new at Python and SQLAlchemy and I was trying to play with them a little bit, but whenever I run a test it gives me the following error :</p>
  
  <pre><code>Traceback (most recent call last):
    File "/home/zakaria/workspace-python/Jerreb/essai/tejriba.py", line 11, in &lt;module&gt;
      engine = create_engine("mysql://root:root@localhost/python")
    File "/usr/local/lib/python2.7/dist-packages/SQLAlchemy-0.9.7-py2.7-linux-i686.egg/sqlalchemy/engine/__init__.py", line 346, in create_engine
      return strategy.create(*args, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/SQLAlchemy-0.9.7-py2.7-linux-i686.egg/sqlalchemy/engine/strategies.py", line 74, in create
      dbapi = dialect_cls.dbapi(**dbapi_args)
    File "/usr/local/lib/python2.7/dist-packages/SQLAlchemy-0.9.7-py2.7-linux-i686.egg/sqlalchemy/connectors/mysqldb.py", line 64, in dbapi
      return __import__('MySQLdb')
    File "/usr/local/lib/python2.7/dist-packages/MySQL_python-1.2.5-py2.7-linux-i686.egg/MySQLdb/__init__.py", line 19, in &lt;module&gt;
      import _mysql
  ImportError: /usr/local/lib/python2.7/dist-packages/MySQL_python-1.2.5-py2.7-linux-i686.egg/_mysql.so: undefined symbol: _Py_ZeroStruct
  </code></pre>
  
  <p>I am working with PyDev.</p>
  
  <p>This is the project architecture:</p>
  
  <p><img src="https://i.stack.imgur.com/czThZ.png" alt="Project Architecture"></p>
  
  <p>And these are the libs I have imported :</p>
  
  <p><img src="https://i.stack.imgur.com/QrO0y.png" alt="Project Libs"></p>
  
  <p>What is the problem and how can I fix it?</p>
  
  <p>Thanks!</p>