Thank you all for responding to my doubt.<br><br>Yeah i tried to import it in the interactive shell of python, as parthan suggested, but it shows an error<br>&quot;Traceback (most recent call last):<br>&nbsp; File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;<br>
ImportError: cannot import name name_option&quot;<br><br>But I can import &#39;optparse&#39;<br><br><br>I checked my python version, its Python 2.5.1.<br><br>I have installed the django through the following steps<br><ul>
<li>downloded &nbsp; Django-1.0.tar.gz</li><li>tar -zxvf Django-1.0.tar.gz</li><li>cd Django-1.0</li><li>python setup.py install (as given in the INSTALL file)</li></ul>Thank You.<br><br><br><br><br><div class="gmail_quote">On Tue, Jan 27, 2009 at 6:00 AM,  <span dir="ltr">&lt;<a href="mailto:bangpypers-request@python.org">bangpypers-request@python.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Send BangPypers mailing list submissions to<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:bangpypers@python.org">bangpypers@python.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://mail.python.org/mailman/listinfo/bangpypers" target="_blank">http://mail.python.org/mailman/listinfo/bangpypers</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:bangpypers-request@python.org">bangpypers-request@python.org</a><br>
<br>
You can reach the person managing the list at<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:bangpypers-owner@python.org">bangpypers-owner@python.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of BangPypers digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
 &nbsp; 1. ImportError: cannot import name make_option (OOMMEN KM)<br>
 &nbsp; 2. Re: ImportError: cannot import name make_option (Parthan SR)<br>
 &nbsp; 3. Re: ImportError: cannot import name make_option (Senthil Kumaran)<br>
 &nbsp; 4. Re: ImportError: cannot import name make_option (Praveen Kumar)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Mon, 26 Jan 2009 11:28:31 -0500<br>
From: OOMMEN KM &lt;<a href="mailto:oommenkm@gmail.com">oommenkm@gmail.com</a>&gt;<br>
Subject: [BangPypers] ImportError: cannot import name make_option<br>
To: <a href="mailto:bangpypers@python.org">bangpypers@python.org</a><br>
Message-ID:<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:7114437c0901260828h33728965tb6e7f6a43bcae9f7@mail.gmail.com">7114437c0901260828h33728965tb6e7f6a43bcae9f7@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
Hi All,<br>
I am a beginner in Django Development.<br>
I have installed Django.<br>
<br>
&nbsp;As I was trying to build my first site in Django, I gave the<br>
django-admin.py &nbsp;command I got the following error.<br>
<br>
----------------<br>
Traceback (most recent call last):<br>
 &nbsp;File &quot;/usr/bin/django-admin.py&quot;, line 2, in &lt;module&gt;<br>
 &nbsp; &nbsp;from django.core import management<br>
 &nbsp;File<br>
&quot;/usr/lib/python2.5/site-packages/django/core/management/__init__.py&quot;, line<br>
7, in &lt;module&gt;<br>
 &nbsp; &nbsp;from django.core.management.base import BaseCommand, CommandError,<br>
handle_default_options<br>
 &nbsp;File &quot;/usr/lib/python2.5/site-packages/django/core/management/base.py&quot;,<br>
line 3, in &lt;module&gt;<br>
 &nbsp; &nbsp;from optparse import make_option, OptionParser<br>
ImportError: cannot import name make_option<br>
-----------------<br>
<br>
Can anyone help me in solving this issue.<br>
Or Can anyone guide me in building my first site.<br>
<br>
Thanking you in advance.<br>
<br>
<br>
--<br>
-------<br>
Mr. Oommen Mathew<br>
Python Software Analyst<br>
rKc Media Group Inc.<br>
<br>
Mob - +91 9446917322<br>
----------------------<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://mail.python.org/pipermail/bangpypers/attachments/20090126/b0539e73/attachment-0001.htm" target="_blank">http://mail.python.org/pipermail/bangpypers/attachments/20090126/b0539e73/attachment-0001.htm</a>&gt;<br>

