Python--numpy Installation

Source: Internet
Author: User

1.Numpy Introduction

The NumPy system is an open-source numerical extension of Python, a scientific computing package implemented in Python.

2. Download

: Https://pypi.python.org/pypi/numpy#downloads

Since my Python version is 3.6, the download of the NumPy 1.13.1,windows version is 64-bit

2. Installation

Place the downloaded WHL suffix file in the same folder as the Pip file

3. Installing using the PIP command

Open the command under the folder where Pip is located, and enter the following command:

Pip Install NUMPY-1.13.1-CP36-NONE-WIN_AMD64.WHL

4. Test validation

Still the old way, directly import numpy can test whether the installation is successful

5. The installation process made a black dragon, resulting in PIP file installation failure error, but also learned another point of knowledge

For a long time did not touch their computers have forgotten their computer's number of bits, thought is 32-bit, so downloaded the NumPy 32-bit files, resulting in the PIP command installation failed, reported the following error:

A supported wheel on this platform

Search the Internet and found a blog has taught how to solve the problem:

Http://www.cnblogs.com/nice-forever/p/5371906.html

According to this blog I also try to view the version supported by PIP: Enter in the command character

python Import Pipprint (pip.pep425tags.get_supported ())

See the supported version of a face, how to support 64-bit, the computer is clearly 32 ah, hurriedly checked the next computer version:

See this I really hehe, is really 64 bit, so hurriedly deleted the re-download 64-bit file installation, sure enough, there is no error, installation success

Python--numpy Installation

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.