Re: argparse for cygwin python

2012-01-17 Thread Rick Rankin
- Original Message - > From: Jason Tishler > To: xxx@xxx > Cc: > Sent: Tuesday, January 17, 2012 11:23 AM > Subject: Re: argparse for cygwin python > > On Tue, Jan 17, 2012 at 01:04:46PM -0500, LMH wrote: >> I have a python script and when I try to r

Re: argparse for cygwin python

2012-01-17 Thread Yaakov (Cygwin/X)
On Tue, 2012-01-17 at 13:23 -0500, Jason Tishler wrote: > See the following: > > http://docs.python.org/dev/library/argparse.html > > argparse is not available until Python 3.2; Cygwin Python is 2.6. It is also in 2.7, FWIW. But it can also be installed separately for older versions of Pyth

Re: argparse for cygwin python

2012-01-17 Thread Jason Tishler
On Tue, Jan 17, 2012 at 01:04:46PM -0500, LMH wrote: > I have a python script and when I try to run it I get an error for no > such module, "ImportError: No module named argparse". > > [snip] > > Any suggestions? See the following: http://docs.python.org/dev/library/argparse.html argparse

Re: argparse for cygwin python

2012-01-17 Thread LMH
Thanks for the information, but that didn't fix the issue. There is now a file argparse.py located in, cygwin\lib\python2.6\site-packages\stgit but I am still getting the error. Do I need to restart or something, or do I need to do something else to let python know where the package is? LMH

Re: argparse for cygwin python

2012-01-17 Thread marco atzeri
On 1/17/2012 7:04 PM, LMH wrote: I have a python script and when I try to run it I get an error for no such module, "ImportError: No module named argparse". The only package I have installed is numpy, but I don't see argparse mentioned in any of the other packages. I have run this script on this

argparse for cygwin python

2012-01-17 Thread LMH
I have a python script and when I try to run it I get an error for no such module, "ImportError: No module named argparse". The only package I have installed is numpy, but I don't see argparse mentioned in any of the other packages. I have run this script on this computer before, but I don't r