[BangPypers] ImportError: cannot import name make_option

Praveen Kumar praveen at mahiti.org
Tue Jan 27 05:58:44 CET 2009


Hi OOmen

If you are really beginner of Django

please go through
http://www.ibm.com/developerworks/linux/library/l-django/to understand
the installation and configuration.

you are trying to import

code.djangoproject.com/browser/django/trunk/django/contrib/gis/management/commands/ogrinspect.py?rev=8219&f

On Mon, Jan 26, 2009 at 9:58 PM, OOMMEN KM <oommenkm at gmail.com> wrote:

> Hi All,
> I am a beginner in Django Development.
> I have installed Django.
>
>  As I was trying to build my first site in Django, I gave the
> django-admin.py  command I got the following error.
>
> ----------------
> Traceback (most recent call last):
>   File "/usr/bin/django-admin.py", line 2, in <module>
>     from django.core import management
>   File
> "/usr/lib/python2.5/site-packages/django/core/management/__init__.py", line
> 7, in <module>
>     from django.core.management.base import BaseCommand, CommandError,
> handle_default_options
>   File "/usr/lib/python2.5/site-packages/django/core/management/base.py",
> line 3, in <module>
>     from optparse import make_option, OptionParser
> ImportError: cannot import name make_option
> -----------------
>
> Can anyone help me in solving this issue.
> Or Can anyone guide me in building my first site.
>
> Thanking you in advance.
>
>
> --
> -------
> Mr. Oommen Mathew
> Python Software Analyst
> rKc Media Group Inc.
>
> Mob - +91 9446917322
> ----------------------
>
> _______________________________________________
> BangPypers mailing list
> BangPypers at python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>
>


-- 
Praveen Kumar
Software Engineer
Mahiti Infotech Pvt. Ltd.
# 33-34, Hennur Cross
Hennur Main Road
Bangalore, India - 560043
Mobile:  +91 9343297314
            +91 9739854134
http://www.mahiti.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/bangpypers/attachments/20090127/8092fe21/attachment.htm>


More information about the BangPypers mailing list