3

It seems the whole world is using Linux or Mac, and I couldn't find any answer on the web to question "How to properly upgrade numpy on Windows 7?". I use Windows 7, python 2.7 and numpy 1.7.1, how do I upgrade to numpy 1.9.1 on my machine?

alwbtc
  • 28,057
  • 62
  • 134
  • 188

3 Answers3

2

It will be based on your installation.

Community
  • 1
  • 1
  • 1
    'pip install -upgrade numpy' gave me an error saying "no such option: -u" but 'pip install --upgrade numpy' did the work for me – owl Feb 15 '16 at 01:37
2

My suggestion is uninstall numpy and install again. When you uninstall, it will delete the older version of numpy from your computer. When you install with pip again it will install recent version of numpy.

pip uninstall numpy #removes numpy with older version
pip install   numpy #install new version of numpy
Harun ERGUL
  • 5,770
  • 5
  • 53
  • 62
0

It seems you have installed numpy 1.7 using windows binary installer, as you can see numpy uninstall in Control Panel.

So best way to upgrade numpy is to uninstall your current version and download windows binary of recent desired version from:

Sourceforge numpy Download

This link has all numpy version and most have windows binary ready for download.

akhileshmoghe
  • 603
  • 8
  • 21