On Monday, October 17, 2011 at 2:42:48 AM UTC-7, rais wrote:
> is anybody successful installation  NumPy and SciPy in maya on
> windows?
> 
> i try but don't work

For Maya 2014 and up what you need is a full version of Python 2.7 compiled 
against MSVC2010 from where you can then build python packages with .dll 
dependencies (like scipy). Luckily, someone has done the hard work of 
explaining how to do this here:

http://p-nand-q.com/python/building-python-27-with-vs2010.html

The author goes in lengths discussing the reasons you'd want to do this and the 
step required to proceed. He also provides you with prebuilt binaries, which is 
really nice.

Once you have a stable MSVC2010 version of python2.7 64 bit running, you should 
be able to build python wheels with .dll dependencies:

http://pythonwheels.com

The best part of python wheels is that it lets you install a C extension with 
no compilers. So, now you can now use your new VS2010 version of pip to install 
numpy, scipy, and other python packages you want, which should  work with 
mayapy.

To save you some work, feel free to go ahead and grab the builds I currently 
use here:

https://drive.google.com/folderview?id=0BwsYd1k8t0lEfjJqV21yTnd2elVhNXEyTXhHclhxbDhvWVF5WWZUeVFISWViaFh1TzhrNTQ&usp=sharing


Cheers!

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/99919bdb-4bdc-4bac-9ed5-c4cdf22903d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to