<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Mon, 26 Jan 2009 22:36:10 +0530<br>
From: Parthan SR &lt;<a href="mailto:parth.technofreak@gmail.com">parth.technofreak@gmail.com</a>&gt;<br>
Subject: Re: [BangPypers] ImportError: cannot import name make_option<br>
To: Bangalore Python Users Group - India &lt;<a href="mailto:bangpypers@python.org">bangpypers@python.org</a>&gt;<br>
Message-ID: &lt;<a href="mailto:497DED82.8050408@gmail.com">497DED82.8050408@gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=UTF-8; format=flowed<br>
<br>
OOMMEN KM wrote:<br>
&gt;<br>
&gt; &nbsp; &nbsp; from optparse import make_option, OptionParser<br>
&gt; ImportError: cannot import name make_option<br>
&gt; -----------------<br>
&gt;<br>
&gt; Can anyone help me in solving this issue.<br>
What version of Python are you using? As far as I can see, optparse<br>
module comes in-built with python since v2.3.<br>
Can you try `from optparse import name_option` in a python shell opened<br>
in a terminal/command promt?<br>
<br>
--<br>
---<br>
With Regards,<br>
<br>
Parthan &quot;technofreak&quot;<br>
&lt;gpg&gt; &nbsp;2FF01026<br>
&lt;blog&gt; <a href="http://blog.technofreak.in" target="_blank">http://blog.technofreak.in</a><br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Mon, 26 Jan 2009 23:45:24 +0530<br>
From: Senthil Kumaran &lt;<a href="mailto:orsenthil@gmail.com">orsenthil@gmail.com</a>&gt;<br>
Subject: Re: [BangPypers] ImportError: cannot import name make_option<br>
To: Bangalore Python Users Group - India &lt;<a href="mailto:bangpypers@python.org">bangpypers@python.org</a>&gt;<br>
Message-ID:<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:7c42eba10901261015p54d12fc4p2c7a5080e0ce3452@mail.gmail.com">7c42eba10901261015p54d12fc4p2c7a5080e0ce3452@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=UTF-8<br>
<br>
&gt; OOMMEN KM &lt;<a href="mailto:oommenkm@gmail.com">oommenkm@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; &nbsp;As I was trying to build my first site in Django, I gave the<br>
&gt; django-admin.py &nbsp;command I got the following error.<br>
&gt;<br>
&gt; ----------------<br>
&gt; Traceback (most recent call last):<br>
<br>
Seems to be a problem either with your installation of Django or<br>
incompatibility issue.<br>
<br>
Couple of things to do.<br>
1) Version of python: Do python -V<br>
&gt;From your traceback it seems you are using Python 2.5. But still it is<br>
required to list the version and make sure you are using the latest.<br>
2) How are you installing django? Just mention the steps.<br>
<br>
And try Parthan SR&#39;s suggestion also.<br>
<br>
<br>
--<br>
Senthil<br>
<br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Tue, 27 Jan 2009 10:28:44 +0530<br>
From: Praveen Kumar &lt;<a href="mailto:praveen@mahiti.org">praveen@mahiti.org</a>&gt;<br>
Subject: Re: [BangPypers] ImportError: cannot import name make_option<br>
To: Bangalore Python Users Group - India &lt;<a href="mailto:bangpypers@python.org">bangpypers@python.org</a>&gt;<br>
Message-ID:<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:6f7fd6e90901262058g1f5a3881ocfe1201212f761e3@mail.gmail.com">6f7fd6e90901262058g1f5a3881ocfe1201212f761e3@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
Hi OOmen<br>
<br>
If you are really beginner of Django<br>
<br>
please go through<br>
<a href="http://www.ibm.com/developerworks/linux/library/l-django/to" target="_blank">http://www.ibm.com/developerworks/linux/library/l-django/to</a> understand<br>
the installation and configuration.<br>
<br>
you are trying to import<br>
<br>
<a href="http://code.djangoproject.com/browser/django/trunk/django/contrib/gis/management/commands/ogrinspect.py?rev=8219&amp;f" target="_blank">code.djangoproject.com/browser/django/trunk/django/contrib/gis/management/commands/ogrinspect.py?rev=8219&amp;f</a><br>

