www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/06/23/04:59:37

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,TW_BF,TW_GF,TW_YG
X-Spam-Check-By: sourceware.org
X-pair-Authenticated: 195.71.159.150
To: cygwin AT cygwin DOT com
Subject: Case resolved (was: Python 2.6 - ctypes (specifically _ctypes) cannot be imported - Eclipse pydev integration broken as a result)
References: <op DOT veqvksdlhiwlwc AT afa-30100 DOT empolis DOT local> <1277282895 DOT 5496 DOT 47 DOT camel AT YAAKOV04>
Date: Wed, 23 Jun 2010 10:59:02 +0200
MIME-Version: 1.0
From: "Kay Drangmeister" <kay AT drangmeister DOT net>
Message-ID: <op.veqwkorvhiwlwc@afa-30100.empolis.local>
In-Reply-To: <1277282895.5496.47.camel@YAAKOV04>
User-Agent: Opera Mail/10.54 (Win32)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

Hi,

Am 23.06.2010, 10:48 Uhr, schrieb Yaakov (Cygwin/X) <yselkowitz AT users DOT sourc=
eforge.net>:
> cygcheck /usr/lib/python2.6/lib-dynload/_ctypes.dll
Sorry, did not know that command,

$ cygcheck /usr/lib/python2.6/lib-dynload/_ctypes.dll
C:\Utilities\cygwin\lib\python2.6\lib-dynload\_ctypes.dll
   C:\Utilities\cygwin\bin\libpython2.6.dll
     C:\Utilities\cygwin\bin\cygwin1.dll
       C:\WINDOWS\system32\ADVAPI32.DLL
         C:\WINDOWS\system32\KERNEL32.dll
           C:\WINDOWS\system32\ntdll.dll
         C:\WINDOWS\system32\RPCRT4.dll
           C:\WINDOWS\system32\Secur32.dll
     C:\Utilities\cygwin\bin\cyggcc_s-1.dll
cygcheck: track_down: could not find cygffi-4.dll

> install the libffi4 package
DONE

$ python
Python 2.6.5 (r265:79063, Jun 12 2010, 17:07:01)
[GCC 4.3.4 20090804 (release) 1] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import ctypes
>>>

Yay!

> (Jason: libffi4 is missing from python's requires

Seems like it. Thank you so much Yaakov. Sorry I browsed over the "problems=
.html"
webpage, but overlooked the existence of cygcheck.

So thanks again, hereby I confirm not only ctypes works, but the eclipse py=
dev
plugin works with the cygwin python interpreter very well.

All the best, have a very nice week, greetings from W=FCrzburg
Kay

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019