Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: "Gerrit P. Haase" Organization: Esse keine toten Tiere To: Jason Tishler Date: Fri, 14 Sep 2001 17:08:31 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT 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/