All the standard Numpy binaries for Python 2.6 and 2.7.3 are both compiled with VS2008. As Maya's python was compiled against VS2010 you also need a version of Numpy that is compiled against VS2010. Its probably unlikely you'll find a pre-compiled installer compiled against that as its not standard to have Python 2.6/2.7 compiled against VS2010.
The only solution is to try and build Numpy yourself from source, though I think Numpy has quite a few dependencies so may not be the easiest to compile. Mike. From: [email protected] [mailto:[email protected]] On Behalf Of Daniel Sanchez Sent: 19 April 2013 18:58 To: [email protected] Subject: Re: [Maya-Python] Numpy not working in maya Yes, It is maya x64, and I`ve tried the numpy for 64x precompiled I finded over numpy web.... Any clue?? Thanks 2013/4/19 Ravi Jagannadhan <[email protected]<mailto:[email protected]>> I had these issues too, are you running Maya 64 bit? I think numpy is only 32-bit. On Fri, Apr 19, 2013 at 5:45 AM, Daniel Sanchez <[email protected]<mailto:[email protected]>> wrote: Hi!! First post here!! Im currently triying to install numpy on maya 2013 x64, and Im getting mad.... :( I've been searching for a solution but nothing have worked: import numpy # Error: DLL load failed: A dynamic link library (DLL) initialization routine failed. # Traceback (most recent call last): # File "<maya console>", line 1, in <module> # File "C:\Program Files\Ilion\IlionMayaFramework\2013\ilion_maya_framework\shared\bin\site-packages\numpy\__init__.py", line 154, in <module> # import add_newdocs # File "C:\Program Files\Ilion\IlionMayaFramework\2013\ilion_maya_framework\shared\bin\site-packages\numpy\add_newdocs.py", line 9, in <module> # from numpy.lib import add_newdoc # File "C:\Program Files\Ilion\IlionMayaFramework\2013\ilion_maya_framework\shared\bin\site-packages\numpy\lib\__init__.py", line 4, in <module> # from type_check import * # File "C:\Program Files\Ilion\IlionMayaFramework\2013\ilion_maya_framework\shared\bin\site-packages\numpy\lib\type_check.py", line 8, in <module> # import numpy.core.numeric as _nx # File "C:\Program Files\Ilion\IlionMayaFramework\2013\ilion_maya_framework\shared\bin\site-packages\numpy\core\__init__.py", line 5, in <module> # import multiarray # ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed. # I've read something about that maya python is compiled with vs2010 and numpy for python2.6 needs vsc71, I've also tried to install numpy for python2.7 but neither is working. Do anyone have a clue about it? Thanks for all in advance!!! -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:python_inside_maya%[email protected]>. To post to this group, send email to [email protected]<mailto:[email protected]>. For more options, visit https://groups.google.com/groups/opt_out. -- Where we have strong emotions, we're liable to fool ourselves - Carl Sagan -- You received this message because you are subscribed to a topic in the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/python_inside_maya/xj6JiJhP91s/unsubscribe?hl=en-US. To unsubscribe from this group and all its topics, send an email to [email protected]<mailto:python_inside_maya%[email protected]>. To post to this group, send email to [email protected]<mailto:[email protected]>. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. To post to this group, send email to [email protected]<mailto:[email protected]>. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
