Installing ggplot for python failed with error code 1
<p>I am trying to install ggplot for Python using</p>

<pre><code>pip install ggplot
</code></pre>

<p>but I get an error message saying
<a href="http://i.stack.imgur.com/ZgiKU.png" rel="nofollow"><img src="http://i.stack.imgur.com/ZgiKU.png" alt="enter image description here"></a></p>

<p>I am using Python2.7 on Windows8. I looked at the suggestions and among other things tried the suggestion <a href="http://stackoverflow.com/questions/28142839/pip-install-numpy-python-2-7-fails-with-errorcode-1">here</a></p>

<ol>
<li>pip install wheel to install support for wheel files.</li>
<li>pip install ggplot-0.11.5-py2.py3-none-any.whl to install the wheel. I downloaded the whl file from <a href="https://pypi.python.org/pypi/ggplot" rel="nofollow">here</a>.</li>
</ol>

<p>Upon doing this I got further messages saying:
Failed building wheel for scipy
Failed cleaning build for scipy </p>

<p>In addition I still get the original error message.</p>

<p>Please provide suggestions.</p>

<p>After trying all possible things suggested in various forums this is what worked for me:</p>

<ol>
<li>Download numpy-1.11.2+mkl-cp27-cp27m-win_amd64.whl and scipy-0.18.1-cp27-cp27m-win_amd64.whl files from <a href="http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy" rel="nofollow">http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy</a> to C:\Python27\Scripts directory.</li>
<li><p>Run the following commands from the DOS command window in windows </p>

<p>pip install numpy-1.11.2+mkl-cp27-cp27m-win_amd64.whl</p>

<p>pip install scipy-0.18.1-cp27-cp27m-win_amd64.whl</p></li>
</ol>

<p>They were both successfully installed.</p>

<ol start="3">
<li><p>Finally</p>

<p>pip install ggplot</p></li>
</ol>

python ggplot2