title: Jupyter notebook picks older version of numpy
body: <p>I am  using <code>python 2.7.6</code> and trying to import pandas but Jupyter notebook gives me following </p>
  
  <blockquote>
    <p>error-- </p>
    
    <p>ImportError                               Traceback (most recent call
    last)  in ()
    ----> 1 import pandas</p>
    
    <p>/usr/local/lib/python2.7/dist-packages/pandas/<strong>init</strong>.py in
    ()
         21 
         22 # numpy compat
    ---> 23 from pandas.compat.numpy import *
         24 
         25 try:</p>
    
    <p>/usr/local/lib/python2.7/dist-packages/pandas/compat/numpy/<strong>init</strong>.py
    in ()
         22                       'your numpy version is {0}.\n'
         23                       'Please upgrade numpy to >= 1.9.0 to use '
    ---> 24                       'this pandas version'.format(_np_version))
         25 
         26 </p>
    
    <p>ImportError: this version of pandas is incompatible with numpy &lt; 1.9.0
    your numpy version is 1.8.2. Please upgrade numpy to >= 1.9.0 to use
    this pandas version</p>
  </blockquote>
  
  <p>while I have numpy 1.14.1</p>
  
  <pre><code>$ pip freeze
  numpy==1.14.1
  pandas==0.22.0
  pip-magic==0.2.3
  python-dateutil==2.6.1
  pytz==2018.3
  six==1.11.0
  </code></pre>
  
  <p>I have tried uninstalling and then reinstalling <code>numpy</code> and <code>pandas</code> from ubuntu terminal as well as Jupyter's terminal but unable to solve the error, any help would be appreciated. Thanks.</p>