delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/01/30/23:19:36

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.3 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_64,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Hongyi Zhao <hongyi DOT zhao AT gmail DOT com>
Subject: Re: The error of *import socket* within python.
Date: Sat, 31 Jan 2009 12:19:04 +0800
Lines: 29
Message-ID: <v1k7o45ak2q161f31n1etp9s8ga89dhitq@4ax.com>
References: <ldb6o45u63o5v8nagks089q8d0ir1hp4sm AT 4ax DOT com> <20090130222427 DOT GE11828 AT tishler DOT net>
Mime-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Fri, 30 Jan 2009 17:24:27 -0500, Jason Tishler <jason AT tishler DOT net>
wrote:

>cygcheck -c python

Please see the following infomation.  Note, this time, I use the
python 2.5.1-2 which is the default one installed by cygwin, i.e.,
instead of Python 2.5.2:

werner AT 6bfcc76be8b548c ~
$ cygcheck -c python
Cygwin Package Information
Package              Version        Status
python               2.5.1-2        OK

werner AT 6bfcc76be8b548c ~
$ python
'import site' failed; use -v for traceback
Python 2.5.1 (r251:54863, May 18 2007, 16:56:43)
[GCC 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import socket
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named socket
>>>

-- 
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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