NumPy IntroductionThe NumPy system is an open source numerical computing extension of Python. This tool can be used to store and process large matrices that are much more efficient than Python's own nested list (nested list structure) structure (which is also used to represent matrices). It is said that NumPy python to become a free and more powerful MATLAB system. Foreign language name NumPy meaning python an open source digital extension content a powerful n-dimensional array object array uses to store and process large matrices
A scientific computing package implemented in Python. Includes: 1, a powerful n-dimensional array object array;2, the more mature (broadcast) function library; 3, the toolkit used to integrate C + + and Fortran code, 4, Practical linear algebra, Fourier transform and random number generation function. NumPy and Sparse matrix operation packet scipy are more convenient to use together. NumPy (Numeric Python) offers a number of advanced numerical programming tools, such as matrix data types, vector processing, and sophisticated computing libraries. Designed for rigorous digital processing. For many large financial companies, as well as the core of scientific computing organizations such as: Lawrence Livermore,nasa use it to deal with some of the original use of C++,fortran or MATLAB and other tasks.
numpy Download and installation tutorial (Windows system)
Tool Material:Installed Python program numpy installation files
Download the NumPy installation file for your computer first. I am python3.6 version, 64-bit Windows system, so download is this: NUMPY-1.13.1+MKL-CP36-CP36M-WIN_AMD64.WHL
Download Address: Https://pypi.python.org/pypi/numpy or http://www.lfd.uci.edu/~gohlke/pythonlibs/
file location: After downloading, place the file in the Scripts folder under the Python installation directory. If Python is installed correctly, there should be Pip and Easy_install in this folder.
To Add System variables:
The folder path above is then added to the system variable.
The method is as follows: Copy scripts this directory, then "right click Computer-Properties-Advanced system settings-environment variable-system variable-path-edit it" to paste the path just in.
Note: Since I have already added the Python36 folder to the path, the above operation is actually invalid. (because it is already contained in the Python36 folder) such as the following figure
So there's no need to consider system variables. Continue with the following operation.
Enter at DOS command: enter the first line;
The following command shows successful installation.
Verify success: Enter Python >>> (pictured) (if there is no indication that the Python environment is not set up successfully) Please refer here
and enter Impot NumPy The exception representative succeeded the following figure:
Thank you.