Hands-on Practice: Install NumPy, matplotlib, scipy, and Ipython on Windows

Source: Internet
Author: User
Tags install matplotlib

Basic Python Data Analysis Tutorial: NumPy Learning Guide (2nd Edition), chapter 1th NumPy QuickStart, this chapter first describes how to install NumPy and related software in different operating systems, and gives a simple example code that uses NumPy. We will then briefly introduce Ipython (an interactive shell tool). As stated in the preface, SciPy and NumPy have close ties, so you will see scipy many times. At the end of this chapter, we'll show you how to take advantage of online resources so that you can get help online when you're stuck with a problem or unsure about the best way to solve it. This section introduces hands-on practice: Installing NumPy, Matplotlib, scipy, and Ipython on Windows.

1.4 Hands-On practice: Install NumPy, matplotlib, scipy, and Ipython on Windows

Installing NumPy on Windows is required, but fortunately, the installation process is not complicated and we will elaborate on it below. It is recommended that you install Matplotlib, scipy, and Ipython, although this is not required for the use of this book. We will follow the steps below to install the software.

(1) Download the NumPy Windows Installer from the SourceForge website:

http://sourceforge.net/projects/numpy/files/

Please select the appropriate version. In, we have chosen Numpy-1.7.0-win32-superpack-python2.7.exe.

(2) When the download is complete, double-click Run Setup.

(3) Now, we can see a description of NumPy and its characteristics, as shown in. Click the Next button to continue the installation.

(4) If you have installed the Python,numpy installation program should be able to automatically detect. If Python is not detected, your path may be incorrectly set. At the end of this chapter, we have listed some online resources for readers who are having problems installing numpy.

(5) In, the Setup program successfully detects that Python 2.7 is installed on the system, click the Next button to continue the installation, otherwise click the Cancel button and install Python (NumPy cannot be installed separately from Python). Continue clicking on the Next button, you cannot go back to the previous step from this step, so please confirm that you have selected the appropriate installation path and other installation options. Now that the real installation process has started, you need to wait a while.

(6) SciPy and matplotlib can be installed through Enthough, the address is www.enthought.com/products/epd.php. During the installation process, you may need to place a file Msvcp71.dll under directory C:\Windows\system32. You can download this file from here: www.dll-files.com/dllindex/dll-files.shtml?msvcp71. The Ipython installer under Windows can be downloaded by visiting Ipython's official website: http://ipython.scipy.org/Wiki/IpythonOnWindows.

What did you just do?

We have installed NumPy, SciPy, Matplotlib, and Ipython on Windows.

Hands-on Practice: Install NumPy, matplotlib, scipy, and Ipython on 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.