title: conda python isn't using the numpy version I try install if I also specify that it should use python 2
body: <p>I am trying to use condas to install an environment that uses python 2.7 and numpy version 1.10</p>
  
  <p>I try to create such an environment</p>
  
  <pre><code> conda create -n test2 python=2.7 numpy=1.10
  </code></pre>
  
  <p>It contends it is going to install the software I specified</p>
  
  <blockquote>
    <p>The following NEW packages will be INSTALLED:</p>
  
  <pre><code>mkl:        11.3.3-0     
  numpy:      1.10.4-py27_2
  openssl:    1.0.2l-0     
  pip:        9.0.1-py27_1 
  python:     2.7.13-0     
  readline:   6.2-2        
  setuptools: 27.2.0-py27_0
  sqlite:     3.13.0-0     
  tk:         8.5.18-0     
  wheel:      0.29.0-py27_0
  zlib:       1.2.8-3
  </code></pre>
  </blockquote>
  
  <p>and then activate it and run python</p>
  
  <pre><code> source activate test2
   python
  </code></pre>
  
  <p>it informs me I am using python version 2.7.13 and then I try check the numpy version number</p>
  
  <pre><code> import numpy
   numpy.version.version
  </code></pre>
  
  <p>It tells me I have version</p>
  
  <blockquote>
    <p>'1.13.0'</p>
  </blockquote>
  
  <p>which is not the version I specified. On the other hand, If I skip specifying the python version, it installs python 3, but the correct version of numpy (1.10.4)</p>
  
  <p>Any ideas about what is going on here? Furthermore, how do I fix this? Thanks!</p>
  
  <p>Edit: as per Uvar's comment</p>
  
  <pre><code> conda create -n test4 python=2.7 numpy=1.10 --no-deps
  </code></pre>
  
  <p>Tells me </p>
  
  <blockquote>
    <p>The following NEW packages will be INSTALLED:</p>
  
  <pre><code>numpy:  1.10.4-py27_2
  python: 2.7.13-0
  </code></pre>
  </blockquote>
  
  <p>but then if I <code>source activate test4</code> and check the numpy version number, it tells me I am running 1.13.0 again.</p>
  
  <p>Edit 2 (Again in response to a query by Uvar):</p>
  
  <pre><code> conda list -n test2
  </code></pre>
  
  <p>returns</p>
  
  <blockquote>
    <p># packages in environment at /home/ohnoplus/anaconda3/envs/test2:</p>
    
    <p># </p>
  
  <pre><code> mkl                       11.3.3                        0   
   numpy                     1.10.4                   py27_2   
   openssl                   1.0.2l                        0 
   pip                       9.0.1                    py27_1   
   python                    2.7.13                        0   
   readline                  6.2                           2   
   setuptools                27.2.0                   py27_0   
   sqlite                    3.13.0                        0   
   tk                        8.5.18                        0   
   wheel                     0.29.0                   py27_0   
   zlib                      1.2.8                         3
  </code></pre>
  </blockquote>
  
  <p>Edit 3:
  If I <code>source activate test2</code> and then inside of python <code>import numpy</code> and <code>numpy.__file__</code> I get the following</p>
  
  <blockquote>
    <p>'/home/ohnoplus/.local/lib/python2.7/site-packages/numpy/__init__.pyc'</p>
  </blockquote>
  
  <p>meanwhile if outside of python, but inside of test2, I <code>echo $PATH</code></p>
  
  <p>I get </p>
  
  <blockquote>
    <p>/home/ohnoplus/anaconda3/envs/test2/bin:/home/ohnoplus/anaconda3/bin:/home/ohnoplus/bin:/home/ohnoplus/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin</p>
  </blockquote>
  
  <p>Edit 4:
  @Uvar and @MSeifert point out that I should get my path variables pointing in the right place. I'll experiment with getting this right but I have a couple of questions:</p>
  
  <p>I notice that the python sys.path in test2 appears to be looking in the right place for numpy if I look at sys.paths</p>
  
  <pre><code> import sys
   print (sys.path)
  </code></pre>
  
  <blockquote>
    <blockquote>
      <p>['', '/home/ohnoplus/anaconda3/envs/test2/lib/python27.zip', '/home/ohnoplus/anaconda3/envs/test2/lib/python2.7', '/home/ohnoplus/anaconda3/envs/test2/lib/python2.7/plat-linux2', '/home/ohnoplus/anaconda3/envs/test2/lib/python2.7/lib-tk', '/home/ohnoplus/anaconda3/envs/test2/lib/python2.7/lib-old', '/home/ohnoplus/anaconda3/envs/test2/lib/python2.7/lib-dynload', '/home/ohnoplus/.local/lib/python2.7/site-packages', '/home/ohnoplus/anaconda3/envs/test2/lib/python2.7/site-packages', '/home/ohnoplus/anaconda3/envs/test2/lib/python2.7/site-packages/setuptools-27.2.0-py2.7.egg']</p>
    </blockquote>
  </blockquote>
  
  <p>Should I be updating $PATH in as referenced in the command line, this sys.path variable, or something else?</p>