i refer this http://www.jetbrains.com/pycharm/quickstart/django_guide.html but getting the error while executing raise ImproperlyConfigured("Error loading MySQLdb module: %s" % e) django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: No module named 'MySQLdb
Asked
Active
Viewed 3,717 times
1 Answers
0
Make sure you are in the virtual environment
Then download the md5
package from Python mysql package
OR
using pip you can install like
pip install MySQL-python==1.2.5

Raja Simon
- 10,126
- 5
- 43
- 74
-
what is 1.2.5 is a python version – P_O_I_S_O_N Aug 08 '14 at 10:43
-
from ConfigParser import SafeConfigParser ImportError: No module named 'ConfigParser' Complete output from command python setup.py egg_info: Traceback (most recent call last):ImportError: No module named 'ConfigParser' – P_O_I_S_O_N Aug 08 '14 at 10:47
-
current version of python i am using is 3.4 – P_O_I_S_O_N Aug 08 '14 at 10:48
-
What is your python version? – Raja Simon Aug 08 '14 at 10:48
-
iam using python3.4 ubuntu14.04 X86 – P_O_I_S_O_N Aug 08 '14 at 10:49
-
In Python 3, ConfigParser has been renamed to configparser for PEP 8 compliance. so change that accordingly – Raja Simon Aug 08 '14 at 10:50
-
were to change or reference website – P_O_I_S_O_N Aug 08 '14 at 10:52
-
ok try this link http://stackoverflow.com/questions/14087598/python-3-3-importerror-no-module-named-configparser – Raja Simon Aug 08 '14 at 10:54
-
SO you have two options 1 is editing the setup_posix.py.file or try installing pip install mysqlclient – Raja Simon Aug 08 '14 at 10:58