Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Date: Wed, 09 Oct 2002 10:16:27 -0400 From: Jason Tishler Subject: Re: Can't run NumTut on cygwin-hosted python In-reply-to: <013f01c26ef5$197dc170$40cf5380@cvis.psy.utexas.edu> To: cygwin AT cygwin DOT com Mail-followup-to: cygwin AT cygwin DOT com Message-id: <20021009141627.GC1704@tishler.net> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4i References: <013f01c26ef5$197dc170$40cf5380 AT cvis DOT psy DOT utexas DOT edu> Jeff, On Tue, Oct 08, 2002 at 01:04:09PM -0500, Jeff Perry wrote: > TclError: couldn't open "/c/winnt/temp/@1536.0.ppm": no such file or directory ^^^^^^^^ It took downloading Numeric and NumTut, building and installing Numeric, and reproducing the error to realize what should have been obvious (to me) from the above. Sigh... :,( The problem is that the standard Cygwin distribution includes a Win32 TCL and not a Cygwin version. Hence, it is does not understand Cygwin style (i.e., Posix) paths, mounts, symlinks, etc. Until a Cygwin TCL is included in the distribution, you can use the following cygpath workaround: $ TMP=$(cygpath -w $TMP) python Python 2.2.1 (#1, Jun 25 2002, 10:55:46) [GCC 2.95.3-5 (cygwin special)] on cygwin Type "help", "copyright", "credits" or "license" for more information. >>> from NumTut import * >>> view(greece) >>> Jason -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/