delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/14/09:27:24

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: "Gerrit P. Haase" <gp AT familiehaase DOT de>
Organization: Esse keine toten Tiere
To: Andrew Markebo <flognat AT flognat DOT myip DOT org>
Date: Fri, 14 Sep 2001 15:17:04 +0200
MIME-Version: 1.0
Subject: Re: python 2.1.1 problems on cygwin 1.3.3-1
Reply-to: gp AT familiehaase DOT de
CC: cygwin AT cygwin DOT com
Message-ID: <3BA21F70.25374.13DF6307@localhost>
References: <3BA1A2F3 DOT 25353 DOT 11F91AC4 AT localhost>
In-reply-to: <m3y9ni9tsw.fsf@localhost.localdomain>
X-mailer: Pegasus Mail for Win32 (v3.12cDE)
X-Hops: 1
X-Sender: 320081107336-0001 AT t-dialin DOT net

Andrew Markebo schrieb am 2001-09-14, 8:21:

>Yep sounds like something is missing from your installation, or
>misinstalled.. which python are you trying to run, how and where is it
>installed, what is pythonpath set to, can you do import sys?

Python 2.1.1 (#2, Aug 23 2001, 10:41:44)

I think i got some environment variables set from an older Installation.

>        /Andy
>
>/ "Gerrit P. Haase" <gp AT familiehaase DOT de> wrote:
>| My script: make-version.py looks like this (shorter than original, 
>| probably only the first line will produce this error):
>| ======================================================
>| 
>| import re
>| import sys
>| 
>| This is the output:
>| ===================
>| $ python ./stepmake/bin/make-version.py
>| 'import site' failed; use -v for traceback
>| Traceback (most recent call last):
>|   File "./stepmake/bin/make-version.py", line 2, in ?
>|     import re
>| ImportError: No module named re
>| 
>| $ python -v ./stepmake/bin/make-version.py
>| 'import site' failed; traceback:
>| ImportError: No module named site
>| Python 2.1.1 (#2, Aug 23 2001, 10:41:44)
>| [GCC 2.95.3-5 (cygwin special)] on cygwin
>| Type "copyright", "credits" or "license" for more information.
>| Traceback (most recent call last):
>|   File "./stepmake/bin/make-version.py", line 2, in ?
>|     import re
>| ImportError: No module named re
>| # clear __builtin__._
>| # clear sys.path
>| # clear sys.argv
>| # clear sys.ps1
>| # clear sys.ps2
>| # clear sys.exitfunc
>| # clear sys.exc_type
>| # clear sys.exc_value
>| # clear sys.exc_traceback
>| # clear sys.last_type
>| # clear sys.last_value
>| # clear sys.last_traceback
>| # restore sys.stdin
>| # restore sys.stdout
>| # restore sys.stderr
>| # cleanup __main__
>| # cleanup[1] signal
>| # cleanup[1] exceptions
>| # cleanup sys
>| # cleanup __builtin__
>| # cleanup ints: 1 unfreed int in 1 out of 1 block
>| # cleanup floats
>| 
>| What did i wrong, or is s.th. missing from my installation?
>| 
>| Gerrit


-- 
=^..^=

--
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