Installation __python of Python3 Scientific Computing Library

Source: Internet
Author: User
Tags install pandas install matplotlib
Introductory Remarks:

In the areas of data analysis and interaction, exploratory computing, and data visualization, Python will inevitably approach other open-source and business-specific programming languages/tools, such as R, MATLAB, SAS, Stata, and so on. In recent years, Python has a constantly improved library (mainly pandas), making it a major alternative to data processing tasks. Combined with its power in general programming, we can only use Python as a language to build data-centric applications. --"Data analysis using Python" installs Python

On the Python website, select the appropriate python version of the download, this article will be in the win8.1-64-python3.5 environment.

If you enter Python in the console, it appears as shown:

This means that the Python runtime does not add an environment variable. This is the need to manually add environment variables: My Computer-> Properties-> advanced system settings-> environment variables-> PATH-> add python install location-> Click OK.

The following instructions indicate successful installation:


 
Note: This article is about the manual installation of the Scientific Computing Library, if you feel trouble, you can download Python (x,y) or enthought python distribution, the former collection of a number of library functions and documents, tutorials. and provides a convenient starting interface, will be near 400M, while the latter is a commercial Python release, also includes a number of scientific software packages, and as a teaching use is free, the size of about 250M. First, NumPy

The 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). Installation:

Click here to enter the page, download the NumPy WHL package, here is the selection of NUMPY-1.11.1+MKL-CP35-CP35M-WIN_AMD64.WHL

Open the console and switch to the file directory

Enter PIP install NUMPY-1.11.1+MKL-CP35-CP35M-WIN_AMD64.WHL run

Installation success:

Processing E:\NUMPY-1.11.1+MKL-CP35-CP35M-WIN_AMD64.WHL
Installing collected packages:numpy
Successfully Installed NUMPY-1.11.1+MKL
Second, scipy

SciPy is a handy, easy-to-use, and designed Python Toolkit for Science and engineering. It includes statistics, optimization, integration, linear algebra modules, Fourier transforms, signal and image processing, ordinary differential equation solver, and so on. Installation:

Click here to enter the page, download the scipy WHL package, here is the selection of SCIPY-0.18.0-CP35-CP35M-WIN_AMD64.WHL

Open the console and switch to the file directory

Enter PIP install SCIPY-0.18.0-CP35-CP35M-WIN_AMD64.WHL run

Installation success:

Processing E:\SCIPY-0.18.0-CP35-CP35M-WIN_AMD64.WHL
Installing collected packages:scipy
successfully Installed scipy-0.18.0
Third, Matplotlib

Matplotlib is Python's most famous drawing library, which provides a complete set of command APIs similar to MATLAB and is ideal for interactive charting. It can also be conveniently embedded in GUI applications as a drawing control. Installation:

Click here to enter the page, download the Matplotlib WHL package, here is the selection of MATPLOTLIB-2.0.0B3-CP35-CP35M-WIN_AMD64.WHL

Open the console and switch to the file directory

Enter PIP install MATPLOTLIB-2.0.0B3-CP35-CP35M-WIN_AMD64.WHL run

Installation success:

  Downloading PYTZ-2016.6.1-PY2.PY3-NONE-ANY.WHL (481kB)
installing collected packages:pyparsing, Python-dateutil , Cycler, Pytz, matplotlib
successfully installed cycler-0.10.0 matplotlib-2.0.0b3 pyparsing-2.1.6 python-dateutil-2.5.3 pytz-2016.6.1
Note: installing matplolib requires the first two libraries to be installed in advance. Four, Ipython

Ipython is a python interactive shell that works much better than the default Python shell, supports variable automatic completion, automatic indentation, supports bash shell commands, and built-in many useful functions and functions. Under Ubuntu as long as sudo apt-get install Ipython installed, through the Ipython boot. Install Ipython:

Click here to enter the page and download the Ipython Zip package, which is chosen ipython-5.0.0.zip (MD5)

Open the console and switch to the file directory

Enter PIP install Ipython-5.0.0.zip run

Installation success:

Installing collected Packages:decorator, Pickleshare, Simplegeneric, Ipython-genutils, Traitlets, Wcwidth, six, Prompt-toolkit, Pygments, Colorama, Win-unicode-console, Ipython Running setup.py, install for
  simplegeneric ... do
  Running setup.py install for win-unicode-console ... do Running setup.py for
  install ... Ipython 4/>successfully installed colorama-0.3.7 decorator-4.0.10 ipython-5.0.0 ipython-genutils-0.1.0 prompt-toolkit-1.0.5 pygments-2.1.3 simplegeneric-0.8.1 six-1.10.0 traitlets-4.2.2 wcwidth-0.1.7 win-unicode-console-0.5
Install Pyreadline:

Click here to enter the page and download the Pyreadline Zip package, which is chosen pyreadline-2.1.zip (MD5)

Open the console and switch to the file directory

Enter PIP install Pyreadline-2.1.zip run

Successful installation Five, pandas

The Python data analysis Library or pandas is a numpy based tool that is created to resolve data profiling tasks. Pandas incorporates a large number of libraries and standard data models that provide the tools needed to efficiently manipulate large datasets. Pandas provides a number of functions and methods that enable us to process data quickly and easily. You will soon find that it is one of the important factors that make Python a powerful and efficient data analysis environment. Install Pandas:

Click here to enter the page, download the pandas WHL package, here is the selection of PANDAS-0.18.1-CP35-CP35M-WIN_AMD64.WHL

Open the console and switch to the file directory

Enter PIP install PANDAS-0.18.1-CP35-CP35M-WIN_AMD64.WHL run

Installation success:

Installing collected Packages:pandas
successfully installed pandas-0.18.1

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.