same problem. apache2, mod_wsgi, python-mysqldb installed. When i add
databases engine, name, user, password in settings.py, i got a
message:

ImportError at /wsgi
No module named mysql.baseRequest Method:       GET
Request URL:    http://xxxxx/wsgi
Django Version: 1.3
Exception Type: ImportError
Exception Value:        No module named mysql.base
Exception Location:     /usr/lib/python2.5/site-packages/django/utils/
importlib.py in import_module, line 35
Python Executable:      /usr/bin/python
Python Version: 2.5.2
Python Path:    ['/usr/lib/python2.5',
 '/usr/lib/python2.5/plat-linux2',
 '/usr/lib/python2.5/lib-tk',
 '/usr/lib/python2.5/lib-dynload',
 '/usr/local/lib/python2.5/site-packages',
 '/usr/lib/python2.5/site-packages',
 '/var/lib/python-support/python2.5',
 '/home/django-projects/xxxx/apps']

Anyone knows whats that?

On 13 апр, 02:56, dsx <sanli.w...@gmail.com> wrote:
> same here.
>
> On Apr 1, 12:48 am, nai <chng.nai...@gmail.com> wrote:
>
>
>
> > I posted the same question on stackoverflow 
> > here:http://stackoverflow.com/questions/5509755/problem-with-django-syncdb...
>
> > Reproduced
>
> > Hi all, I'm trying to deploy my project on my EC2 instance. When I run
> > python manage.py validate I get this error Error: No module named
> >mysql.base.
>
> > I have already installed MySQL-python using yum install MySQL-python.
> > I can import MySQLdb successfully from the Python interpreter.
>
> > I can't seem to figure out what's wrong?
>
> > I am using Django 1.3 and Python 2.6 and MySQLdb 1.2.3c1

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to