This afternoon want to run RNN network with Python, the result code in the import package NumPy did not error, but in the use of the function of the times wrong, because the small part is also a novice, only learn the basic syntax of Python, and did not use a third party package, installed an afternoon has not been ready, this thought command line bad use, But it really solves the problem,
First, install Python
Step: Go to the Python website to download the MSI installation package for your computer, then run the installation, choose to install the components, make sure that all the components are ticked. Pay particular attention to the option of PIP and
Add Python.exe to Path, then click Next multiple times to complete the installation.
Verify that the installation was successful: Open the Run, enter the CMD carriage return, enter the Python carriage return, you can see into Python. If the error is not found, the Python path may not be added to the system environment variable path.
Second, installation NumPy
Step: 1, first upgrade the Python pip, in the cmd input "pip install Pip–-upgrade", to be upgraded to complete can see success hint,
2. Download Wheel of NumPy build for AMD64 on Windows, download under http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy NumPy
NUMPY-1.10.4+MKL-CP27-CP27M-WIN_AMD64.WHL, placed in the Python installation directory under the scripts directory (for input convenience),
3. Install with PIP install NUMPY-1.10.4+MKL-CP27-CP27M-WIN_AMD64.WHL
Test method: Enter import NumPy as NP on the Python command line will no longer error,
Third, installation matplotlib
Step: You can install the Matplotlib drawing library by using the PIP install matplotlib command.
Test method: Draw a line through the code below,
From matplotlib import Pyplot
Pyplot.plot ([1, 2, 3, 4], [1, 2, 3, 4])
Pyplot.show ()
So the installation is done,
Python, NumPy and Matplotlib installation methods under the WINDOWS64 system