[GUIDE] Numpy+Scipy for Maya Windows 64 bit

I’ve seen a lot of queries about getting scipy working in Maya (Windows 64 bit) with a few not 100% reproducible answers.

So after a long personal struggle with the problem, here’s my solution which will hopefully end the madness for all Windows Maya users:

TL;DR version

Click here to grab Maya 2014-2015-2016 tested versions of numpy ,scipy, numexpr and other useful packages…

unzip them somewhere relevant to PYTHONPATH. Congratulations! You can now use scipy in all it’s glory!

Do-It-Yourself guide

This tutorial used to be very long and involved using a custom version of python to build numpy and scipy from scratch. But this is no longer the case :slight_smile:

All you need now is a standard install of Python 2.7 64 bit. If you don’t have it, get the 64 bit installer here.. You will need it to install custom Python wheels using PIP.

The wheels I use are made by “carlkl”. His builds use OpenBLAS, which I haven’t benchmarked against builds made with Intel MLK, but they work fine for my needs and, I presume, most Maya users out there. To get the packages, run these two commands:

pip install -i https://pypi.anaconda.org/carlkl/simple numpy
pip install -i https://pypi.anaconda.org/carlkl/simple scipy

Once PIP has installed both packages, copy them somewhere relevant to PYTHONPATH.

Congratulations, you’re ready to rock!

1 Like

Great, saved me a lot of time, I’m not a huge fan of setting up an environment (who is?).
Edit: I’m using your binaries with Maya 2016

Thank you veeeeery much! Finally I have a working numpy )) Couldn’t get it to work for a long time ))

Hey there, is it possible to get an updated download link? Looks like the google drive link isn’t working.

Edit: installed the wheel files, working fine with Maya 2016, thank you!