Python: Installing NumPy, Scipy,matplotlib__python

Source: Internet
Author: User

One install Python

(1) Download python3.4.3

(2) Installation python3.4.3

(3) Configure environment variables

Second installation NumPy

(1) Download NumPy

(2) Decompression, I unpacked files stored in:


(3) switch to numpy-1.9.2 directory, use Gfortran to compile in (can use):

Python setup.py build--fcompiler=gnu95
Note: The specific use of what compiler, is their own computer configuration (some--fcompiler=gnu), you can view.

(4) then install (install)

Python setup.py install [--prefix=/some/custom/installation/prefix]
The following--prefix is not specified and is installed under the Python installation path by default. No, you specify, at this time you have to do another is to configure your NUMPY environment variables. So that Python can find it.

Here I choose not to specify.

Turn off the terminal, reopen the terminal, and verify that the installation is correct.



Three installation scipy

Download EXE file

http://sourceforge.net/projects/scipy/



After the installation is complete, open terminal to verify that the installation was successful:


Four installation Matplotlib

Download EXE file (My computer is 32-bit, choose 32-bit version of the download):

Http://matplotlib.org/downloads.html

My choice is: Matplotlib-1.4.3.win32-py3.4.exe.

Click the exe directly to run it.


The following error occurred during import no module named six:


So we need to install six this module.

Where the PIP is in the directory C:\Python34\Scripts. Switch to the following:


Then execute the following command at the terminal:



This allows us to successfully install the six module.

Re-invoke the Python interpreter and import matplotlib try:

Missing module Dateutil module found. Continue installing this module.

Online Search, the following instructions:


Then continue to invoke the Python interpreter, run, and find the following error:


Then, you need to install the Pyparsing directive as follows (the directory C:\Python34\Scripts has command easy_install command):


The final wish to install on the matplotlib:


The last sacrifice of Matplotlib's founder, the dead John Hunter:


Related Article

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.