<br>
On Mon, Jan 26, 2009 at 9:58 PM, OOMMEN KM &lt;<a href="mailto:oommenkm@gmail.com">oommenkm@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Hi All,<br>
&gt; I am a beginner in Django Development.<br>
&gt; I have installed Django.<br>
&gt;<br>
&gt; &nbsp;As I was trying to build my first site in Django, I gave the<br>
&gt; django-admin.py &nbsp;command I got the following error.<br>
&gt;<br>
&gt; ----------------<br>
&gt; Traceback (most recent call last):<br>
&gt; &nbsp; File &quot;/usr/bin/django-admin.py&quot;, line 2, in &lt;module&gt;<br>
&gt; &nbsp; &nbsp; from django.core import management<br>
&gt; &nbsp; File<br>
&gt; &quot;/usr/lib/python2.5/site-packages/django/core/management/__init__.py&quot;, line<br>
&gt; 7, in &lt;module&gt;<br>
&gt; &nbsp; &nbsp; from django.core.management.base import BaseCommand, CommandError,<br>
&gt; handle_default_options<br>
&gt; &nbsp; File &quot;/usr/lib/python2.5/site-packages/django/core/management/base.py&quot;,<br>
&gt; line 3, in &lt;module&gt;<br>
&gt; &nbsp; &nbsp; from optparse import make_option, OptionParser<br>
&gt; ImportError: cannot import name make_option<br>
&gt; -----------------<br>
&gt;<br>
&gt; Can anyone help me in solving this issue.<br>
&gt; Or Can anyone guide me in building my first site.<br>
&gt;<br>
&gt; Thanking you in advance.<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; -------<br>
&gt; Mr. Oommen Mathew<br>
&gt; Python Software Analyst<br>
&gt; rKc Media Group Inc.<br>
&gt;<br>
&gt; Mob - +91 9446917322<br>
&gt; ----------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; BangPypers mailing list<br>
&gt; <a href="mailto:BangPypers@python.org">BangPypers@python.org</a><br>
&gt; <a href="http://mail.python.org/mailman/listinfo/bangpypers" target="_blank">http://mail.python.org/mailman/listinfo/bangpypers</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
--<br>
Praveen Kumar<br>
Software Engineer<br>
Mahiti Infotech Pvt. Ltd.<br>
# 33-34, Hennur Cross<br>
Hennur Main Road<br>
Bangalore, India - 560043<br>
Mobile: &nbsp;+91 9343297314<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;+91 9739854134<br>
<a href="http://www.mahiti.org" target="_blank">http://www.mahiti.org</a><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://mail.python.org/pipermail/bangpypers/attachments/20090127/8092fe21/attachment-0001.htm" target="_blank">http://mail.python.org/pipermail/bangpypers/attachments/20090127/8092fe21/attachment-0001.htm</a>&gt;<br>

<br>
------------------------------<br>
<br>
_______________________________________________<br>
BangPypers mailing list<br>
<a href="mailto:BangPypers@python.org">BangPypers@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/bangpypers" target="_blank">http://mail.python.org/mailman/listinfo/bangpypers</a><br>
<br>
<br>
End of BangPypers Digest, Vol 17, Issue 31<br>
******************************************<br>
</blockquote></div><br><br clear="all"><br>-- <br>-------<br>Mr. Oommen Mathew<br>Sr. Python Software Analyst<br>rKc Media Group Inc.<br><br>Mob - +91 9446917322<br>----------------------<br>