delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/09/10:12:03

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <jason AT tishler DOT net>
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
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019