Re: ImportError: No module named getopt

2006-11-23 Thread prashant
thanks a lot that helped... Fredrik Lundh wrote: > "prashant" wrote: > > > I am actually using Cygwin to run a python script. > > I have python 2.5 installed. But when i ran the command mentioned by > > you... I see that it is looking in the wrong directories... how can i > > change these look up

Re: ImportError: No module named getopt

2006-11-23 Thread Fredrik Lundh
"prashant" wrote: > I am actually using Cygwin to run a python script. > I have python 2.5 installed. But when i ran the command mentioned by > you... I see that it is looking in the wrong directories... how can i > change these look up directories? is PYTHONHOME perhaps set to the wrong thing?

Re: ImportError: No module named getopt

2006-11-23 Thread prashant
Thanks for the reply, I am actually using Cygwin to run a python script. I have python 2.5 installed. But when i ran the command mentioned by you... I see that it is looking in the wrong directories... how can i change these look up directories? Fredrik Lundh wrote: > "prashant" wrote: > > >I am

Re: ImportError: No module named getopt

2006-11-23 Thread Fredrik Lundh
"prashant" wrote: >I am running a python script which has the line > > import getopt, sys, os, re, string > > And i get the error > > ImportError: No module named getopt > > Could you please point out a possible solution for this? looks like a broken installation. try running the script as