Python under NumPy unsuccessful, is there a simple installation method? __python

Source: Internet
Author: User
Chenheo Yu Renco, play the man, not the cards. (https://www.zhihu.com/question/29521273) 36 people agree with me that you are using Windows, although many people recommend you to use Enthought and anaconda but that will deprive you of a lot of learning experience. If you know how to use Cmd/powershell, put the L/ib folder underneath the Python folder in your system variable, and choose to install Python 2.7.9 so that the PIP is self-contained. (If you don't, you're going to use the pre-installed IDE) your numpy with Pip to install the 64-bit system is problematic, a lot of people have encountered it, and then you'll probably have to install scipy, This requires a C and Fortran compiler. You don't think so.

So I suggest you install wheel file, I'll give you an address http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy

Make sure you choose Wheel files based on your Python version and the number of bits in your computer. In order to be able to install wheel files, you need to first install wheel this package. Enter the cmd inside
Pip Install Wheel
After the installation is successful, download the corresponding NumPy wheel file, and move to the local file storage place in CMD. And then enter
Pip Install NUMPY‑1.9.2+MKL‑CP27‑NONE‑WIN_AMD64.WHL
The last part of this statement is the filename, according to the description of your problem you should download the file, and then enter the car can be automatically installed. The advantage of installing NUMPY+MKL is that it reduces the resistance to installing SCIPY, and installing scipy is not a pleasant thing.

Of course, if you don't want to be in such trouble at all, install a enthought, Anaconda or Pythonxy. Edited in 2015-04-26 to collect comments thank you for sharing collection · No help • Report • Author Reserve Right
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.