This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Can't run NumTut on cygwin-hosted python


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]