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 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes 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: <1277282895 DOT 5496 DOT 47 DOT camel AT YAAKOV04> Date: Wed, 23 Jun 2010 10:59:02 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: Quoted-Printable From: "Kay Drangmeister" Message-ID: 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 Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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) : > 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