title: Django: how to install mysql/connector python with pip3
body: <p>I am working on projects based on Django 1.7 and Python 3.4. However, I had problems installing MySQL/Connector Python with pip3.</p>
  
  <p>According to <a href="https://docs.djangoproject.com/en/1.7/ref/databases/" rel="noreferrer">this document</a>, MySQL/Connector Python supports Python 3. I used to install MySQL-python in Python with command <code>pip install MySQL-python</code>.</p>
  
  <p><a href="http://dev.mysql.com/downloads/connector/python/" rel="noreferrer">This download page</a> only provides .deb files for installation on Ubuntu (btw, the installation also has <a href="https://stackoverflow.com/questions/26572960/mysql-connector-python-2-0-1-1-confilct-with-python-mysql-connector">conflict problems</a>)</p>
  
  <p>I tried to install with:</p>
  
  <pre><code>pip3 install mysql-connector-python --allow-external mysql-connector-python
  </code></pre>
  
  <p>No error messages. But when I run the Django app, I got the following error message:</p>
  
  <pre><code>django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: No module named 'MySQLdb'
  </code></pre>
  
  <p>Question:
  So, how do I install MySQL/Connector Python into a virtual environment with pip3? Or is it supposed to be installed into the system, instead of a virtual environment?</p>