Hi All,

I am setting up first django project. When I set up django without any
database settings, I could see the first welcome page from django.
After this initial success, when I specify the database settings in
the 'settings.py' and tried to run django, I am getting error,-

"ImproperlyConfigured: Error loading MySQLdb module: No module named
MySQLdb"

I have downloaded python-mysql and tried installing it, where I am
getting error,-

---------------------------------------------------------------------------------------------------------------------------------------
Traceback (most recent call last):
  File "setup.py", line 5, in ?
    import ez_setup; ez_setup.use_setuptools()
  File "/home/djtstdir/MySQL-python-1.2.2/ez_setup.py", line 85, in
use_setuptools
    import setuptools; setuptools.bootstrap_install_from = egg
zipimport.ZipImportError: can't decompress data; zlib not available
---------------------------------------------------------------------------------------------------------------------------------------

I have installed zlib also, but getting same error.

I am working remotly on linux
I am working as root
I have apache, mysql, python 2.4, and mod_python installed in my
machine.

Any idea what I am missing out? Please help.

Many Thanks,
Swati


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to