Comment installer NumPy dans Python 3.4.3 sous Windows


Il y a généralement trois façons d'installer NumPy dans Python 3.4.3.

- en utilisant pip : "pip install numpy" bien qu'il y ait des chances que cela échoue avec l'erreur

  1. Unable to find vcvarsall.bat 

because you don't have installed and/or configured the right version on C++ compiler on your machine

- easy_install numpy - usually works, regardless if you have the right C++ compiler installer or configured but in some cases it will fail with the same error as pip

- the last option is to download the right wheel archive from http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy , la sauvegarder à un certain emplacement (disons'tons que ce sera X) et ensuite utiliser "pip install X" où X est l'emplacement exact de l'archive numpy wheel téléchargée. Assurez-vous que l'archive wheel téléchargée correspond à votre interpréteur Python. Par exemple, si vous avez Python sur 32 bits, vous devez télécharger l'archive wheel qui a "win32" dans son nom's, sinon vous devez télécharger celle qui a "win_amd64" dans son nom's.