1. Install Python, here choose 2.7 or 3.4 is OK, but recommended to use 2.7, after all, the current tutorial is mostly based on 2.7, 3.4 and 2.7 of the syntax is slightly different, in order to avoid the trouble of grammatical errors, or recommend that you use 2.7. is: https://www.python.org/downloads/
2. Download Numpy,scipy,matplotlib Three library exe, note that here is the EXE, because the use of matplotlib need to numpy support, so it is best to install NumPy and then install Matplotlib. :
- Numpy:http://sourceforge.net/projects/numpy/files/numpy/1.9.2/
- Scipy:http://sourceforge.net/projects/scipy/files/scipy/0.15.1/
- Matplotlib:http://matplotlib.org/downloads.html
where NumPy and scipy do not have 32 and 64-bit differences, matplotlib need to choose 32-bit and 64-bit according to their system. Again, these three libraries must download the corresponding version of the EXE. Once the download is complete, they will automatically find the path of the python you installed before, and the next is the end of the line.
3. After the 2nd step installation is complete, you can run it on the Matplotlib examples page (http://matplotlib.org/examples/index.html) copy code, and you will see an error. Here's the mistake, there are roughly three of them:
- Importerror:matplotlib requires Dateutil
- Importerror:matplotlib requires pyparsing
- No Module name Six
4. Solve the No module name six problem, the solution is very simple. Copy your installation path: Python27/lib/site-packages/scipy/lib in six.py,six.pyc,six.pyo three files to your installation path: Python27/lib/site-packages, But copy past, not yet, hint Importerror:six 1.3 or later is required; You have 1.2.0 such a problem, finally install Matplotlib Select 1.3.1. version to solve the problem
5. Solve Importerror:matplotlib requires dateutil issue first register Python, that is, run register.py, and then download Dateutil.exe, you can solve
6. Solve importerror:matplotlib requires pyparsing problem, as before, download pyparsing?2.0.3-win32-py2.7
Various Python packages installed under Windows