X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: Yes, hits=5.4 required=5.0 tests=AWL,BAYES_20,BOTNET,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Date: Tue, 17 Jan 2012 13:23:28 -0500 From: Jason Tishler To: cygwin AT cygwin DOT com Subject: Re: argparse for cygwin python Message-id: <20120117182328.GA3564@tishler.net> Mail-followup-to: cygwin AT cygwin DOT com References: <4F15B83E DOT 8040408 AT molconn DOT com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline In-reply-to: <4F15B83E.8040408@molconn.com> User-Agent: Mutt/1.4.2.1i X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 is not available until Python 3.2; Cygwin Python is 2.6. Jason -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple