install MySQLdb :)

On May 5, 1:23 pm, Etienne Python <python.etie...@gmail.com> wrote:
> On May 5, 12:42 pm, Daniel Roseman <dan...@roseman.org.uk> wrote:
>
>
>
> > On May 5, 11:06 am, Etienne Python <python.etie...@gmail.com> wrote:
>
> > > Hey all,
>
> > > I'm a real beginner at both Django and Python, so excuse me if my
> > > question looks silly to you.
>
> > > A friend of mine did me a huge favour by coding a form for me.
> > > However, I would like to modify a couple of details in the page.
>
> > > I have copied the code and the folders linked to the website to my
> > > computer. However, even though python and django are both installed
> > > well, when I want to run the server (python manage.py runserver) from
> > > the directory where I saved the files. It doesn't provide me the
> > > message:
>
> > > -------------------------------------------------------------
> > > Validating models...
> > > 0 errors found.
>
> > > Django version 1.0, using settings 'mysite.settings'
> > > Development server is running athttp://127.0.0.1:8000/
> > > Quit the server with CONTROL-C.
> > > --------------------------------------------------------------
>
> > > Which I was looking for... :-(
>
> > > Instead I get a whole number of imports (which might be ok, I don't
> > > know)
>
> > > But was frustrates me is that (logically, I guess) when I try to open
> > > the development server ( by going tohttp://127.0.0.1:8000/), it
> > > doesn't work...
>
> > > Would anyone have tips or an idea on how I could get this to work?
>
> > > Thanks a lot in advance!
>
> > You're going to have to give more details. What exactly are the error
> > messages you see?
> > --
> > DR.
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Django users" group.
> > To post to this group, send email to django-us...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > django-users+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/django-users?hl=en.-Hide quoted text -
>
> > - Show quoted text -
>
> Thanks for your reply!
>
> When I typehttp://127.0.0.1:8000/in my browser, I get: "Internet
> Explorer cannot display the webpage"
>
> But I suppose you meant the errors/messages I get in the cmd...
>
> What I get there is:
>
> ------------------------------------------------------------------------
> Traceback (most recent call last):
> File "manage.py", line 11, in <module>
>     execute_manager(settings)
> File "c:\python26\lib\site-packages\django\core\management
> \__init__.py, line 362, in execute_manager
>     utility.execute()
> File "c:\python26\lib\site-packages\django\core\management
> \__init__.py, line 303, in execute
>     self.fetch_command(subcommand).run_from_argv(self.argv)
>
> ------------------------------------------------------------------------
>
> And it goes on like that for a while and ends with:
>
> ------------------------------------------------------------------------
>
> File "c:\python26\lib\site-packages\django\db\backends\mysql\base.py",
> line 13, in <module>
>    raise ImproperlyConfigured("Error loading MySQLdb module: %s" % e)
> django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb
> module: No module named MySQLdb
>
> ------------------------------------------------------------------------
>
> That's pretty much it...
>
> Does that help a little more?
>
> Thanks for your help!
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to 
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://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-us...@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