delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/14/11:10:55

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: Jason Tishler <cygwin AT cygwin DOT com>
Date: Fri, 14 Sep 2001 17:08:31 +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: <3BA2398F.1873.14456936@localhost>
In-reply-to: <20010914090840.J2272@dothill.com>
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

Jason Tishler schrieb am 2001-09-14, 9:08:

>Gerrit,
>
>On Fri, Sep 14, 2001 at 06:25:55AM +0200, Gerrit P. Haase wrote:
[...]
>> ImportError: No module named re
>
>I just tried the above and it works for me.  I'm using 2000 -- IIRC, you
>are using NT 4.0.  Correct?  Although, this should not be relevant.

Yes, it was my fault, there were some old environment variables set...

[snap]
>> [snip]
>> 
>> What did i wrong, or is s.th. missing from my installation?
>
>The site and re modules are not missing from the tarball:
>
>    $ tar -tjf python-2.1.1-1.tar.bz2 | egrep '/(site|re)\.py$'
>    usr/lib/python2.1/re.py
>    usr/lib/python2.1/site.py
>
>Please do the following and report back:
>
>    $ python -c 'import sys; print sys.path'
>    ['', '/usr/lib/python2.1', '/usr/lib/python2.1/plat-cygwin', '/usr/lib/python2.1/lib-tk', '/usr/lib/python2.1/lib-dynload',
>    '/usr/lib/python2.1/site-packages', '/usr/lib/python2.1/site-packages/python-ldap'] $ ls -l /usr/bin/*python* -rwxrwxrwx    1 Administ None      
>    510464 Aug 23 10:44 /usr/bin/libpython2.1.dll lrwxrwxrwx    1 Administ None           24 Sep 14 08:54 /usr/bin/python.exe -> python2.1.exe
>    -rwxrwxrwx    1 Administ None         3072 Aug 23 10:44 /usr/bin/python2.1.exe $ ls -l /usr/lib/python2.1/site.py /usr/lib/python2.1/re.py
>    -rwxrwxrwx    1 Administ None          817 Aug 23 10:42 /usr/lib/python2.1/re.py -rwxrwxrwx    1 Administ None         9041 Aug 23 10:42
>    /usr/lib/python2.1/site.py

$ python -c 'import sys; print sys.path'
['', '/usr/lib/python2.1/lib-dynload', '/usr/lib/python2.1', '/usr/lib/python2.1/plat-cygwin', '/usr/lib/python2.1/lib-tk', '/usr/lib/python2.1/site-
packages']

Thanks for the help,

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