title: How to install numpy for python 2.7.9
body: <p>I have two versions of python- 2.7.6 &amp; 2.7.9 and numpy is installed for python 2.7.6 . I can't understand how to install numpy for python 2.7.9.</p>
  
  <p>When I use <code>pip2 install --upgrade numpy</code>, it installs and updates for python 2.7.6.</p>
  
  <p>How do I install numpy particularly for python 2.7.9?</p>
  
  <p>*****edit*****</p>
  
  <p>I am trying to find the location of python 2.7.9.</p>
  
  <p>If i type <code>python</code> or <code>python2</code>, I am using python 2.7.9. <code>which -a python</code> gives me two paths, <code>/usr/bin/python</code> and <code>/usr/local/bin/python</code> and when I used the first path, it gives me this output-
  <code>Requirement already satisfied (use --upgrade to upgrade): numpy in /usr/local/lib/python2.7/dist-packages
  Cleaning up...</code></p>
  
  <p>If I used the second path, i get this output-
  <code>/usr/local/bin/python: No module named pip</code></p>
  
  <p><code>which -a pip</code> command gives <code>/usr/local/bin/pip /usr/bin/pip</code></p>
  
  <p><code>which -a easy_install</code> gives <code>/usr/local/bin/easy_install /usr/bin/easy_install</code></p>
  
  <p><code>which -a python</code> gives <code>/usr/local/bin/python /usr/bin/python</code></p>
  
  <p>*****edit2*****</p>
  
  <p>My OS is Ubuntu 14.04lts.</p>
  
  <p><code>/usr/local/bin/pip --version</code> gives <code>pip 1.5.4 from /usr/lib/python2.7/dist-packages (python 2.7)</code>. </p>
  
  <p><code>/usr/bin/pip --version</code> gives <code>pip 1.5.4 from /usr/lib/python2.7/dist-packages (python 2.7)</code></p>
  
  <p><code>/usr/local/bin/easy_install --version</code> gives <code>setuptools 32.1.2 from /usr/local/lib/python2.7/dist-packages (Python 2.7)</code></p>
  
  <p><code>/usr/bin/easy_install --version</code> gives <code>setuptools 3.3</code></p>
  
  <p><code>/usr/local/bin/python --version</code> gives <code>Python 2.7.9</code></p>
  
  <p><code>/usr/bin/python --version</code> gives <code>Python 2.7.6</code></p>
  
  <p>*****edit3*****</p>
  
  <p><code>sudo /usr/local/bin/easy_install pip</code> gives following output-</p>
  
  <pre><code>Searching for pip
  Best match: pip 1.5.4
  Adding pip 1.5.4 to easy-install.pth file
  Installing pip script to /usr/local/bin
  Installing pip2.7 script to /usr/local/bin
  Installing pip2 script to /usr/local/bin
  
  Using /usr/lib/python2.7/dist-packages
  Processing dependencies for pip
  Finished processing dependencies for pip
  </code></pre>
  
  <p>*****edit4*****</p>
  
  <pre><code>sys.path = [
  '/home/kevmepls',
  '/home/kevmepls/Documents/DeepLearning-Caffe/caffe/python',
  '/usr/local/lib/python27.zip',
  '/usr/local/lib/python2.7',
  '/usr/local/lib/python2.7/plat-linux2',
  '/usr/local/lib/python2.7/lib-tk',
  '/usr/local/lib/python2.7/lib-old',
  '/usr/local/lib/python2.7/lib-dynload',
  '/home/kevmepls/.local/lib/python2.7/site-packages',
  '/usr/local/lib/python2.7/site-packages',
  ]
  USER_BASE: '/home/kevmepls/.local' (exists)
  USER_SITE: '/home/kevmepls/.local/lib/python2.7/site-packages' (exists)
  ENABLE_USER_SITE: True
  </code></pre>