X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-50.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_BF,TW_GF,TW_YG X-Spam-Check-By: sourceware.org Subject: Re: Python 2.6 - ctypes (specifically _ctypes) cannot be imported - Eclipse pydev integration broken as a result From: "Yaakov (Cygwin/X)" To: cygwin In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Wed, 23 Jun 2010 03:48:15 -0500 Message-ID: <1277282895.5496.47.camel@YAAKOV04> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit 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 On Wed, 2010-06-23 at 10:37 +0200, Kay Drangmeister wrote: > Hi. > > I updated cygwin a day ago and thus upgraded from python 2.5 to python 2.6. > Now the eclipse integration (pydev plugin) does no longer work correctly, > I drilled down the problem to the issue that ctypes cannot be imported > correctly. (This worked with python 2.5.) > > Can I do something specific to track down the problem further? cygcheck /usr/lib/python2.6/lib-dynload/_ctypes.dll My hunch is that cygffi-4.dll cannot be found, as that is a new dep of python ctypes. If I'm right, install the libffi4 package and it should work. (Jason: libffi4 is missing from python's requires:, and libncurses9 is still listed instead of libncursesw10. I fixed these on sourceware; please be sure to fix your local copy as well.) Yaakov -- 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