Windows Python3.5 installation NumPy, Scipy__python

Source: Internet
Author: User

first, the installation environment

Windows 8, Win 32, official pure version Python3.5.


Second, numpy installation

1, download NumPy:

First, look for suitable numpy, generally on NumPy official website Https://pypi.python.org/pypi/numpy, Download the numpy version of your Python version with the system (mine is python3.5 and Win32), select the following version



However, due to the subsequent installation of the scipy,scipy need to rely on the MKL library, the official NumPy does not contain MKL, so from http://www.lfd.uci.edu/~gohlke/pythonlibs/ Download the appropriate version of the Third-party numpy containing the MKL library:


If the official numpy is already installed, use the "Pip uninstall ***.WHL" command to uninstall the installed official NumPy.


2, installation NumPy:

Set the environment variable, "Win+r" opens cmd, runs "Python", and normally displays the current Python version number and goes to the Python command line.

mode, but unfortunately, my display is not normal, as follows:


An attempt was made to set an environment variable multiple times, but that is not working (in the case of a subsequent step setting the environment variable for the PIP). The solution is to go into the directory where Python.exe is running python.


Next, NumPy with the pip installation download in Python command line mode (the official Python3.5 I installed comes with pip.exe, and if reader Python doesn't have pip.exe, use "python-m pip install-u pip" command to install Pip.exe):

(1) First, set the Pip.exe environment variable (detailed steps please google) in the cmd command line mode can run the Pip.exe, and do not run to the Pip.exe directory.

(2) Secondly, in the CMD command line mode into the NumPy installation files in the directory, the implementation of the "Pip install numpy file name. WHL" Installation command.


(3) Finally, after the successful installation run Python, import numpy package, test




third, scipy installation

1, download scipy installation files

Continue to download the appropriate version of the scipy on the http://www.lfd.uci.edu/~gohlke/pythonlibs/



2. Installation scipy

Under the cmd command line, enter the downloaded scipy file directory and type the command "Pip install ***.WHL" installation scipy



Test NumPy and SciPy


Reference:

http://blog.csdn.net/u014686356/article/details/51853258
http://blog.csdn.net/sd2558448/article/details/ 51234809
http://blog.csdn.net/pfanaya/article/details/7451815
http://blog.csdn.net/riverflowrand/ article/details/52768489
http://www.cnblogs.com/tanxstar/p/6067315.html
http://blog.csdn.net/ walkandthink/article/details/45200597





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.