title: Installing NumPy on Windows
body: <p>I'm simply unable to install NumPy on Windows. I keep getting this error -</p>
  <pre><code>PS C:\python27&gt; pip install http://sourceforge.net/projects/numpy/file/NumPy/
  Collecting http://sourceforge.net/projects/numpy/files/NumPy/
  Downloading http://sourceforge.net/projects/numpy/files/NumPy/ (58kB)
  100% |################################| 61kB 15kB/s
  Cannot unpack file c:\users\toshiba\appdata\local\temp\pip-qev4rz-unpack\NumPy
  (downloaded from c:\users\toshiba\appdata\local\temp\pip-omripn-build, content-type: text/html; charset=utf-8); cannot detect archive format
  Cannot determine archive format of c:\users\toshiba\appdata\local\temp\pip-omripn-build
  </code></pre>
  <p>I had a Python 64 bit version earlier and I was not sure if NumPy version was compatible with 64-bit Python. So I uninstalled it and installed a 32-bit Python version. But still I'm getting the same error. Though my Python 32-bit version is working fine.</p>
  <p>I tried &quot;pip install numpy&quot;, but that gave me the following error at the end -</p>
  <pre><code>C:\Python27\lib\distutils\dist.py:267: UserWarning: Unknown distribution option: 'define_macros'
  
    warnings.warn(msg)
  
  error: Unable to find vcvarsall.bat
  
  ----------------------------------------
  Command &quot;C:\Python27\python.exe -c &quot;import setuptools,tokenize;__file__='c:\\users\\toshiba\\appdata\\local\\temp\\pip-build-hdhqex\\numpy\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'),__file__, 'exec'))&quot; install --record c:\users\toshiba\appdata\local\temp\pip-x_6llm-record\install-record.txt --single-version-externally-managed --compile&quot; failed with error code 1 in c:\users\toshiba\appdata\local\temp\pip-build-hdhqex\numpy
  </code></pre>
  <p>What might I be doing wrong?</p>