delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/14/09:26:32

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: <cygwin AT cygwin DOT com>
Date: Fri, 14 Sep 2001 15:21:15 +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
Message-ID: <3BA2206B.23412.13E33654@localhost>
In-reply-to: <004901c13d05$a88e1860$a300a8c0@nhv>
References: <3BA1A2F3 DOT 25353 DOT 11F91AC4 AT localhost>
X-mailer: Pegasus Mail for Win32 (v3.12cDE)
X-Hops: 1
X-Sender: 320081107336-0001 AT t-dialin DOT net

Norman Vine schrieb am 2001-09-14, 6:11:

>Gerrit P. Haase writes:
>>
>>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
>
>Hmm....
>
>What .lnk python entries are in  / usr / local / bin
>
>specifically is there a python.lnk 
>and if so what is it pointing to.
>
>Norman Vine

I've found the problem:
From .bashrc:

# Python
export PYTHONHOME=/usr/local
export PYTHONPATH=/usr/local/lib/python2.1/lib-dynload


Thank ypu,

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