I believe so (I pretty much installed every mysql development based
option on Cygwin).

Here is the trace after running manage.py runserver...

Unhandled exception in thread started by <bound method
Command.inner_run of
<django.contrib.staticfiles.management.commands.runserver.Command
object at 0xffc0062c>>
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/django/core/management/
commands/runserver.py", line 91, in inner_run
    self.validate(display_num_errors=True)
  File "/usr/lib/python2.6/site-packages/django/core/management/
base.py", line 266, in validate
    num_errors = get_validation_errors(s, app)
  File "/usr/lib/python2.6/site-packages/django/core/management/
validation.py", line 23, in get_validation_errors
    from django.db import models, connection
  File "/usr/lib/python2.6/site-packages/django/db/__init__.py", line
40, in <module>
    backend = load_backend(connection.settings_dict['ENGINE'])
  File "/usr/lib/python2.6/site-packages/django/db/__init__.py", line
34, in __getattr__
    return getattr(connections[DEFAULT_DB_ALIAS], item)
  File "/usr/lib/python2.6/site-packages/django/db/utils.py", line 92,
in __getitem__
    backend = load_backend(db['ENGINE'])
  File "/usr/lib/python2.6/site-packages/django/db/utils.py", line 24,
in load_backend
    return import_module('.base', backend_name)
  File "/usr/lib/python2.6/site-packages/django/utils/importlib.py",
line 35, in import_module
    __import__(name)
  File "/usr/lib/python2.6/site-packages/django/db/backends/mysql/
base.py", line 16, in <module>
    raise ImproperlyConfigured("Error loading MySQLdb module: %s" % e)
django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb
module: No module named _mysql


On Jun 8, 10:41 am, Anand Jeyahar <anand.jeya...@gmail.com> wrote:
> On 8 June 2012 20:01, J Allen <silent...@gmail.com> wrote:
>
> > So I've been trying to get my Django instance up and running, and have
> > installed Django via Cygwin and have all the supposed things it needs
> > like MySQLdb, zlib, etc.
>
> > When I run manage.py runserver, it dies on something needed in the
> > MySQLdb package called _mysql lib, which I'm assuming is some C
> > library that MySQLdb wraps.  Is this something that should have been
> > created when I installed MySQLdb, is it a C library that needs to be
> > on the path that MySQLdb isn't seeing?
>
> > Any help would be greatly appreciated.
>
> Have you installed mysql-devel package on your OS's package manager?
> Can you paste the actual error trace?
>
>
>
>
>
> > Thanks!
>
> > --
> > 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.- Hide quoted text -
>
> - Show quoted text -

-- 
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