I am working on projects based on Django 1.7 and Python 3.4. However, I had problems installing MySQL/Connector Python with pip3.
According to this document, MySQL/Connector Python supports Python 3. I used to install MySQL-python in Python with command pip install MySQL-python
.
This download page only provides .deb files for installation on Ubuntu (btw, the installation also has conflict problems)
I tried to install with:
pip3 install mysql-connector-python --allow-external mysql-connector-python
No error messages. But when I run the Django app, I got the following error message:
django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: No module named 'MySQLdb'
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?