[BangPypers] ImportError: cannot import name make_option

OOMMEN KM oommenkm at gmail.com
Mon Jan 26 17:28:31 CET 2009


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
----------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/bangpypers/attachments/20090126/b0539e73/attachment.htm>


More information about the BangPypers mailing list