Installing numpy,scipy and Matplotlib in Windows

Source: Internet
Author: User

System Windows 7 64-bit

Python 2.7.10, originally loaded is the 64-bit version, but NumPy and SciPy did not find 64-bit version, downloaded 32-bit version, the installation will be prompted Python27 is not Found in the regestry, so change Python to a 32-bit version and then install it.

Python27 32-bit version

Https://www.python.org/ftp/python/2.7.10/python-2.7.10.msi

Numerical Python

Http://cznic.dl.sourceforge.net/project/numpy/NumPy/1.8.1/numpy-1.8.1-win32-superpack-python2.7.exe


Scipy

Http://jaist.dl.sourceforge.net/project/scipy/scipy/0.14.1/scipy-0.14.1-win32-superpack-python2.7.exe


Matplotlib

Https://pypi.python.org/packages/2.7/m/matplotlib/matplotlib-1.4.3.win32-py2.7.exe#md5=f43c20480a1673185afefc7d4848a1d2


Download after installation, are EXE package, simple and convenient.

Test NumPy

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/6D/97/wKiom1VmyuvhVJnBAAGfpVF3pIw314.jpg "title=" Qq20150528155348.png "alt=" Wkiom1vmyuvhvjnbaagfpvf3piw314.jpg "/>

It doesn't seem to matter.

Test Matplotlib

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/6D/92/wKioL1VmzKjxlpX-AADEb_2GSXY986.jpg "title=" Qq20150528160006.png "alt=" Wkiol1vmzkjxlpx-aadeb_2gsxy986.jpg "/>

There's a problem with Nani, what's going on?


Find this bag here.

https://pypi.python.org/pypi/six/

Download the six-1.9.0.tar.gz

Unzip, the inside of the six.py file into the C-disk python27 directory of the Lib. This allows Python to use the six.py library directly.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/6D/97/wKiom1VmzCHxsC2YAADNuFqXTfM337.jpg "title=" Qq20150528160430.png "alt=" Wkiom1vmzchxsc2yaadnufqxtfm337.jpg "/>

What's the matter, still have a problem, continue to solve

https://pypi.python.org/pypi/python-dateutil/

Download unzip into directory execute Python setup.py install

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/6D/93/wKioL1Vm0KDgl_ofAADguWHP6DU945.jpg "title=" Qq20150528161548.png "alt=" Wkiol1vm0kdgl_ofaadguwhp6du945.jpg "/>

Why is it still missing?

Pyparsing

Http://softlayer-sng.dl.sourceforge.net/project/pyparsing/pyparsing/pyparsing-2.0.3/pyparsing-2.0.3.win32-py2.7.exe

The download and installation is finally done.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/6D/93/wKioL1Vm0aODLL4tAABKN0tUVdA202.jpg "title=" Qq20150528162118.png "alt=" Wkiol1vm0aodll4taabkn0tuvda202.jpg "/>

Call Import Matplotlib.pyplot as Plt It's a problem again, Grandma's leg.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/6D/94/wKioL1Vm5J7TiMTcAALOgEofvvM261.jpg "title=" Qq20150528174129.png "alt=" Wkiol1vm5j7timtcaalogeofvvm261.jpg "/>

Does it look like a version mismatch problem that cannot be used on a 64-bit machine?

Wait for me to change a 32-bit machine test again to answer.

Installing numpy,scipy and Matplotlib in Windows

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.