Subject: RE: python 2.1.1 problems on cygwin 1.3.3-1
From: "Gerrit P. Haase" <[email-masked]>
To: <[email-masked]>
Date: Fri, 14 Sep 2001 15:21:15 +0200

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/