Windows Install Tips

A quick guide to installing Python wheels on Windows.

This guide assumes no Python installation is available on a Windows machine, and your firewall allows downloading .whl files. This guide also assumes your Maya version is 2014-2017 (these use Python 2.7.x); adjust versions as necessary for earlier Maya versions. This guide will use 2016.5.

Some background

The Basics

The easiest, most direct way to get a native library for Windows is to download a pre-built binary. This avoids the need for a C(++) compiler and avoids unnecessary virtual environments.

To demonstrate, we will use Numpy and Scipy, two libraries useful for heavy number crunching and data filtering. Both of these libraries require C(++) compilation and Scipy depends on Numpy, so they are perfect for this method.

How To

NOTE: this directory cannot be in a Maya scripts path (such as %MAYA_APP_DIR%\maya2016.5\prefs\scripts or any path specified in the environment variable %MAYA_SCRIPTS_PATH%). I recommend something like %MAYA_APP_DIR%\deps.