From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14703 invoked by alias); 19 Jun 2008 18:06:20 -0000 Received: (qmail 14693 invoked by uid 22791); 19 Jun 2008 18:06:19 -0000 X-Spam-Check-By: sourceware.org Received: from mail.artimi.com (HELO mail.artimi.com) (194.72.81.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 19 Jun 2008 18:05:52 +0000 Received: from ALBATROSS ([192.168.8.39]) by mail.artimi.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 19 Jun 2008 19:05:47 +0100 From: "Dave Korn" To: References: <719d28270806190808m283280eei85282dd302917818@mail.gmail.com> <719d28270806190812wd73479dve7c0678d30ceb216@mail.gmail.com> Subject: RE: Problem running Scripts in cygwin Date: Thu, 19 Jun 2008 20:32:00 -0000 Message-ID: <003e01c8d237$19d2d1a0$2708a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <719d28270806190812wd73479dve7c0678d30ceb216@mail.gmail.com> Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2008-06/txt/msg00392.txt.bz2 Calvin Cheng wrote on 19 June 2008 16:13: > I am having some trouble getting python to run scripts located in > "/cygdrive/c/Python25/Scripts" in cygwin. I get an error message > saying: > python: can't open file 'rst2html.py': [Errno 2] No such file or directory > > I can run those same scripts in "c:/Python/Scripts" correctly, with no > error, if i am in cmd prompt environment. You are using windows python, not cygwin python, so there's no way on earth it will ever understand posix file paths. > It really bothers me to have to switch to cmd prompt and cygwin > alternately to get some scripts running and I would love to get this > working in cygwin if someone could point me in the right direction or > have solved a similar problem? Has anyone managed to get this working > in both cmd and cygwin? Use cygwin python, not activestate. cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/