You're on the right track - missing the MySQL python libraries. It
looks like Python is also missing the zlib libraries...

not sure which OS you're using, but there's probably an "apt-get
install ..." or "rpm -Uvh ..." command that will get you the MySQL
Python libraries that you need. Looking on an Ubuntu box, the package
I installed was:

"apt-get install python-mysqldb"

-joe

On 10/3/07, swati <[EMAIL PROTECTED]> wrote:
>
> 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