Hello!

Please help me in fixing this error.When is use the command python 
manage.py runserver 8000.It shows following error


Validating models...

Unhandled exception in thread started by <bound method Command.inner_run of 
<django.contrib.staticfiles.management.commands.runserver.Command object at 
0xb706728c>>
Traceback (most recent call last):
  File 
"/usr/local/lib/python2.7/site-packages/django/core/management/commands/runserver.py",
 
line 88, in inner_run
    self.validate(display_num_errors=True)
  File 
"/usr/local/lib/python2.7/site-packages/django/core/management/base.py", 
line 249, in validate
    num_errors = get_validation_errors(s, app)
  File 
"/usr/local/lib/python2.7/site-packages/django/core/management/validation.py", 
line 28, in get_validation_errors
    from django.db import models, connection
  File "/usr/local/lib/python2.7/site-packages/django/db/__init__.py", line 
78, in <module>
    connection = connections[DEFAULT_DB_ALIAS]
  File "/usr/local/lib/python2.7/site-packages/django/db/utils.py", line 
93, in __getitem__
    backend = load_backend(db['ENGINE'])
  File "/usr/local/lib/python2.7/site-packages/django/db/utils.py", line 
33, in load_backend
    return import_module('.base', backend_name)
  File "/usr/local/lib/python2.7/site-packages/django/utils/importlib.py", 
line 35, in import_module
    __import__(name)
  File 
"/usr/local/lib/python2.7/site-packages/django/db/backends/mysql/base.py", 
line 14, in <module>
    raise ImproperlyConfigured("Error loading MySQLdb module: %s" % e)
django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: 
No module named MySQLdb

How i can solve this issue.i have already installed 
mysql-server,python-mysqlldb,django version-1.3.1,PYTHON 2.7.6

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/7f8cbca0-d29b-4bcc-ac6c-8fbd2fd3d828%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to