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 MySQL-python to install MySQL-python in Python with the pip install MySQL-python command.
This download page contains only .deb files for installation on Ubuntu (by the way, the installation also has conflict issues )
I tried installing using:
pip3 install mysql-connector-python
No error messages. But when I start the Django application, I received the following error message:
django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: No module named 'MySQLdb'
Question: So, how to install MySQL / Connector Python in a virtual environment with pip3? Or should it be installed on the system instead of a virtual environment?
source share