title: python 2.7: cannot pip on windows "bash: pip: command not found"
body: <p>I am trying to install the SciPy stack located at <a href="https://scipy.org/stackspec.html" rel="nofollow noreferrer">https://scipy.org/stackspec.html</a> [I am only allowed 2 links; trying to use them wisely].  I realize that there are much easier ways to do this, but I think there is a lot to be learned by doing it manually.  I am relatively new to a lot of this stuff, so I apologize if I sound ignorant at any point.</p>
  <p>I am running  <code>Windows 7 Enterprise - 64 bit</code>.  Here is what I have done so far:</p>
  <ol>
  <li><p>Installed <code>python-2.7.8.msi (32-bit)</code> from <a href="https://www.python.org/download/releases/2.7.8/" rel="nofollow noreferrer">https://www.python.org/download/releases/2.7.8/</a></p>
  </li>
  <li><p>Installed <code>numpy-1.8.1-win32-superpack-python2.7</code> from
  <a href="http://sourceforge.net/projects/numpy/files/" rel="nofollow noreferrer">http://sourceforge.net/projects/numpy/files/</a><br />
  Test: <code>import numpy as np</code> ---&gt; no errors</p>
  </li>
  <li><p>Installed <code>scipy</code> library,<br />
  <code>scipy-0.14.0-win32-superpack-python2.7.exe</code> from
  (SCIPY DOT ORG LINK REMOVED)
  Test: <code>import scipy as sp</code> ---&gt; no errors</p>
  </li>
  <li><p>Installed <code>matplotlib</code>: <code>matplotlib-1.3.1.win32-py2.7.exe</code> from
  (MATPLOTLIB DOT ORG LINK REMOVED)</p>
  </li>
  <li><p>Installed <code>PIP</code> by running script here:
  <a href="https://raw.githubusercontent.com/pypa/pip/master/contrib/get-pip.py" rel="nofollow noreferrer">https://raw.githubusercontent.com/pypa/pip/master/contrib/get-pip.py</a>
  I just copied-pasted script to a new file in <code>IDLE</code>,<br />
  saved as <code>C:\Python27\Scripts\pip_install.py</code> and clicked <code>Run&gt;module</code>. No errors reported.</p>
  </li>
  </ol>
  <p><em>Does the path on which I saved
  <code>pip_install.py</code> matter?</em></p>
  <hr />
  <ol start="6">
  <li></li>
  </ol>
  <p><strong>HERE IS WHERE I FAIL</strong></p>
  <p>Attempted to install matlibplot dependency dateutil: Opened a
  Cygwin Shell, and typed</p>
  <pre><code>        cd C:\Python27          ! is it necessary to cd to python directtory?
          pip install python-dateutil
  </code></pre>
  <p>This results in the error:</p>
  <pre><code>    bash: pip: command not found
  </code></pre>
  <p>I get the same error attempting from <code>cmd</code>.</p>
  <p>Any help  is appreciated; the closest I found was <a href="https://stackoverflow.com/questions/9780717/bash-pip-command-not-found">bash: pip: command not found</a>.  But the OSX nature of it is just enough to confise me further.</p>
  <hr />
  <h3>UPDATE:</h3>
  <p>I added the pip-path per Paul H's suggestion below.  It made the error go away, but strangely, nothing I <code>pip</code> actually installs. For example, in <code>Cygwin</code>, I type:</p>
  <pre><code>cbennett2&gt; pip install python-dateutil
  cbennett2&gt;                            
  </code></pre>
  <p>You can see that there is no output or feedback from the shell (which I think there should be).  Then when I go to a new python shell:</p>
  <pre><code>&gt;&gt;&gt; from dateutil.parser import parse
  Traceback (most recent call last):
    File &quot;&lt;pyshell#12&gt;&quot;, line 1, in &lt;module&gt;
      from dateutil.parser import parse
  ImportError: No module named dateutil.parser
  &gt;&gt;&gt;&gt;
  </code></pre>
  <p>This happens with all of the modules that I thought I had pip'd ... pandas, tornado, etc.</p>