RE: Django tutorial
You need mysqldb library for your installed python version.
Cheers,
-----Original Message-----
From: django-users@googlegroups.com [mailto:django-users@googlegroups.com]
On Behalf Of dynamo44
Sent: 23 October 2010 20:52
To: Django users
Subject: Django tutorial
Hello,
I am working through the Django tutorial at
http://docs.djangoproject.com/en/dev/intro/tutorial01/, and I seem to
have hit a wall at the database setup section.
I am modifying settings.py as described. Specifically, in the
DATABASES 'default' item. I am a college student who is using Django
to develop a project. The database I want to use is on cPanel X. I
modify the ENGINE, NAME, USER, and PASSWORD fields in settings.py. I
leave HOST and PORT alone. When I try to run the command:
python manage.py syncdb
I get the following error:
"django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb
module: No module named MySQLdb." Any advice as to what may be going
wrong?
Thank you in advance.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home