Hi, That sounds like an error loading the _ctypes binary (.dll/.so/.dylib) from disk. This is distinct from the ctypes Python library, which relies on that binary.
Have you tried it with a more recent version of Nuke? Some of the versions from a couple of years ago, like 6.1v2, had some issues with some less-commonly-used Python DLLs being missing or incorrect. I'm not sure of all of the details without looking more thoroughly, though. Cheers, - Chris On 26 July 2012 09:39, nookieita <[email protected]> wrote: > ** > as from title, if I try to import ctypes in nuke6.1v2 I get this error: > > *Code:* import ctypes > # Result: Traceback (most recent call last): > File "**", line 1, in ** > File "C:\Program Files\Nuke6.1v2\lib\ctypes\__init__.py", line 10, in ** > from _ctypes import Union, Structure, Array > ImportError: No module named _ctypes > > I also tryed to import it from the Python main folder but with no luck. > However, if I try to import it in another package (softimage for example) > I have no problem at all. > > Any idea? > > Thanks > > _______________________________________________ > Nuke-python mailing list > [email protected], http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python > > -- Chris Bevan, Senior Software Engineer The Foundry, 6th Floor, The Communications Building 48 Leicester Square, London, WC2H 7LT Tel: +44 (0)20 7968 6828 | Fax: +44 (0)20 7930 8906 Web: www.thefoundry.co.uk The Foundry Visionmongers Ltd Registered in England and Wales No: 4642027
_______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
