I have numpy installed and it works fine in eclipse.
I'm not sure the versions that I have installed for python, it might be 32 bit?
I just did a fresh install of numpy 1.6.2 - 32 bit version. (64 bit numpy won't 
install because it cant find python in the registry)
I'm running in 64 bit maya.

however when I try to run numpy within maya I get the following error:

# Error: ImportError: DLL load failed: %1 is not a valid Win32 application. # 

I have the proper path as well.

import sys
for path in sys.path: print path
C:\Program Files\Autodesk\Maya2012\bin
C:\Program Files\Autodesk\Maya2012\phoenixfd\scripts\PythonPath=%PYTHONPATH%
M:\pytemp
C:\Python26
C:\Python26\Scripts
C:\Python26\Lib
C:\Python26\Lib\site-packages
C:\Python26\Lib\site-packages\numpy
C:\Python26\Lib\site-packages\pygame
M:\python\ExternalFunctions
M:\python\pytemp
C:\Users\eatdrink\Documents\maya\2012-x64\scripts
C:\Program Files (x86)\RenderHeads\UVAutoRatio 2.0 Pro\scripts
C:\Program Files\Autodesk\Maya2011\bin\plug-ins\pdiMaya_2011\scripts
C:\Program Files\Autodesk\MayaBonusTools2012\scripts
C:\Program Files\Autodesk\Maya2012\vray\scripts
C:\Program Files\ticket01\Boole\2012x64\scripts
C:\Program Files\Autodesk\Maya2012\phoenixfd\scripts
C:\Program Files (x86)\dRaster\NEX\2012-x64\scripts
C:\Program Files\ticket01\MultiTool\2012x64\scripts
C:\Program Files\NVIDIA Corporation\PhysX for Maya\Maya 2012\scripts
C:\Program Files\Autodesk\Maya2012\bin\python26.zip
C:\Program Files\Autodesk\Maya2012\Python\DLLs
C:\Program Files\Autodesk\Maya2012\Python\lib
C:\Program Files\Autodesk\Maya2012\Python\lib\plat-win
C:\Program Files\Autodesk\Maya2012\Python\lib\lib-tk
C:\Program Files\Autodesk\Maya2012\bin
C:\Program Files\Autodesk\Maya2012\Python
C:\Program Files\Autodesk\Maya2012\Python\lib\site-packages
C:\Program Files\Autodesk\Maya2012\bin\python26.zip\lib-tk
C:/Users/eatdrink/Documents/maya/2012-x64/prefs/scripts
C:/Users/eatdrink/Documents/maya/2012-x64/scripts
C:/Users/eatdrink/Documents/maya/scripts
C:/Python26/Lib/site-packages/
C:/Python26/Lib/site-packages/
C:/Users/eatdrink/Documents/Phoenix FD/samples maya/scripts

any clues?

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].


Reply via email to