Trying to install mathplot.lib for python 2.7.11. But Cannot find a suitable process. Have tried various ways from Youtube Tutorials, but invain
<p>I have installed matplotlib-1.5.0.win-amd64-py2.7 from sourcefourge.net after downloading and installing numpy using commandprompt by using pip: pip install numpy. But when I write the following code it Gives me error. Help me out.
Code:</p>

<pre><code>from matplotlib.pylab import *
pylab.plot([1,2,3,4],[1,2,3,4])
pylab.show()
</code></pre>

<p>It gives me following error message:</p>

<pre><code>Traceback (most recent call last):
   File "C:\Python27\Lib\idlelib\1.py", line 1, in &lt;module&gt;
     from matplotlib.pylab import *
   File "C:\Python27\lib\site-packages\matplotlib\__init__.py", line 124, in &lt;module&gt;
     from matplotlib.rcsetup import (defaultParams,
   File "C:\Python27\lib\site-packages\matplotlib\rcsetup.py", line 25, in &lt;module&gt;
     from matplotlib.fontconfig_pattern import parse_fontconfig_pattern
   File "C:\Python27\lib\site-packages\matplotlib\fontconfig_pattern.py", line 25, in &lt;module&gt;
     from pyparsing import Literal, ZeroOrMore, \
   ImportError: No module named pyparsing
</code></pre>

<p>refer to this answer of mine 
<a href="http://stackoverflow.com/a/38618044/5334188">http://stackoverflow.com/a/38618044/5334188</a></p>

<p>install numpy</p>

<p><code>pip install numpy</code></p>

<p>If you face installation issues for numpy, get the pre-built windows installers from <a href="http://www.lfd.uci.edu/~gohlke/pythonlibs/" rel="nofollow">http://www.lfd.uci.edu/~gohlke/pythonlibs/</a> for your python version (python version is different from windows version).</p>

<p>numpy 32-bit: numpy-1.11.1+mkl-cp27-cp27m-win32.whl</p>

<p>numpy 64-bit: numpy-1.11.1+mkl-cp27-cp27m-win_amd64.whl</p>

<p>Later you require VC++ 9.0, then please get it from below link Microsoft Visual C++ 9.0 is required. Get it from <a href="http://aka.ms/vcpython27" rel="nofollow">http://aka.ms/vcpython27</a></p>

<p>Then install matplotlib using</p>

<p><code>pip install matplotlib</code></p>

<p>If you face errors, please download below from <a href="http://www.lfd.uci.edu/~gohlke/pythonlibs/" rel="nofollow">http://www.lfd.uci.edu/~gohlke/pythonlibs/</a>, which will do the rest. </p>

<p>32-bit: matplotlib-1.5.3-cp27-cp27m-win32.whl</p>

<p>64-bit: matplotlib-1.5.3-cp27-cp27m-win_amd64.whl</p>

<p>works like charm</p>

python numpy matplotlib