This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Case resolved (was: Python 2.6 - ctypes (specifically _ctypes) cannot be imported - Eclipse pydev integration broken as a result)


Hi,

Am 23.06.2010, 10:48 Uhr, schrieb Yaakov (Cygwin/X) <yselkowitz@users.sourceforge.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 pydev
plugin works with the cygwin python interpreter very well.

All the best, have a very nice week, greetings from Würzburg
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]