yup ctype only work on python 32 bit... since maya 64 uses python 64, ctype is not working in maya 64
On Sun, Apr 5, 2009 at 12:38 PM, barnabas79 <[email protected]> wrote: > > Ok, after doing some poking around, looks like the problem is on > python's end: on my regular windows x64 python install, I can't import > ctypes, whereas on my 32-bit python, I can. > > So, I guess there's not just no ctypes in windows 64-bit maya... > > - Paul > > On Apr 5, 9:21 am, barnabas79 <[email protected]> wrote: > > Hi all - so, I can't use ctypes within maya. If I try, I get this: > > > > import ctypes > > # Error: No module named _ctypes > > # Traceback (most recent call last): > > # File "<maya console>", line 1, in <module> > > # File "...\Autodesk\Maya2009\bin\python25.zip\ctypes\__init__.py", > > line 10, in <module> > > # > > # ImportError: No module named _ctypes # > > > > I did a quick search, and a couple of other people make references to > > it, so I assume it works for them. Is this a platform issue (I'm > > using XPx64), or something peculiar to my installation? Can someone > > else on here confirm whether it does (not) work for them, and what os > > they're using? > > > > I tried it on windows xp x64, in both 2008x64 and 2009x64, no love in > > either... > > > > - Paul > > > -- They say, "Evil prevails when good men fail to act." What they ought to say is, "Evil prevails." Nicolas Cage as Yuri Orlov in Lord of War. --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/python_inside_maya -~----------~----~----~----~------~----~------~--~---
